[MSPAINT]

* Introduce a PCH.
* Fix Brush function declaration.

svn path=/trunk/; revision=52901
This commit is contained in:
Amine Khaldi 2011-07-26 21:44:53 +00:00
parent 6d971807f7
commit e87cb26ad8
15 changed files with 34 additions and 68 deletions

View file

@ -17,5 +17,6 @@ add_executable(mspaint
rsrc.rc)
set_module_type(mspaint win32gui)
add_pch(mspaint precomp.h)
add_importlibs(mspaint comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32)
add_cd_file(TARGET mspaint DESTINATION reactos/system32 FOR all)

View file

@ -8,10 +8,7 @@
/* INCLUDES *********************************************************/
#include <windows.h>
#include <tchar.h>
#include "definitions.h"
#include "globalvar.h"
#include "precomp.h"
/* FUNCTIONS ********************************************************/

View file

@ -8,7 +8,7 @@
/* INCLUDES *********************************************************/
#include <windows.h>
#include "precomp.h"
/* FUNCTIONS ********************************************************/

View file

@ -8,7 +8,7 @@
/* INCLUDES *********************************************************/
#include <windows.h>
#include "precomp.h"
/* FUNCTIONS ********************************************************/

View file

@ -26,7 +26,7 @@ void Replace(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF fg, COLORREF
void Airbrush(HDC hdc, LONG x, LONG y, COLORREF color, LONG r);
void Brush(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF color, int style);
void Brush(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF color, COLORREF style);
void RectSel(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2);

View file

@ -8,10 +8,7 @@
/* INCLUDES *********************************************************/
#include <windows.h>
#include "globalvar.h"
#include "dib.h"
#include "definitions.h"
#include "precomp.h"
/* FUNCTIONS ********************************************************/

View file

@ -8,25 +8,7 @@
/* INCLUDES *********************************************************/
#include <windows.h>
#include <windowsx.h>
#include <commctrl.h>
#include <stdio.h>
#include <tchar.h>
#include "definitions.h"
#include "drawing.h"
#include "dib.h"
#include "globalvar.h"
#include "history.h"
#include "mouse.h"
#include "winproc.h"
#include "palette.h"
#include "toolsettings.h"
#include "selection.h"
#include "sizebox.h"
#include "precomp.h"
/* FUNCTIONS ********************************************************/

View file

@ -8,10 +8,7 @@
/* INCLUDES *********************************************************/
#include "globalvar.h"
#include "dib.h"
#include "drawing.h"
#include "history.h"
#include "precomp.h"
/* FUNCTIONS ********************************************************/

View file

@ -8,8 +8,7 @@
/* INCLUDES *********************************************************/
#include <windows.h>
#include "globalvar.h"
#include "precomp.h"
/* FUNCTIONS ********************************************************/

View file

@ -0,0 +1,20 @@
#include <windows.h>
#include <commctrl.h>
#include <tchar.h>
#include <windowsx.h>
#include <stdio.h>
#include "definitions.h"
#include "drawing.h"
#include "dib.h"
#include "globalvar.h"
#include "history.h"
#include "mouse.h"
#include "winproc.h"
#include "palette.h"
#include "toolsettings.h"
#include "selection.h"
#include "sizebox.h"
#include "dialogs.h"
#include "registry.h"

View file

@ -8,8 +8,7 @@
/* INCLUDES *********************************************************/
#include <windows.h>
#include <tchar.h>
#include "precomp.h"
/* FUNCTIONS ********************************************************/

View file

@ -8,14 +8,7 @@
/* INCLUDES *********************************************************/
#include <windows.h>
#include <commctrl.h>
#include <tchar.h>
#include "globalvar.h"
#include "drawing.h"
#include "history.h"
#include "mouse.h"
#include "dib.h"
#include "precomp.h"
/* FUNCTIONS ********************************************************/

View file

@ -8,11 +8,7 @@
/* INCLUDES *********************************************************/
#include <windows.h>
#include <commctrl.h>
#include <tchar.h>
#include "globalvar.h"
#include "history.h"
#include "precomp.h"
/* FUNCTIONS ********************************************************/

View file

@ -8,11 +8,7 @@
/* INCLUDES *********************************************************/
#include <windows.h>
#include <commctrl.h>
#include "globalvar.h"
#include "drawing.h"
#include "winproc.h"
#include "precomp.h"
/* FUNCTIONS ********************************************************/

View file

@ -9,19 +9,8 @@
/* INCLUDES *********************************************************/
#include <windows.h>
#include <commctrl.h>
//#include <htmlhelp.h>
#include <stdio.h>
#include <tchar.h>
#include "definitions.h"
#include "globalvar.h"
#include "dialogs.h"
#include "dib.h"
#include "drawing.h"
#include "history.h"
#include "mouse.h"
#include "registry.h"
#include "precomp.h"
/* FUNCTIONS ********************************************************/