Commit a773f43f authored by William Poetra Yoga H's avatar William Poetra Yoga H Committed by Alexandre Julliard

Add COLOR_MENUHILIGHT and COLOR_MENUBAR to the system colors.

parent bcb1f8fe
...@@ -752,6 +752,9 @@ typedef struct ...@@ -752,6 +752,9 @@ typedef struct
#define COLOR_HOTLIGHT 26 #define COLOR_HOTLIGHT 26
#define COLOR_GRADIENTACTIVECAPTION 27 #define COLOR_GRADIENTACTIVECAPTION 27
#define COLOR_GRADIENTINACTIVECAPTION 28 #define COLOR_GRADIENTINACTIVECAPTION 28
/* win2k/xp colors */
#define COLOR_MENUHILIGHT 29
#define COLOR_MENUBAR 30
/* WM_CTLCOLOR values */ /* WM_CTLCOLOR values */
#define CTLCOLOR_MSGBOX 0 #define CTLCOLOR_MSGBOX 0
......
...@@ -69,11 +69,13 @@ static const char * const DefSysColors[] = ...@@ -69,11 +69,13 @@ static const char * const DefSysColors[] =
"ButtonAlternateFace", "180 180 180", /* COLOR_ALTERNATEBTNFACE */ "ButtonAlternateFace", "180 180 180", /* COLOR_ALTERNATEBTNFACE */
"HotTrackingColor", "0 0 255", /* COLOR_HOTLIGHT */ "HotTrackingColor", "0 0 255", /* COLOR_HOTLIGHT */
"GradientActiveTitle", "16 132 208", /* COLOR_GRADIENTACTIVECAPTION */ "GradientActiveTitle", "16 132 208", /* COLOR_GRADIENTACTIVECAPTION */
"GradientInactiveTitle", "181 181 181" /* COLOR_GRADIENTINACTIVECAPTION */ "GradientInactiveTitle", "181 181 181",/* COLOR_GRADIENTINACTIVECAPTION */
"MenuHilight", "0 0 0", /* COLOR_MENUHILIGHT */
"MenuBar", "192 192 192" /* COLOR_MENUBAR */
}; };
#define NUM_SYS_COLORS (COLOR_GRADIENTINACTIVECAPTION+1) #define NUM_SYS_COLORS (COLOR_MENUBAR+1)
static COLORREF SysColors[NUM_SYS_COLORS]; static COLORREF SysColors[NUM_SYS_COLORS];
static HBRUSH SysColorBrushes[NUM_SYS_COLORS]; static HBRUSH SysColorBrushes[NUM_SYS_COLORS];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment