use a common header for most files in win32k to make use of precompiled headers

svn path=/trunk/; revision=9348
This commit is contained in:
Thomas Bluemel 2004-05-10 17:07:20 +00:00
parent 23dcd0a6f2
commit 418b7e53a6
93 changed files with 290 additions and 1209 deletions

View file

@ -1,6 +1,5 @@
#ifndef _WIN32K_KAPI_H
#define _WIN32K_KAPI_H
#include <win32k/ntddraw.h>
#include <win32k/bitmaps.h>
#include <win32k/brush.h>
#include <win32k/cliprgn.h>

View file

@ -16,14 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: dib.c,v 1.9 2004/04/06 21:53:48 weiden Exp $ */
#include <windows.h>
#include <ddk/winddi.h>
#include <win32k/debug.h>
#include <debug.h>
#include "../eng/objects.h"
#include "dib.h"
/* $Id: dib.c,v 1.10 2004/05/10 17:07:16 weiden Exp $ */
#include <w32k.h>
/* Static data */

View file

@ -1,3 +1,6 @@
#ifndef _W32K_DIB_DIB_H
#define _W32K_DIB_DIB_H
extern unsigned char notmask[2];
extern unsigned char altnotmask[2];
#define MASK1BPP(x) (1<<(7-((x)&7)))
@ -119,3 +122,5 @@ BOOLEAN DIB_32BPP_TransparentBlt(SURFOBJ *DestSurf, SURFOBJ *SourceSurf,
RECTL* DestRect, POINTL *SourcePoint,
XLATEOBJ *ColorTranslation, ULONG iTransColor);
#endif /* _W32K_DIB_DIB_H */

View file

@ -16,19 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: dib16bpp.c,v 1.30 2004/04/25 11:34:12 weiden Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
#include <math.h>
#include <debug.h>
#include <ddk/winddi.h>
#include <win32k/bitmaps.h>
#include <win32k/brush.h>
#include <win32k/debug.h>
#include <include/object.h>
#include "../eng/objects.h"
#include "dib.h"
/* $Id: dib16bpp.c,v 1.31 2004/05/10 17:07:17 weiden Exp $ */
#include <w32k.h>
VOID
DIB_16BPP_PutPixel(SURFOBJ *SurfObj, LONG x, LONG y, ULONG c)

View file

@ -16,19 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: dib1bpp.c,v 1.26 2004/05/01 09:04:37 gvg Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
#include <win32k/bitmaps.h>
#include <win32k/brush.h>
#include <win32k/debug.h>
#include <include/object.h>
#include <debug.h>
#include <ddk/winddi.h>
#include "../eng/objects.h"
#include "dib.h"
/* $Id: dib1bpp.c,v 1.27 2004/05/10 17:07:17 weiden Exp $ */
#include <w32k.h>
VOID
DIB_1BPP_PutPixel(SURFOBJ *SurfObj, LONG x, LONG y, ULONG c)

View file

@ -16,18 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: dib24bpp.c,v 1.25 2004/04/25 11:34:12 weiden Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
#include <win32k/bitmaps.h>
#include <win32k/brush.h>
#include <win32k/debug.h>
#include <debug.h>
#include <include/object.h>
#include <ddk/winddi.h>
#include "../eng/objects.h"
#include "dib.h"
/* $Id: dib24bpp.c,v 1.26 2004/05/10 17:07:17 weiden Exp $ */
#include <w32k.h>
VOID
DIB_24BPP_PutPixel(SURFOBJ *SurfObj, LONG x, LONG y, ULONG c)

View file

@ -16,18 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: dib32bpp.c,v 1.25 2004/04/25 11:34:12 weiden Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
#include <win32k/bitmaps.h>
#include <win32k/brush.h>
#include <win32k/debug.h>
#include <debug.h>
#include <ddk/winddi.h>
#include <include/object.h>
#include "../eng/objects.h"
#include "dib.h"
/* $Id: dib32bpp.c,v 1.26 2004/05/10 17:07:17 weiden Exp $ */
#include <w32k.h>
VOID
DIB_32BPP_PutPixel(SURFOBJ *SurfObj, LONG x, LONG y, ULONG c)

View file

@ -16,18 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: dib4bpp.c,v 1.33 2004/04/09 22:00:38 navaraf Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
#include <win32k/bitmaps.h>
#include <win32k/brush.h>
#include <win32k/debug.h>
#include <debug.h>
#include <include/object.h>
#include <ddk/winddi.h>
#include "../eng/objects.h"
#include "dib.h"
/* $Id: dib4bpp.c,v 1.34 2004/05/10 17:07:17 weiden Exp $ */
#include <w32k.h>
VOID
DIB_4BPP_PutPixel(SURFOBJ *SurfObj, LONG x, LONG y, ULONG c)

View file

@ -16,18 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: dib8bpp.c,v 1.24 2004/04/30 23:42:20 navaraf Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
#include <win32k/bitmaps.h>
#include <win32k/brush.h>
#include <win32k/debug.h>
#include <debug.h>
#include <include/object.h>
#include <ddk/winddi.h>
#include "../eng/objects.h"
#include "dib.h"
/* $Id: dib8bpp.c,v 1.25 2004/05/10 17:07:17 weiden Exp $ */
#include <w32k.h>
VOID
DIB_8BPP_PutPixel(SURFOBJ *SurfObj, LONG x, LONG y, ULONG c)

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: bitblt.c,v 1.53 2004/04/30 14:22:44 weiden Exp $
/* $Id: bitblt.c,v 1.54 2004/05/10 17:07:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -26,25 +26,7 @@
* REVISION HISTORY:
* 2/10/1999: Created
*/
#include <ddk/winddi.h>
#include <ddk/ntddk.h>
#include <ddk/ntddmou.h>
#include <ntos/minmax.h>
#include "brush.h"
#include "clip.h"
#include "objects.h"
#include "../dib/dib.h"
#include "misc.h"
#include <include/mouse.h>
#include <include/object.h>
#include <include/dib.h>
#include <include/surface.h>
#include <include/eng.h>
#include <include/inteng.h>
#define NDEBUG
#include <win32k/debug1.h>
#include <w32k.h>
typedef BOOLEAN STDCALL (*PBLTRECTFUNC)(SURFOBJ* OutputObj,
SURFGDI* OutputGDI,

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: brush.c,v 1.10 2004/01/30 16:36:16 navaraf Exp $
/* $Id: brush.c,v 1.11 2004/05/10 17:07:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -26,8 +26,7 @@
* REVISION HISTORY:
* 3/7/1999: Created
*/
#include <ddk/winddi.h>
#include <w32k.h>
/*
* @implemented

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: clip.c,v 1.19 2004/04/09 20:03:16 navaraf Exp $
/* $Id: clip.c,v 1.20 2004/05/10 17:07:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -26,15 +26,7 @@
* REVISION HISTORY:
* 21/8/1999: Created
*/
#include <ddk/winddi.h>
#include <ddk/ntddk.h>
#include "objects.h"
#include "clip.h"
#include <include/object.h>
#define NDEBUG
#include <win32k/debug1.h>
#include <w32k.h>
VOID STDCALL IntEngDeleteClipRegion(CLIPOBJ *ClipObj)
{

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: copybits.c,v 1.23 2004/04/09 20:03:16 navaraf Exp $
/* $Id: copybits.c,v 1.24 2004/05/10 17:07:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -26,15 +26,7 @@
* REVISION HISTORY:
* 8/18/1999: Created
*/
#include <ddk/winddi.h>
#include <ddk/ntddmou.h>
#include "objects.h"
#include "clip.h"
#include "../dib/dib.h"
#include <include/mouse.h>
#include <include/object.h>
#include <include/eng.h>
#include <w32k.h>
/*
* @implemented

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: debug.c,v 1.7 2004/01/07 19:24:37 navaraf Exp $
/* $Id: debug.c,v 1.8 2004/05/10 17:07:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -26,8 +26,7 @@
* REVISION HISTORY:
* 11/7/1999: Created
*/
#include <ddk/ntddk.h>
#include <w32k.h>
/*
* @implemented

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: device.c,v 1.14 2004/03/14 18:36:14 dwelch Exp $
/* $Id: device.c,v 1.15 2004/05/10 17:07:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -26,13 +26,7 @@
* REVISION HISTORY:
* 3/7/1999: Created
*/
#include <ddk/ntddk.h>
#include <win32k/misc.h>
#include <windows.h>
#define NDEBUG
#include <debug.h>
#include <w32k.h>
/*
* @implemented

View file

@ -1,5 +1,4 @@
#include <ddk/winddi.h>
#include <include/error.h>
#include <w32k.h>
/*
* @implemented

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: event.c,v 1.2 2004/04/09 20:03:16 navaraf Exp $
/* $Id: event.c,v 1.3 2004/05/10 17:07:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -26,18 +26,7 @@
* REVISION HISTORY:
* 2/10/1999: Created
*/
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <ddk/winddi.h>
#include <ddk/ntddk.h>
#include <include/eng.h>
#include <include/inteng.h>
#include <include/tags.h>
#define NDEBUG
#include <win32k/debug1.h>
#include <w32k.h>
BOOL
STDCALL

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: float.c,v 1.2 2004/04/09 20:03:16 navaraf Exp $
/* $Id: float.c,v 1.3 2004/05/10 17:07:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -25,19 +25,7 @@
* PROGRAMER: Jason Filby
* REVISION HISTORY:
*/
#include <ddk/ntddk.h>
#include <ddk/winddi.h>
#include <win32k/dc.h>
#include <win32k/gdiobj.h>
#include <include/dib.h>
#include <include/object.h>
#include <include/paint.h>
#include "handle.h"
#include "../dib/dib.h"
#define NDEBUG
#include <win32k/debug1.h>
#include <w32k.h>
BOOL
STDCALL

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: gradient.c,v 1.8 2004/04/09 20:03:16 navaraf Exp $
/* $Id: gradient.c,v 1.9 2004/05/10 17:07:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -26,25 +26,7 @@
* REVISION HISTORY:
* 3/7/1999: Created
*/
#include <ddk/winddi.h>
#include <ddk/ntddmou.h>
#include <include/eng.h>
#include <include/inteng.h>
#include <include/object.h>
#include <include/paint.h>
#include <include/surface.h>
#include <include/rect.h>
#include "objects.h"
#include <include/mouse.h>
#include "../dib/dib.h"
#include "brush.h"
#include "clip.h"
//#define NDEBUG
#include <win32k/debug1.h>
#include <w32k.h>
/* MACROS *********************************************************************/

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: handle.c,v 1.14 2003/11/24 21:20:34 gvg Exp $
/* $Id: handle.c,v 1.15 2004/05/10 17:07:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -26,12 +26,7 @@
* REVISION HISTORY:
* 29/8/1999: Created
*/
#include <ddk/winddi.h>
#include "handle.h"
#define NDEBUG
#include <win32k/debug1.h>
#include <w32k.h>
static int LastHandle = MAX_GDI_HANDLES;

View file

@ -16,22 +16,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Id: lineto.c,v 1.32 2004/04/09 20:03:16 navaraf Exp $
* $Id: lineto.c,v 1.33 2004/05/10 17:07:17 weiden Exp $
*/
#include <ddk/winddi.h>
#include <ddk/ntddmou.h>
#include <include/inteng.h>
#include <include/eng.h>
#include <include/dib.h>
#include "clip.h"
#include "objects.h"
#include "../dib/dib.h"
#include "misc.h"
#include <include/mouse.h>
#include <include/object.h>
#include <include/surface.h>
#include <w32k.h>
static void FASTCALL
TranslateRects(RECT_ENUM *RectEnum, POINTL* Translate)

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: mem.c,v 1.15 2004/03/15 22:01:17 gvg Exp $
/* $Id: mem.c,v 1.16 2004/05/10 17:07:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -27,16 +27,7 @@
* 3/7/1999: Created
*/
#ifdef __USE_W32API
#include <windows.h>
#include <ddk/ntapi.h>
#endif
#include <ddk/ntddk.h>
#include <ddk/winddi.h>
#define NDEBUG
#include <win32k/debug1.h>
#include <debug.h>
#include <w32k.h>
typedef struct _USERMEMHEADER
{

View file

@ -16,13 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: misc.c,v 1.5 2004/04/09 20:03:16 navaraf Exp $ */
#include <ddk/winddi.h>
#include <include/dib.h>
#include <include/object.h>
#include <include/surface.h>
#include "misc.h"
#include "objects.h"
/* $Id: misc.c,v 1.6 2004/05/10 17:07:17 weiden Exp $ */
#include <w32k.h>
BOOL STDCALL
IntEngEnter(PINTENG_ENTER_LEAVE EnterLeave,

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: mouse.c,v 1.68 2004/05/01 08:55:04 weiden Exp $
/* $Id: mouse.c,v 1.69 2004/05/10 17:07:17 weiden Exp $
*
* PROJECT: ReactOS kernel
* PURPOSE: Mouse
@ -26,29 +26,7 @@
* 06-06-2001 CSH Created
*/
/* INCLUDES ******************************************************************/
#include <windows.h>
#include <ddk/ntddk.h>
#include <ddk/ntddmou.h>
#include <ddk/winddi.h>
#include <win32k/dc.h>
#include "objects.h"
#include "include/msgqueue.h"
#include "include/object.h"
#include "include/winsta.h"
#include "include/desktop.h"
#include "include/window.h"
#include "include/cursoricon.h"
#include "include/callback.h"
#include "include/palette.h"
#include "include/inteng.h"
#include "include/eng.h"
#include "include/tags.h"
#include <include/mouse.h>
#include <include/input.h>
#define NDEBUG
#include <debug.h>
#include <w32k.h>
/* FUNCTIONS *****************************************************************/

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: nls.c,v 1.3 2004/04/09 20:03:16 navaraf Exp $
/* $Id: nls.c,v 1.4 2004/05/10 17:07:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -28,10 +28,7 @@
*/
/* INCLUDES *****************************************************************/
#include <ddk/winddi.h>
#include <ddk/ntddk.h>
#include <ntos.h>
#include <w32k.h>
/* FUNCTIONS ****************************************************************/

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: paint.c,v 1.18 2004/02/24 13:27:02 weiden Exp $
/* $Id: paint.c,v 1.19 2004/05/10 17:07:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -27,22 +27,7 @@
* 3/7/1999: Created
*/
#include <ddk/winddi.h>
#include <ddk/ntddmou.h>
#include <include/object.h>
#include <include/paint.h>
#include <include/surface.h>
#include <include/eng.h>
#include "objects.h"
#include <include/mouse.h>
#include "../dib/dib.h"
#include "brush.h"
#include "clip.h"
//#define NDEBUG
#include <win32k/debug1.h>
#include <w32k.h>
BOOL STDCALL FillSolid(SURFOBJ *Surface, PRECTL pRect, ULONG iColor)
{

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: palette.c,v 1.20 2003/12/20 10:31:32 navaraf Exp $
/* $Id: palette.c,v 1.21 2004/05/10 17:07:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -26,14 +26,7 @@
* REVISION HISTORY:
* 11/7/1999: Created
*/
#include <ddk/winddi.h>
#include <include/object.h>
#include <include/palette.h>
#include "handle.h"
#define NDEBUG
#include <win32k/debug1.h>
#include <w32k.h>
/*
* @implemented

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: perfcnt.c,v 1.3 2003/07/11 15:59:37 royce Exp $
/* $Id: perfcnt.c,v 1.4 2004/05/10 17:07:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -24,12 +24,7 @@
* FILE: subsys/win32k/eng/perfcnt.c
* PROGRAMER: Ge van Geldorp
*/
#include <ddk/ntddk.h>
#define NDEBUG
#include <win32k/debug1.h>
#include <debug.h>
#include <w32k.h>
/*
* @implemented

View file

@ -1,14 +1,4 @@
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
#include <win32k/bitmaps.h>
#include <win32k/debug.h>
#include <win32k/debug1.h>
#include <debug.h>
#include <ddk/winddi.h>
#include "../eng/objects.h"
#include <include/error.h>
#include <w32k.h>
/*
* @implemented

View file

@ -16,10 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: sort.c,v 1.2 2003/07/12 14:00:05 gvg Exp $ */
#include <stdlib.h>
#include <ddk/winddi.h>
/* $Id: sort.c,v 1.3 2004/05/10 17:07:17 weiden Exp $ */
#include <w32k.h>
/*
* @implemented

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: surface.c,v 1.37 2004/04/09 20:03:16 navaraf Exp $
/* $Id: surface.c,v 1.38 2004/05/10 17:07:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -30,18 +30,7 @@
* - Create a GDI bitmap with all formats, perform all drawing operations on them, render to VGA surface
* refer to \test\microwin\src\engine\devdraw.c for info on correct pixel plotting for various formats
*/
#include <ddk/winddi.h>
#include <win32k/dc.h>
#include <win32k/gdiobj.h>
#include <include/dib.h>
#include <include/object.h>
#include <include/paint.h>
#include "handle.h"
#include "../dib/dib.h"
#define NDEBUG
#include <win32k/debug1.h>
#include <w32k.h>
enum Rle_EscapeCodes
{

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: transblt.c,v 1.17 2004/04/09 20:03:18 navaraf Exp $
/* $Id: transblt.c,v 1.18 2004/05/10 17:07:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -26,24 +26,7 @@
* REVISION HISTORY:
* 4/6/2004: Created
*/
#include <ddk/winddi.h>
#include <ddk/ntddk.h>
#include <ddk/ntddmou.h>
#include <ntos/minmax.h>
#include <include/dib.h>
#include <include/eng.h>
#include <include/object.h>
#include <include/surface.h>
#include <include/mouse.h>
#include <include/inteng.h>
#include "brush.h"
#include "clip.h"
#include "objects.h"
#define NDEBUG
#include <win32k/debug1.h>
#include <w32k.h>
BOOL STDCALL

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: xlate.c,v 1.33 2004/04/28 18:38:07 navaraf Exp $
/* $Id: xlate.c,v 1.34 2004/05/10 17:07:17 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -26,21 +26,10 @@
* REVISION HISTORY:
* 8/20/1999: Created
*/
#include <w32k.h>
// TODO: Cache XLATEOBJs that are created by EngCreateXlate by checking if the given palettes match a cached list
#include <ddk/ntddk.h>
#include <ddk/winddi.h>
#include <ddk/ntddvdeo.h>
#include <include/object.h>
#include <include/palette.h>
#include "handle.h"
#include <win32k/color.h>
#define NDEBUG
#include <win32k/debug1.h>
ULONG CCMLastSourceColor = 0, CCMLastColorMatch = 0;
static ULONG FASTCALL ShiftAndMask(XLATEGDI *XlateGDI, ULONG Color)

View file

@ -15,13 +15,14 @@ IntGdiCreateDIBPatternBrushPt(CONST VOID *PackedDIB,
UINT Usage);
BOOL FASTCALL
IntPatBlt(DC *dc,
INT XLeft,
INT YLeft,
INT Width,
INT Height,
DWORD ROP,
BRUSHOBJ *BrushObj);
IntPatBlt(
PDC dc,
INT XLeft,
INT YLeft,
INT Width,
INT Height,
DWORD ROP,
PGDIBRUSHOBJ BrushObj);
/* Pen functions */

View file

@ -19,16 +19,5 @@ BOOL FASTCALL PATH_PolyPolyline( PDC dc, const POINT* pts, const DWORD* counts,
BOOL FASTCALL PATH_Rectangle (PDC dc, INT x1, INT y1, INT x2, INT y2);
BOOL FASTCALL PATH_RoundRect (PDC dc, INT x1, INT y1, INT x2, INT y2, INT xradius, INT yradius);
BOOL FASTCALL PATH_PathToRegion (const GdiPath *pPath, INT nPolyFillMode, HRGN *pHrgn);
#ifdef _WIN32K_PATH_INTERNAL
BOOL FASTCALL PATH_AddEntry (GdiPath *pPath, const POINT *pPoint, BYTE flags);
BOOL FASTCALL PATH_AddFlatBezier (GdiPath *pPath, POINT *pt, BOOL closed);
BOOL FASTCALL PATH_DoArcPart (GdiPath *pPath, FLOAT_POINT corners[], double angleStart, double angleEnd, BOOL addMoveTo);
BOOL FASTCALL PATH_FlattenPath (GdiPath *pPath);
VOID FASTCALL PATH_GetPathFromDC (PDC dc, GdiPath **ppPath);
VOID FASTCALL PATH_NormalizePoint (FLOAT_POINT corners[], const FLOAT_POINT *pPoint, double *pX, double *pY);
BOOL FASTCALL PATH_PathToRegion(const GdiPath *pPath, INT nPolyFillMode, HRGN *pHrgn);
BOOL FASTCALL PATH_ReserveEntries (GdiPath *pPath, INT numEntries);
VOID FASTCALL PATH_ScaleNormalizedPoint (FLOAT_POINT corners[], double x, double y, POINT *pPoint);
#endif
#endif /* _WIN32K_PATH_H */

View file

@ -16,42 +16,11 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: dllmain.c,v 1.71 2004/05/05 22:47:06 weiden Exp $
/* $Id: dllmain.c,v 1.72 2004/05/10 17:07:17 weiden Exp $
*
* Entry Point for win32k.sys
*/
#undef WIN32_LEAN_AND_MEAN
#define WIN32_NO_STATUS
#include <windows.h>
#define NTOS_MODE_KERNEL
#include <ntos.h>
#ifdef __USE_W32API
#include <ddk/ddrawint.h>
#endif
#include <ddk/winddi.h>
#include <win32k/win32k.h>
#include <include/winsta.h>
#include <include/desktop.h>
#include <include/class.h>
#include <include/window.h>
#include <include/menu.h>
#include <include/object.h>
#include <include/input.h>
#include <include/timer.h>
#include <include/text.h>
#include <include/caret.h>
#include <include/hotkey.h>
#include <include/accelerator.h>
#include <include/cursoricon.h>
#include <include/guicheck.h>
#include <include/hook.h>
#define NDEBUG
#include <win32k/debug1.h>
#include <w32k.h>
#ifdef __USE_W32API
typedef NTSTATUS (STDCALL *PW32_PROCESS_CALLBACK)(

View file

@ -34,7 +34,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: svctabm.c,v 1.5 2003/06/07 10:14:40 chorns Exp $
/* $Id: svctabm.c,v 1.6 2004/05/10 17:07:18 weiden Exp $
*
* Entry Point for win32k.sys
*/
@ -44,6 +44,7 @@
#include <windows.h>
#define NTOS_MODE_KERNEL
#include <ntos.h>
#include <win32k/ntddraw.h>
#include <win32k/win32k.h>
/*

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.97 2004/04/09 20:03:18 navaraf Exp $
# $Id: makefile,v 1.98 2004/05/10 17:07:18 weiden Exp $
PATH_TO_TOP = ../..
@ -10,6 +10,8 @@ TARGET_BASE = 0x0
TARGET_ENTRY = _DllMain@8
TARGET_PCH = w32k.h
TARGET_DDKLIBS = freetype.a
FREETYPE_DIR = $(PATH_TO_TOP)/lib/freetype
@ -24,11 +26,12 @@ endif
TARGET_CFLAGS =\
$(CFLAGS_DBG) \
-I. \
-I$(PATH_TO_TOP)/ntoskrnl/include \
-I$(FREETYPE_DIR)/include \
-DUNICODE \
-Wall -Werror \
-D__USE_W32API -D_WIN32_WINNT=0x0500 \
-D__USE_W32API -D_WIN32_WINNT=0x0501 \
-DWINVER=0x600 -D_WIN32K_
TARGET_LFLAGS =\

View file

@ -9,6 +9,7 @@
* 25-10-2003 PB Created
*/
#include <ddk/ntddk.h>
#include <win32k/ntddraw.h>
#include <win32k/win32k.h>
#include <win32k/gdiobj.h>

View file

@ -9,6 +9,7 @@
* 25-10-2003 PB Created
*/
#include <ddk/ntddk.h>
#include <win32k/ntddraw.h>
#include <win32k/win32k.h>
#define NDEBUG

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: accelerator.c,v 1.9 2004/02/19 21:12:09 weiden Exp $
/* $Id: accelerator.c,v 1.10 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -48,19 +48,7 @@
*/
/* INCLUDES ******************************************************************/
#include <roskrnl.h>
#include <win32k/win32k.h>
#include <internal/safe.h>
#include <napi/win32.h>
#include <include/error.h>
#include <include/winsta.h>
#include <include/object.h>
#include <include/guicheck.h>
#include <include/window.h>
#include <include/focus.h>
#include <include/tags.h>
#include <include/accelerator.h>
#include <w32k.h>
#define NDEBUG
#include <debug.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: callback.c,v 1.21 2003/12/26 22:52:11 gvg Exp $
/* $Id: callback.c,v 1.22 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -29,16 +29,7 @@
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <win32k/win32k.h>
#include <include/class.h>
#include <include/error.h>
#include <include/winsta.h>
#include <include/desktop.h>
#include <include/window.h>
#include <include/msgqueue.h>
#include <user32/callback.h>
#include <include/callback.h>
#include <w32k.h>
#define NDEBUG
#include <debug.h>

View file

@ -1,4 +1,4 @@
/* $Id: caret.c,v 1.11 2004/02/19 21:12:09 weiden Exp $
/* $Id: caret.c,v 1.12 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -9,16 +9,7 @@
* 10/15/2003 Created
*/
#include <win32k/win32k.h>
#include <ddk/ntddk.h>
#include <internal/safe.h>
#include <include/error.h>
#include <include/window.h>
#include <include/caret.h>
#include <include/timer.h>
#include <include/callback.h>
#include <include/tags.h>
#include <rosrtl/string.h>
#include <w32k.h>
#define NDEBUG
#include <debug.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: class.c,v 1.51 2004/04/09 20:03:19 navaraf Exp $
/* $Id: class.c,v 1.52 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -28,18 +28,7 @@
*/
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <win32k/win32k.h>
#include <napi/win32.h>
#include <include/class.h>
#include <include/error.h>
#include <include/winsta.h>
#include <include/object.h>
#include <include/guicheck.h>
#include <include/window.h>
#include <include/color.h>
#include <include/tags.h>
#include <internal/safe.h>
#include <w32k.h>
#define NDEBUG
#include <debug.h>

View file

@ -24,14 +24,7 @@
* PROGRAMER: Filip Navara <xnavara@volny.cz>
*/
#include <win32k/win32k.h>
#include <windows.h>
#include <internal/safe.h>
#include <include/clipboard.h>
#include <include/cleanup.h>
#include <include/error.h>
#include <include/useratom.h>
#include <include/tags.h>
#include <w32k.h>
#define NDEBUG
#include <debug.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Id: desktop.c,v 1.13 2004/05/08 12:42:46 weiden Exp $
* $Id: desktop.c,v 1.14 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -28,26 +28,7 @@
*/
/* INCLUDES ******************************************************************/
#define __WIN32K__
#include <ddk/ntddmou.h>
#include <win32k/win32k.h>
#include <csrss/csrss.h>
#include <include/winsta.h>
#include <include/desktop.h>
#include <include/object.h>
#include <include/window.h>
#include <include/error.h>
#include <include/cursoricon.h>
#include <include/hotkey.h>
#include <include/color.h>
#include <include/mouse.h>
#include <include/callback.h>
#include <include/guicheck.h>
#include <include/intgdi.h>
#define NDEBUG
#include <debug.h>
#include <w32k.h>
#if 0
/* not yet defined in w32api... */

View file

@ -16,17 +16,11 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Id: focus.c,v 1.21 2004/04/15 23:36:03 weiden Exp $
* $Id: focus.c,v 1.22 2004/05/10 17:07:18 weiden Exp $
*/
#include <win32k/win32k.h>
#include <include/object.h>
#include <include/window.h>
#include <include/desktop.h>
#include <include/focus.h>
#include <include/error.h>
#include <include/winpos.h>
#include <include/msgqueue.h>
#include <w32k.h>
#define NDEBUG
#include <win32k/debug1.h>
#include <debug.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: guicheck.c,v 1.17 2003/12/07 23:02:57 gvg Exp $
/* $Id: guicheck.c,v 1.18 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -33,14 +33,7 @@
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <napi/teb.h>
#include <win32k/win32k.h>
#include <include/guicheck.h>
#include <include/msgqueue.h>
#include <include/object.h>
#include <napi/win32.h>
#include <include/winsta.h>
#include <w32k.h>
#define NDEBUG
#include <debug.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: hook.c,v 1.7 2004/04/07 00:58:05 weiden Exp $
/* $Id: hook.c,v 1.8 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -29,17 +29,7 @@
* Copyright (C) 2002 Alexandre Julliard
*/
#include <ddk/ntddk.h>
#include <win32k/win32k.h>
#include <include/callback.h>
#include <include/error.h>
#include <include/hook.h>
#include <include/object.h>
#include <include/msgqueue.h>
#include <include/winsta.h>
#include <include/tags.h>
#include <internal/ps.h>
#include <internal/safe.h>
#include <w32k.h>
#define NDEBUG
#include <win32k/debug1.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: hotkey.c,v 1.8 2004/02/24 13:27:03 weiden Exp $
/* $Id: hotkey.c,v 1.9 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -29,14 +29,7 @@
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <win32k/win32k.h>
#include <internal/ex.h>
#include <internal/ps.h>
#include <include/error.h>
#include <include/msgqueue.h>
#include <include/hotkey.h>
#include <include/tags.h>
#include <w32k.h>
#define NDEBUG
#include <debug.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: input.c,v 1.31 2004/05/01 08:47:14 weiden Exp $
/* $Id: input.c,v 1.32 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -29,19 +29,8 @@
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <win32k/win32k.h>
#include <internal/safe.h>
#include <include/class.h>
#include <include/error.h>
#include <include/winsta.h>
#include <include/desktop.h>
#include <include/msgqueue.h>
#include <ddk/ntddmou.h>
#include <include/mouse.h>
#include <include/input.h>
#include <include/hotkey.h>
#include <include/eng.h>
#include <w32k.h>
#include <rosrtl/string.h>
#define NDEBUG

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: keyboard.c,v 1.28 2004/04/29 21:13:16 gvg Exp $
/* $Id: keyboard.c,v 1.29 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -29,19 +29,7 @@
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <win32k/win32k.h>
#include <internal/safe.h>
#include <internal/kbd.h>
#include <include/guicheck.h>
#include <include/msgqueue.h>
#include <include/window.h>
#include <include/class.h>
#include <include/error.h>
#include <include/object.h>
#include <include/winsta.h>
#include <include/tags.h>
#include <rosrtl/string.h>
#include <w32k.h>
#define NDEBUG
#include <debug.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: menu.c,v 1.53 2004/05/02 21:41:18 gvg Exp $
/* $Id: menu.c,v 1.54 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -28,18 +28,7 @@
*/
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <win32k/win32k.h>
#include <napi/win32.h>
#include <include/menu.h>
#include <include/error.h>
#include <include/winsta.h>
#include <include/object.h>
#include <include/guicheck.h>
#include <include/window.h>
#include <include/color.h>
#include <include/tags.h>
#include <internal/safe.h>
#include <w32k.h>
#define NDEBUG
#include <debug.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: message.c,v 1.62 2004/05/05 22:26:03 weiden Exp $
/* $Id: message.c,v 1.63 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -29,22 +29,7 @@
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <win32k/win32k.h>
#include <include/msgqueue.h>
#include <include/window.h>
#include <include/winpos.h>
#include <include/focus.h>
#include <include/class.h>
#include <include/error.h>
#include <include/object.h>
#include <include/winsta.h>
#include <include/callback.h>
#include <include/painting.h>
#include <include/input.h>
#include <include/desktop.h>
#include <include/tags.h>
#include <internal/safe.h>
#include <w32k.h>
#define NDEBUG
#include <debug.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: metric.c,v 1.19 2004/04/15 11:44:03 weiden Exp $
/* $Id: metric.c,v 1.20 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -29,14 +29,7 @@
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <win32k/win32k.h>
#include <include/class.h>
#include <include/error.h>
#include <include/winsta.h>
#include <include/msgqueue.h>
#include <include/window.h>
#include <include/desktop.h>
#include <w32k.h>
#define NDEBUG
#include <debug.h>

View file

@ -1,4 +1,4 @@
/* $Id: misc.c,v 1.70 2004/05/08 12:42:46 weiden Exp $
/* $Id: misc.c,v 1.71 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -8,30 +8,8 @@
* REVISION HISTORY:
* 2003/05/22 Created
*/
#define __WIN32K__
#include <ddk/ntddk.h>
#include <ddk/ntddmou.h>
#include <win32k/win32k.h>
#include <win32k/dc.h>
#include <internal/safe.h>
#include <include/error.h>
#include <include/window.h>
#include <include/menu.h>
#include <include/painting.h>
#include <include/dce.h>
#include <include/inteng.h>
#include <include/input.h>
#include <include/intgdi.h>
#include <include/mouse.h>
#include <include/winsta.h>
#include <include/caret.h>
#include <include/object.h>
#include <include/focus.h>
#include <include/clipboard.h>
#include <include/msgqueue.h>
#include <include/desktop.h>
#include <include/text.h>
#include <include/tags.h>
#include <w32k.h>
#define NDEBUG
#include <debug.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: msgqueue.c,v 1.93 2004/05/08 19:35:32 weiden Exp $
/* $Id: msgqueue.c,v 1.94 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -29,21 +29,7 @@
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <win32k/win32k.h>
#include <include/msgqueue.h>
#include <include/callback.h>
#include <include/window.h>
#include <include/winpos.h>
#include <include/winsta.h>
#include <include/desktop.h>
#include <include/class.h>
#include <include/object.h>
#include <include/input.h>
#include <include/cursoricon.h>
#include <include/focus.h>
#include <include/caret.h>
#include <include/tags.h>
#include <w32k.h>
#define NDEBUG
#include <win32k/debug1.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Id: painting.c,v 1.81 2004/04/29 21:13:16 gvg Exp $
* $Id: painting.c,v 1.82 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -30,26 +30,7 @@
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <internal/safe.h>
#include <win32k/win32k.h>
#include <include/object.h>
#include <include/guicheck.h>
#include <include/window.h>
#include <include/desktop.h>
#include <include/winpos.h>
#include <include/class.h>
#include <include/caret.h>
#include <include/error.h>
#include <include/winsta.h>
#include <windows.h>
#include <include/painting.h>
#include <user32/wininternal.h>
#include <include/rect.h>
#include <win32k/coord.h>
#include <win32k/region.h>
#include <include/vis.h>
#include <include/intgdi.h>
#include <w32k.h>
#define NDEBUG
#include <win32k/debug1.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: prop.c,v 1.10 2004/04/16 21:50:26 weiden Exp $
/* $Id: prop.c,v 1.11 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -28,20 +28,7 @@
*/
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <win32k/win32k.h>
#include <internal/safe.h>
#include <include/object.h>
#include <include/guicheck.h>
#include <include/window.h>
#include <include/class.h>
#include <include/error.h>
#include <include/winsta.h>
#include <include/winpos.h>
#include <include/callback.h>
#include <include/msgqueue.h>
#include <include/rect.h>
#include <include/tags.h>
#include <w32k.h>
//#define NDEBUG
#include <debug.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: scrollbar.c,v 1.31 2004/05/05 13:58:59 weiden Exp $
/* $Id: scrollbar.c,v 1.32 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -29,19 +29,8 @@
*/
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <win32k/win32k.h>
#include <internal/safe.h>
#include <include/object.h>
#include <include/window.h>
#include <include/class.h>
#include <include/error.h>
#include <include/winsta.h>
#include <include/winpos.h>
#include <include/rect.h>
#include <include/scroll.h>
#include <include/painting.h>
#include <include/tags.h>
#include <w32k.h>
#ifdef __USE_W32API
#include <oleacc.h>
#endif

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: timer.c,v 1.31 2004/04/29 21:13:16 gvg Exp $
/* $Id: timer.c,v 1.32 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -30,18 +30,7 @@
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <win32k/win32k.h>
#include <win32k/ntuser.h>
#include <internal/ntoskrnl.h>
#include <internal/ps.h>
#include <include/msgqueue.h>
#include <include/window.h>
#include <include/error.h>
#include <include/timer.h>
#include <include/tags.h>
#include <messages.h>
#include <napi/win32.h>
#include <w32k.h>
#define NDEBUG
#include <debug.h>

View file

@ -24,9 +24,8 @@
* PROGRAMER: Filip Navara <xnavara@volny.cz>
*/
#include <include/useratom.h>
#include <include/winsta.h>
#include <include/error.h>
#include <w32k.h>
#define NDEBUG
#include <debug.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Id: vis.c,v 1.27 2004/04/24 14:21:36 weiden Exp $
* $Id: vis.c,v 1.28 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -25,11 +25,7 @@
* PROGRAMMER: Ge van Geldorp (ge@gse.nl)
*/
#include <win32k/win32k.h>
#include <include/painting.h>
#include <include/rect.h>
#include <include/vis.h>
#include <include/intgdi.h>
#include <w32k.h>
#define NDEBUG
#include <win32k/debug1.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: windc.c,v 1.65 2004/04/09 20:03:19 navaraf Exp $
/* $Id: windc.c,v 1.66 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -29,20 +29,7 @@
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <win32k/win32k.h>
#include <win32k/region.h>
#include <include/class.h>
#include <include/error.h>
#include <include/winsta.h>
#include <include/msgqueue.h>
#include <include/window.h>
#include <include/desktop.h>
#include <include/rect.h>
#include <include/dce.h>
#include <include/vis.h>
#include <include/object.h>
#include <include/intgdi.h>
#include <w32k.h>
#define NDEBUG
#include <debug.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: window.c,v 1.228 2004/05/08 16:06:54 weiden Exp $
/* $Id: window.c,v 1.229 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -27,34 +27,7 @@
* 06-06-2001 CSH Created
*/
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <internal/safe.h>
#include <win32k/win32k.h>
#include <include/object.h>
#include <include/guicheck.h>
#include <include/window.h>
#include <include/class.h>
#include <include/error.h>
#include <include/winsta.h>
#include <include/desktop.h>
#include <include/winpos.h>
#include <include/callback.h>
#include <include/msgqueue.h>
#include <include/rect.h>
#include <include/dce.h>
#include <include/paint.h>
#include <include/painting.h>
#include <include/scroll.h>
#include <include/intgdi.h>
#include <include/menu.h>
#include <include/hotkey.h>
#include <include/focus.h>
#include <include/hook.h>
#include <include/useratom.h>
#include <include/tags.h>
#include <include/timer.h>
#include <include/cleanup.h>
#include <w32k.h>
#define NDEBUG
#include <win32k/debug1.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: winpos.c,v 1.113 2004/05/08 12:42:46 weiden Exp $
/* $Id: winpos.c,v 1.114 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -28,25 +28,7 @@
*/
/* INCLUDES ******************************************************************/
#include <ddk/ntddk.h>
#include <internal/safe.h>
#include <win32k/win32k.h>
#include <include/object.h>
#include <include/guicheck.h>
#include <include/window.h>
#include <include/class.h>
#include <include/error.h>
#include <include/winsta.h>
#include <include/desktop.h>
#include <include/winpos.h>
#include <include/rect.h>
#include <include/callback.h>
#include <include/painting.h>
#include <include/dce.h>
#include <include/vis.h>
#include <include/intgdi.h>
#include <include/focus.h>
#include <include/tags.h>
#include <w32k.h>
#define NDEBUG
#include <debug.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Id: winsta.c,v 1.58 2004/05/01 17:06:55 weiden Exp $
* $Id: winsta.c,v 1.59 2004/05/10 17:07:18 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -35,26 +35,7 @@
/* INCLUDES ******************************************************************/
#define __WIN32K__
#define NTOS_MODE_KERNEL
#include <ntos.h>
#include <ddk/ntddmou.h>
#include <win32k/win32k.h>
#include <include/winsta.h>
#include <include/desktop.h>
#include <include/object.h>
#include <include/window.h>
#include <include/error.h>
#include <include/cursoricon.h>
#include <include/hotkey.h>
#include <include/color.h>
#include <include/mouse.h>
#include <include/callback.h>
#include <include/guicheck.h>
#include <include/intgdi.h>
#include <include/tags.h>
/* Needed for DIRECTORY_OBJECT */
#include <internal/ob.h>
#include <w32k.h>
#define NDEBUG
#include <debug.h>

View file

@ -16,11 +16,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: bezier.c,v 1.7 2004/05/10 13:35:28 weiden Exp $ */
#include <windows.h>
#include <ddk/ntddk.h>
#include <math.h>
#include <include/tags.h>
/* $Id: bezier.c,v 1.8 2004/05/10 17:07:20 weiden Exp $ */
#include <w32k.h>
/******************************************************************
*

View file

@ -16,28 +16,16 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: bitmaps.c,v 1.71 2004/04/28 18:38:07 navaraf Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
#include <win32k/color.h>
#include <win32k/gdiobj.h>
#include <win32k/bitmaps.h>
#include <win32k/brush.h>
#include <win32k/region.h>
//#include <win32k/debug.h>
#include "../eng/handle.h"
#include <include/inteng.h>
#include <include/intgdi.h>
#include <include/eng.h>
#include <include/error.h>
#include <include/surface.h>
#include <include/palette.h>
#include <include/tags.h>
#include <rosrtl/gdimacro.h>
/* $Id: bitmaps.c,v 1.72 2004/05/10 17:07:20 weiden Exp $ */
#include <w32k.h>
#define NDEBUG
#include <win32k/debug1.h>
#define IN_RECT(r,x,y) \
( \
(x) >= (r).left && \
(y) >= (r).top && \
(x) < (r).right && \
(y) < (r).bottom \
)
BOOL STDCALL
NtGdiBitBlt(

View file

@ -17,21 +17,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Id: brush.c,v 1.36 2004/04/25 14:46:54 weiden Exp $
* $Id: brush.c,v 1.37 2004/05/10 17:07:20 weiden Exp $
*/
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include <win32k/bitmaps.h>
#include <win32k/brush.h>
#include <internal/safe.h>
#include <include/object.h>
#include <include/inteng.h>
#include <include/error.h>
#include <include/tags.h>
#define NDEBUG
#include <win32k/debug1.h>
#include <w32k.h>
static const USHORT HatchBrushes[NB_HATCH_STYLES][8] =
{

View file

@ -16,22 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: cliprgn.c,v 1.36 2004/04/26 19:58:45 weiden Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include <internal/safe.h>
#include <win32k/dc.h>
#include <win32k/region.h>
#include <win32k/cliprgn.h>
#include <win32k/coord.h>
#include <include/error.h>
#include <include/intgdi.h>
#include "../eng/clip.h"
#define NDEBUG
#include <win32k/debug1.h>
/* $Id: cliprgn.c,v 1.37 2004/05/10 17:07:20 weiden Exp $ */
#include <w32k.h>
VOID FASTCALL
CLIPPING_UpdateGCRegion(DC* Dc)

View file

@ -16,30 +16,11 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: color.c,v 1.38 2004/05/01 00:51:51 navaraf Exp $ */
/* $Id: color.c,v 1.39 2004/05/10 17:07:20 weiden Exp $ */
#include <w32k.h>
// FIXME: Use PXLATEOBJ logicalToSystem instead of int *mapping
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include <ddk/winddi.h>
#include <win32k/brush.h>
#include <win32k/dc.h>
#include <win32k/color.h>
#include <win32k/pen.h>
#include <win32k/ntuser.h>
#include "../eng/handle.h"
#include <include/inteng.h>
#include <include/eng.h>
#include <include/color.h>
#include <include/palette.h>
#include <include/error.h>
#include <include/dce.h>
#define NDEBUG
#include <win32k/debug1.h>
int COLOR_gapStart = 256;
int COLOR_gapEnd = -1;
int COLOR_gapFilled = 0;

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: coord.c,v 1.22 2004/02/19 21:12:10 weiden Exp $
/* $Id: coord.c,v 1.23 2004/05/10 17:07:20 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -26,16 +26,7 @@
*/
/* INCLUDES ******************************************************************/
#include <windows.h>
#include <ddk/ntddk.h>
#include <internal/safe.h>
#include <win32k/coord.h>
#include <win32k/dc.h>
#include <include/error.h>
#include <include/tags.h>
#define NDEBUG
#include <win32k/debug1.h>
#include <w32k.h>
/* FUNCTIONS *****************************************************************/

View file

@ -16,35 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: cursoricon.c,v 1.54 2004/04/30 22:18:00 weiden Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <ddk/ntddk.h>
#include <ddk/ntddmou.h>
#include <win32k/win32k.h>
#include <windows.h>
#include <stdlib.h>
#include <win32k/bitmaps.h>
#include <win32k/dc.h>
#include <include/winsta.h>
#include <include/desktop.h>
#include <include/error.h>
#include <include/mouse.h>
#include <include/window.h>
#include <include/input.h>
#include <include/cursoricon.h>
#include <include/inteng.h>
#include <include/surface.h>
#include <include/palette.h>
#include <include/eng.h>
#include <include/intgdi.h>
#include <include/callback.h>
#include "include/object.h"
#include <internal/safe.h>
#define NDEBUG
#include <win32k/debug1.h>
/* $Id: cursoricon.c,v 1.55 2004/05/10 17:07:20 weiden Exp $ */
#include <w32k.h>
PCURICON_OBJECT FASTCALL
IntGetCurIconObject(PWINSTATION_OBJECT WinStaObject, HANDLE Handle)

View file

@ -16,46 +16,12 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: dc.c,v 1.133 2004/04/28 18:38:07 navaraf Exp $
/* $Id: dc.c,v 1.134 2004/05/10 17:07:20 weiden Exp $
*
* DC.C - Device context functions
*
*/
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include <ddk/ntddvdeo.h>
#include <internal/safe.h>
#include <win32k/bitmaps.h>
#include <win32k/brush.h>
#include <win32k/cliprgn.h>
#include <win32k/coord.h>
#include <win32k/dc.h>
#include <win32k/misc.h>
#include <win32k/print.h>
#include <win32k/region.h>
#include <win32k/gdiobj.h>
#include <win32k/paint.h>
#include <win32k/color.h>
#include <win32k/pen.h>
#include <win32k/text.h>
#include "../eng/clip.h"
#include "../eng/handle.h"
#include <include/dce.h>
#include <include/error.h>
#include <include/inteng.h>
#include <include/eng.h>
#include <include/palette.h>
#include <include/guicheck.h>
#include <include/desktop.h>
#include <include/intgdi.h>
#include <include/cleanup.h>
#include <include/tags.h>
#include <include/text.h>
#define NDEBUG
#include <win32k/debug1.h>
#include <w32k.h>
#ifndef OBJ_COLORSPACE
#define OBJ_COLORSPACE (14)

View file

@ -1,5 +1,5 @@
/*
* $Id: dib.c,v 1.45 2004/04/09 20:03:20 navaraf Exp $
* $Id: dib.c,v 1.46 2004/05/10 17:07:20 weiden Exp $
*
* ReactOS W32 Subsystem
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team
@ -18,26 +18,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
#include <win32k/bitmaps.h>
#include <win32k/debug.h>
#include "../eng/handle.h"
#include <ntos/minmax.h>
#include <include/error.h>
#include <include/inteng.h>
#include <include/eng.h>
#include <include/dib.h>
#include <include/color.h>
#include <internal/safe.h>
#include <include/surface.h>
#include <include/palette.h>
#include <include/tags.h>
#define NDEBUG
#include <win32k/debug1.h>
#include <w32k.h>
UINT STDCALL NtGdiSetDIBColorTable(HDC hDC,
UINT StartIndex,

View file

@ -16,30 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: fillshap.c,v 1.47 2004/04/09 20:03:20 navaraf Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include <ddk/winddi.h>
#include <win32k/fillshap.h>
#include <win32k/brush.h>
#include <win32k/dc.h>
#include <win32k/pen.h>
#include <win32k/region.h>
#include <include/error.h>
#include <include/object.h>
#include <include/inteng.h>
#include <include/path.h>
#include <include/paint.h>
#include <include/palette.h>
#include <include/eng.h>
#include <include/intgdi.h>
#include <include/tags.h>
#include <internal/safe.h>
#define NDEBUG
#include <win32k/debug1.h>
/* $Id: fillshap.c,v 1.48 2004/05/10 17:07:20 weiden Exp $ */
#include <w32k.h>
/*
* a couple macros to fill a single pixel or a line

View file

@ -19,29 +19,10 @@
/*
* GDIOBJ.C - GDI object manipulation routines
*
* $Id: gdiobj.c,v 1.66 2004/04/09 20:03:20 navaraf Exp $
* $Id: gdiobj.c,v 1.67 2004/05/10 17:07:20 weiden Exp $
*
*/
#undef WIN32_LEAN_AND_MEAN
#define WIN32_NO_STATUS
#include <windows.h>
#include <ddk/ntddk.h>
#include <include/dce.h>
#include <include/object.h>
#include <win32k/gdiobj.h>
#include <win32k/brush.h>
#include <win32k/pen.h>
#include <win32k/text.h>
#include <win32k/dc.h>
#include <win32k/bitmaps.h>
#include <win32k/region.h>
#include <win32k/cursoricon.h>
#include <include/palette.h>
#include <include/intgdi.h>
#include <include/tags.h>
#define NDEBUG
#include <win32k/debug1.h>
#include <w32k.h>
/* count all gdi objects */
#define GDI_COUNT_OBJECTS 1

View file

@ -16,15 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: icm.c,v 1.9 2003/08/19 11:48:50 weiden Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include <win32k/icm.h>
#define NDEBUG
#include <win32k/debug1.h>
/* $Id: icm.c,v 1.10 2004/05/10 17:07:20 weiden Exp $ */
#include <w32k.h>
BOOL
STDCALL

View file

@ -16,29 +16,11 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: line.c,v 1.29 2004/04/09 20:03:20 navaraf Exp $ */
/* $Id: line.c,v 1.30 2004/05/10 17:07:20 weiden Exp $ */
#include <w32k.h>
// Some code from the WINE project source (www.winehq.com)
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include <internal/safe.h>
#include <win32k/dc.h>
#include <win32k/line.h>
#include <win32k/path.h>
#include <win32k/pen.h>
#include <win32k/region.h>
#include <include/error.h>
#include <include/inteng.h>
#include <include/object.h>
#include <include/path.h>
#include <include/intgdi.h>
#include <include/tags.h>
#define NDEBUG
#include <win32k/debug1.h>
BOOL FASTCALL
IntGdiMoveToEx(DC *dc,

View file

@ -16,15 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: metafile.c,v 1.9 2003/08/19 11:48:50 weiden Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include <win32k/metafile.h>
#define NDEBUG
#include <win32k/debug1.h>
/* $Id: metafile.c,v 1.10 2004/05/10 17:07:20 weiden Exp $ */
#include <w32k.h>
HENHMETAFILE
STDCALL

View file

@ -16,27 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: objconv.c,v 1.17 2004/04/09 20:03:20 navaraf Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
/* FIXME: Surely we should just have one include file that includes all of these.. */
#include <win32k/bitmaps.h>
#include <win32k/coord.h>
#include <win32k/driver.h>
#include <win32k/dc.h>
#include <win32k/print.h>
#include <win32k/region.h>
#include <win32k/gdiobj.h>
#include <win32k/pen.h>
#include "../eng/objects.h"
#include <include/object.h>
#include <include/surface.h>
//#define NDEBUG
#include <win32k/debug1.h>
/* $Id: objconv.c,v 1.18 2004/05/10 17:07:20 weiden Exp $ */
#include <w32k.h>
HBITMAP FASTCALL BitmapToSurf(PBITMAPOBJ BitmapObj, HDEV GDIDevice)
{

View file

@ -16,16 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: paint.c,v 1.10 2003/08/19 11:48:50 weiden Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
//#include <win32k/debug.h>
#include <win32k/paint.h>
#define NDEBUG
#include <win32k/debug1.h>
/* $Id: paint.c,v 1.11 2004/05/10 17:07:20 weiden Exp $ */
#include <w32k.h>
BOOL
STDCALL

View file

@ -16,20 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: palette.c,v 1.17 2004/04/09 20:03:20 navaraf Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <win32k/debug.h>
#include <win32k/debug1.h>
#include <win32k/bitmaps.h>
#include <win32k/color.h>
#include <win32k/gdiobj.h>
#include <debug.h>
#include <include/palette.h>
#include <include/object.h>
#include <include/color.h>
#include <include/tags.h>
/* $Id: palette.c,v 1.18 2004/05/10 17:07:20 weiden Exp $ */
#include <w32k.h>
#ifndef NO_MAPPING
static int PALETTE_firstFree = 0;

View file

@ -16,33 +16,24 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: path.c,v 1.20 2004/04/24 14:21:37 weiden Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include <ddk/winddi.h>
#include <win32k/brush.h>
#include <win32k/dc.h>
#include <win32k/path.h>
#include <win32k/math.h>
/* $Id: path.c,v 1.21 2004/05/10 17:07:20 weiden Exp $ */
#include <w32k.h>
#include <win32k/float.h>
#include <win32k/coord.h>
#include <win32k/line.h>
#define _WIN32K_PATH_INTERNAL
#include <include/object.h>
#include <include/path.h>
#include <include/tags.h>
#include <math.h>
#include <float.h>
#define NDEBUG
#include <win32k/debug1.h>
#define NUM_ENTRIES_INITIAL 16 /* Initial size of points / flags arrays */
#define GROW_FACTOR_NUMER 2 /* Numerator of grow factor for the array */
#define GROW_FACTOR_DENOM 1 /* Denominator of grow factor */
BOOL FASTCALL PATH_AddEntry (GdiPath *pPath, const POINT *pPoint, BYTE flags);
BOOL FASTCALL PATH_AddFlatBezier (GdiPath *pPath, POINT *pt, BOOL closed);
BOOL FASTCALL PATH_DoArcPart (GdiPath *pPath, FLOAT_POINT corners[], double angleStart, double angleEnd, BOOL addMoveTo);
BOOL FASTCALL PATH_FlattenPath (GdiPath *pPath);
VOID FASTCALL PATH_GetPathFromDC (PDC dc, GdiPath **ppPath);
VOID FASTCALL PATH_NormalizePoint (FLOAT_POINT corners[], const FLOAT_POINT *pPoint, double *pX, double *pY);
BOOL FASTCALL PATH_PathToRegion(const GdiPath *pPath, INT nPolyFillMode, HRGN *pHrgn);
BOOL FASTCALL PATH_ReserveEntries (GdiPath *pPath, INT numEntries);
VOID FASTCALL PATH_ScaleNormalizedPoint (FLOAT_POINT corners[], double x, double y, POINT *pPoint);
INT FASTCALL
IntGdiGetArcDirection(DC *dc);

View file

@ -17,19 +17,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Id: pen.c,v 1.14 2004/04/05 21:26:25 navaraf Exp $
* $Id: pen.c,v 1.15 2004/05/10 17:07:20 weiden Exp $
*/
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include <ddk/winddi.h>
#include <win32k/pen.h>
#include <win32k/bitmaps.h>
#include <include/error.h>
#include <internal/safe.h>
#define NDEBUG
#include <win32k/debug1.h>
#include <w32k.h>
/* PRIVATE FUNCTIONS **********************************************************/

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: polyfill.c,v 1.13 2004/04/09 20:03:20 navaraf Exp $
/* $Id: polyfill.c,v 1.14 2004/05/10 17:07:20 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -26,19 +26,7 @@
* REVISION HISTORY:
* 21/2/2003: Created
*/
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include <win32k/fillshap.h>
#include <win32k/dc.h>
#include <win32k/pen.h>
#include <include/inteng.h>
#include <include/object.h>
#include <include/paint.h>
#undef NDEBUG
#include <win32k/debug1.h>
#include <w32k.h>
INT abs(INT nm);

View file

@ -16,20 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: print.c,v 1.16 2004/04/09 20:03:20 navaraf Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include <win32k/print.h>
#include <win32k/dc.h>
#include <include/error.h>
#include <include/tags.h>
#include <include/object.h>
#include <internal/safe.h>
#define NDEBUG
#include <win32k/debug1.h>
/* $Id: print.c,v 1.17 2004/05/10 17:07:20 weiden Exp $ */
#include <w32k.h>
INT
STDCALL

View file

@ -16,15 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: rect.c,v 1.6 2003/08/19 11:48:50 weiden Exp $ */
#include <windows.h>
#include <ddk/ntddk.h>
#include <win32k/region.h>
#include <win32k/gdiobj.h>
#include <include/rect.h>
#define NDEBUG
#include <win32k/debug1.h>
/* $Id: rect.c,v 1.7 2004/05/10 17:07:20 weiden Exp $ */
#include <w32k.h>
/* FUNCTIONS *****************************************************************/

View file

@ -16,26 +16,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: region.c,v 1.50 2004/04/24 14:21:37 weiden Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include <internal/safe.h>
/* $Id: region.c,v 1.51 2004/05/10 17:07:20 weiden Exp $ */
#include <w32k.h>
#include <win32k/float.h>
#include <win32k/dc.h>
#include <win32k/bitmaps.h>
#include <win32k/region.h>
#include <win32k/cliprgn.h>
#include <win32k/brush.h>
#include <include/rect.h>
#include <include/object.h>
#include <include/inteng.h>
#include <include/intgdi.h>
#include <include/error.h>
#include <include/tags.h>
#define NDEBUG
#include <win32k/debug1.h>
BOOL STDCALL
IntEngPaint(IN SURFOBJ *Surface,IN CLIPOBJ *ClipRegion,IN BRUSHOBJ *Brush,IN POINTL *BrushOrigin,

View file

@ -22,36 +22,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: text.c,v 1.90 2004/04/23 21:35:59 weiden Exp $ */
/* $Id: text.c,v 1.91 2004/05/10 17:07:20 weiden Exp $ */
#include <w32k.h>
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include <ddk/winddi.h>
#include <napi/win32.h>
#include <internal/safe.h>
#include <win32k/brush.h>
#include <win32k/dc.h>
#include <win32k/text.h>
#include <win32k/font.h>
#include <include/error.h>
#include <include/desktop.h>
#include <ft2build.h>
#include FT_FREETYPE_H
#include <freetype/tttables.h>
#include "../eng/handle.h"
#include <include/inteng.h>
#include <include/text.h>
#include <include/eng.h>
#include <include/palette.h>
#include <include/tags.h>
#define NDEBUG
#include <win32k/debug1.h>
FT_Library library;
typedef struct _FONT_ENTRY {

View file

@ -16,15 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: wingl.c,v 1.7 2003/08/19 11:48:50 weiden Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include <win32k/wingl.h>
#define NDEBUG
#include <win32k/debug1.h>
/* $Id: wingl.c,v 1.8 2004/05/10 17:07:20 weiden Exp $ */
#include <w32k.h>
INT
STDCALL

View file

@ -0,0 +1,81 @@
/*
* Precompiled headers for win32k.sys
*/
#define __WIN32K__
#define NTOS_MODE_KERNEL
#include <roskrnl.h>
#include <ddk/winddi.h>
#include <ddk/ntddk.h>
#include <ddk/ntddmou.h>
#include <win32k/win32k.h>
#include <csrss/csrss.h>
#include <internal/ob.h>
#include <internal/safe.h>
#include <napi/win32.h>
#include <ntos.h>
#include <math.h>
#include <float.h>
#include <windows.h>
#include <rosrtl/string.h>
#include <user32/callback.h>
#include <include/accelerator.h>
#include <include/callback.h>
#include <include/caret.h>
#include <include/class.h>
#include <include/cleanup.h>
#include <include/clipboard.h>
#include <include/color.h>
#include <include/cursoricon.h>
#include <include/dce.h>
#include <include/desktop.h>
#include <include/dib.h>
#include <include/eng.h>
#include <include/error.h>
#include <include/focus.h>
#include <include/guicheck.h>
#include <include/hook.h>
#include <include/hotkey.h>
#include <include/input.h>
#include <include/inteng.h>
#include <include/intgdi.h>
#include <include/menu.h>
#include <include/mouse.h>
#include <include/msgqueue.h>
#include <include/object.h>
#include <include/paint.h>
#include <include/painting.h>
#include <include/palette.h>
#include <include/path.h>
#include <include/prop.h>
#include <include/rect.h>
#include <include/scroll.h>
#include <include/surface.h>
#include <include/tags.h>
#include <include/text.h>
#include <include/timer.h>
#include <include/timer.h>
#include <include/useratom.h>
#include <include/vis.h>
#include <include/window.h>
#include <include/winpos.h>
#include <include/winsta.h>
#include <eng/objects.h>
#include <eng/misc.h>
#include <eng/handle.h>
#include <eng/clip.h>
#include <eng/brush.h>
#include <dib/dib.h>
#define NDEBUG
#include <win32k/debug1.h>