Add support for NOCOLOR

Francois Gouget fgouget at free.fr
Sun Oct 7 21:03:56 CDT 2001



Changelog:

 * include/winuser.h

   Add support for NOCOLOR


--
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
     Linux, WinNT, MS-DOS - also known as the Good, the Bad and the Ugly.
-------------- next part --------------
Index: include/winuser.h
===================================================================
RCS file: /home/wine/wine/include/winuser.h,v
retrieving revision 1.120
diff -u -r1.120 winuser.h
--- include/winuser.h	2001/10/02 17:17:31	1.120
+++ include/winuser.h	2001/10/07 22:23:50
@@ -429,6 +497,8 @@
 #define OIC_ERROR           OIC_HAND
 #define OIC_INFORMATION     OIC_NOTE
 
+#ifndef NOCOLOR
+
 #define COLOR_SCROLLBAR		    0
 #define COLOR_BACKGROUND	    1
 #define COLOR_ACTIVECAPTION	    2
@@ -476,6 +546,8 @@
 #define CTLCOLOR_SCROLLBAR          5
 #define CTLCOLOR_STATIC             6
 
+#endif /* NOCOLOR */
+
 /* Edit control messages */
 #define EM_GETSEL                0x00b0
 #define EM_SETSEL                0x00b1
@@ -3587,7 +3669,9 @@
 BOOL      WINAPI GetScrollRange(HWND,INT,LPINT,LPINT);
 HWND      WINAPI GetShellWindow(void);
 HMENU     WINAPI GetSubMenu(HMENU,INT);
+#ifndef NOCOLOR
 COLORREF    WINAPI GetSysColor(INT);
+#endif /* NOCOLOR */
 HBRUSH    WINAPI GetSysColorBrush(INT);
 #define     GetSysModalWindow() ((HWND)0)
 HMENU     WINAPI GetSystemMenu(HWND,BOOL);
@@ -3810,7 +3894,9 @@
 INT       WINAPI SetScrollInfo(HWND,INT,const SCROLLINFO*,BOOL);
 INT       WINAPI SetScrollPos(HWND,INT,INT,BOOL);
 BOOL      WINAPI SetScrollRange(HWND,INT,INT,INT,BOOL);
+#ifndef NOCOLOR
 BOOL      WINAPI SetSysColors(INT,const INT*,const COLORREF*);
+#endif /* NOCOLOR */
 #define     SetSysModalWindow(hwnd) ((HWND)0)
 BOOL      WINAPI SetSystemCursor(HCURSOR,DWORD);
 BOOL      WINAPI SetSystemMenu(HWND,HMENU);


More information about the wine-patches mailing list