Add COLOR_MENUHILIGHT and COLOR_MENUBAR to the system colors.
This commit is contained in:
parent
bcb1f8fe05
commit
a773f43f9c
|
@ -752,6 +752,9 @@ typedef struct
|
|||
#define COLOR_HOTLIGHT 26
|
||||
#define COLOR_GRADIENTACTIVECAPTION 27
|
||||
#define COLOR_GRADIENTINACTIVECAPTION 28
|
||||
/* win2k/xp colors */
|
||||
#define COLOR_MENUHILIGHT 29
|
||||
#define COLOR_MENUBAR 30
|
||||
|
||||
/* WM_CTLCOLOR values */
|
||||
#define CTLCOLOR_MSGBOX 0
|
||||
|
|
|
@ -69,11 +69,13 @@ static const char * const DefSysColors[] =
|
|||
"ButtonAlternateFace", "180 180 180", /* COLOR_ALTERNATEBTNFACE */
|
||||
"HotTrackingColor", "0 0 255", /* COLOR_HOTLIGHT */
|
||||
"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 HBRUSH SysColorBrushes[NUM_SYS_COLORS];
|
||||
|
|
Loading…
Reference in New Issue