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.
31 //#define EXPERIMENTAL_MOUSE_CURSOR_SUPPORT
48 HPALETTE DefaultPalette
;
49 PALETTEENTRY
*PaletteEntries
;
51 #ifdef EXPERIMENTAL_MOUSE_CURSOR_SUPPORT
52 VIDEO_POINTER_ATTRIBUTES PointerAttributes
;
53 XLATEOBJ
*PointerXlateObject
;
54 HSURF PointerColorSurface
;
55 HSURF PointerMaskSurface
;
56 HSURF PointerSaveSurface
;
57 POINTL PointerHotSpot
;
67 DDPIXELFORMAT ddpfDisplay
;
70 #define DEVICE_NAME L"framebuf"
71 #define ALLOC_TAG 'FUBF'
77 IN LPWSTR pwszLogAddress
,
79 OUT HSURF
*phsurfPatterns
,
85 IN LPWSTR pwszDeviceName
,
128 IN SURFOBJ
*psoColor
,
152 IntInitDefaultPalette(
159 IN PPALETTEENTRY ppalent
,