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 along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
29 //#define EXPERIMENTAL_MOUSE_CURSOR_SUPPORT
46 HPALETTE DefaultPalette
;
47 PALETTEENTRY
*PaletteEntries
;
49 #ifdef EXPERIMENTAL_MOUSE_CURSOR_SUPPORT
50 VIDEO_POINTER_ATTRIBUTES PointerAttributes
;
51 XLATEOBJ
*PointerXlateObject
;
52 HSURF PointerColorSurface
;
53 HSURF PointerMaskSurface
;
54 HSURF PointerSaveSurface
;
55 POINTL PointerHotSpot
;
65 DDPIXELFORMAT ddpfDisplay
;
68 #define DEVICE_NAME L"framebuf"
69 #define ALLOC_TAG 'FUBF'
75 IN LPWSTR pwszLogAddress
,
77 OUT HSURF
*phsurfPatterns
,
83 IN LPWSTR pwszDeviceName
,
126 IN SURFOBJ
*psoColor
,
150 IntInitDefaultPalette(
157 IN PPALETTEENTRY ppalent
,