From bc510d096002ba2dd605dc235e15b820f04816c1 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Mon, 8 Oct 2001 22:31:16 +0000 Subject: [PATCH] Add support for NOCOLOR. --- include/winuser.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/winuser.h b/include/winuser.h index 241f44c3217..c74f14c035d 100644 --- a/include/winuser.h +++ b/include/winuser.h @@ -429,6 +429,8 @@ typedef struct #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 +478,11 @@ typedef struct #define CTLCOLOR_SCROLLBAR 5 #define CTLCOLOR_STATIC 6 +COLORREF WINAPI GetSysColor(INT); +BOOL WINAPI SetSysColors(INT,const INT*,const COLORREF*); + +#endif /* NOCOLOR */ + /* Edit control messages */ #define EM_GETSEL 0x00b0 #define EM_SETSEL 0x00b1 @@ -3587,7 +3594,6 @@ INT WINAPI GetScrollPos(HWND,INT); BOOL WINAPI GetScrollRange(HWND,INT,LPINT,LPINT); HWND WINAPI GetShellWindow(void); HMENU WINAPI GetSubMenu(HMENU,INT); -COLORREF WINAPI GetSysColor(INT); HBRUSH WINAPI GetSysColorBrush(INT); #define GetSysModalWindow() ((HWND)0) HMENU WINAPI GetSystemMenu(HWND,BOOL); @@ -3810,7 +3816,6 @@ BOOL WINAPI SetRectEmpty(LPRECT); INT WINAPI SetScrollInfo(HWND,INT,const SCROLLINFO*,BOOL); INT WINAPI SetScrollPos(HWND,INT,INT,BOOL); BOOL WINAPI SetScrollRange(HWND,INT,INT,INT,BOOL); -BOOL WINAPI SetSysColors(INT,const INT*,const COLORREF*); #define SetSysModalWindow(hwnd) ((HWND)0) BOOL WINAPI SetSystemCursor(HCURSOR,DWORD); BOOL WINAPI SetSystemMenu(HWND,HMENU);