2 * ReactOS Generic Framebuffer display driver
4 * Copyright (C) 2004 Filip Navara
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 #include <ddk/ntddk.h>
27 #include <ddk/winddi.h>
28 #include <ddk/ntddvdeo.h>
30 //#define EXPERIMENTAL_MOUSE_CURSOR_SUPPORT
47 HPALETTE DefaultPalette
;
48 PALETTEENTRY
*PaletteEntries
;
50 #ifdef EXPERIMENTAL_MOUSE_CURSOR_SUPPORT
51 VIDEO_POINTER_ATTRIBUTES PointerAttributes
;
52 XLATEOBJ
*PointerXlateObject
;
53 HSURF PointerColorSurface
;
54 HSURF PointerMaskSurface
;
55 HSURF PointerSaveSurface
;
56 POINTL PointerHotSpot
;
60 #define TAG(A, B, C, D) (ULONG)(((A)<<0) + ((B)<<8) + ((C)<<16) + ((D)<<24))
62 #define DEVICE_NAME L"framebuf"
63 #define ALLOC_TAG TAG('F','B','U','F')
68 IN LPWSTR pwszLogAddress
,
70 OUT HSURF
*phsurfPatterns
,
76 IN LPWSTR pwszDeviceName
,
119 IN SURFOBJ
*psoColor
,
143 IntInitDefaultPalette(
150 IN PPALETTEENTRY ppalent
,
154 #endif /* FRAMEBUF_H */