winecfg: Add support for updating all system colours.
This commit is contained in:
parent
c15cdad10d
commit
14f86f8778
|
@ -308,4 +308,19 @@ BEGIN
|
|||
IDC_SYSPARAMS_INACTIVE_TITLE "Inactive Title Bar"
|
||||
IDC_SYSPARAMS_INACTIVE_TITLE_TEXT "Inactive Title Text"
|
||||
IDC_SYSPARAMS_MSGBOX_TEXT "Message Box Text"
|
||||
IDC_SYSPARAMS_APPWORKSPACE "Application Workspace"
|
||||
IDC_SYSPARAMS_WINDOW_FRAME "Window Frame"
|
||||
IDC_SYSPARAMS_ACTIVE_BORDER "Active Border"
|
||||
IDC_SYSPARAMS_INACTIVE_BORDER "Inactive Border"
|
||||
IDC_SYSPARAMS_BUTTON_SHADOW "Controls Shadow"
|
||||
IDC_SYSPARAMS_GRAY_TEXT "Gray Text"
|
||||
IDC_SYSPARAMS_BUTTON_HILIGHT "Controls Hilight"
|
||||
IDC_SYSPARAMS_BUTTON_DARK_SHADOW "Controls Dark Shadow"
|
||||
IDC_SYSPARAMS_BUTTON_LIGHT "Controls Light"
|
||||
IDC_SYSPARAMS_BUTTON_ALTERNATE "Controls Alternate Background"
|
||||
IDC_SYSPARAMS_HOT_TRACKING "Hot Tracked Item"
|
||||
IDC_SYSPARAMS_ACTIVE_TITLE_GRADIENT "Active Title Bar Gradient"
|
||||
IDC_SYSPARAMS_INACTIVE_TITLE_GRADIENT "Inactive Tile Bar Gradient"
|
||||
IDC_SYSPARAMS_MENU_HILIGHT "Menu Hilight"
|
||||
IDC_SYSPARAMS_MENUBAR "Menu Bar"
|
||||
END
|
||||
|
|
|
@ -232,3 +232,18 @@
|
|||
#define IDC_SYSPARAMS_INACTIVE_TITLE 8414
|
||||
#define IDC_SYSPARAMS_INACTIVE_TITLE_TEXT 8415
|
||||
#define IDC_SYSPARAMS_MSGBOX_TEXT 8416
|
||||
#define IDC_SYSPARAMS_APPWORKSPACE 8417
|
||||
#define IDC_SYSPARAMS_WINDOW_FRAME 8418
|
||||
#define IDC_SYSPARAMS_ACTIVE_BORDER 8419
|
||||
#define IDC_SYSPARAMS_INACTIVE_BORDER 8420
|
||||
#define IDC_SYSPARAMS_BUTTON_SHADOW 8421
|
||||
#define IDC_SYSPARAMS_GRAY_TEXT 8422
|
||||
#define IDC_SYSPARAMS_BUTTON_HILIGHT 8423
|
||||
#define IDC_SYSPARAMS_BUTTON_DARK_SHADOW 8424
|
||||
#define IDC_SYSPARAMS_BUTTON_LIGHT 8425
|
||||
#define IDC_SYSPARAMS_BUTTON_ALTERNATE 8426
|
||||
#define IDC_SYSPARAMS_HOT_TRACKING 8427
|
||||
#define IDC_SYSPARAMS_ACTIVE_TITLE_GRADIENT 8428
|
||||
#define IDC_SYSPARAMS_INACTIVE_TITLE_GRADIENT 8429
|
||||
#define IDC_SYSPARAMS_MENU_HILIGHT 8430
|
||||
#define IDC_SYSPARAMS_MENUBAR 8431
|
||||
|
|
|
@ -522,6 +522,21 @@ static struct
|
|||
{-1, COLOR_INACTIVECAPTION, "InactiveTitle" }, /* IDC_SYSPARAMS_INACTIVE_TITLE */
|
||||
{-1, COLOR_INACTIVECAPTIONTEXT,"InactiveTitleText" }, /* IDC_SYSPARAMS_INACTIVE_TITLE_TEXT */
|
||||
{-1, -1, "MsgBoxText" }, /* IDC_SYSPARAMS_MSGBOX_TEXT */
|
||||
{-1, COLOR_APPWORKSPACE, "AppWorkSpace" }, /* IDC_SYSPARAMS_APPWORKSPACE */
|
||||
{-1, COLOR_WINDOWFRAME, "WindowFrame" }, /* IDC_SYSPARAMS_WINDOW_FRAME */
|
||||
{-1, COLOR_ACTIVEBORDER, "ActiveBorder" }, /* IDC_SYSPARAMS_ACTIVE_BORDER */
|
||||
{-1, COLOR_INACTIVEBORDER, "InactiveBorder" }, /* IDC_SYSPARAMS_INACTIVE_BORDER */
|
||||
{-1, COLOR_BTNSHADOW, "ButtonShadow" }, /* IDC_SYSPARAMS_BUTTON_SHADOW */
|
||||
{-1, COLOR_GRAYTEXT, "GrayText" }, /* IDC_SYSPARAMS_GRAY_TEXT */
|
||||
{-1, COLOR_BTNHILIGHT, "ButtonHilight" }, /* IDC_SYSPARAMS_BUTTON_HILIGHT */
|
||||
{-1, COLOR_3DDKSHADOW, "ButtonDkShadow" }, /* IDC_SYSPARAMS_BUTTON_DARK_SHADOW */
|
||||
{-1, COLOR_3DLIGHT, "ButtonLight" }, /* IDC_SYSPARAMS_BUTTON_LIGHT */
|
||||
{-1, COLOR_ALTERNATEBTNFACE, "ButtonAlternateFace" }, /* IDC_SYSPARAMS_BUTTON_ALTERNATE */
|
||||
{-1, COLOR_HOTLIGHT, "HotTrackingColor" }, /* IDC_SYSPARAMS_HOT_TRACKING */
|
||||
{-1, COLOR_GRADIENTACTIVECAPTION, "GradientActiveTitle" }, /* IDC_SYSPARAMS_ACTIVE_TITLE_GRADIENT */
|
||||
{-1, COLOR_GRADIENTINACTIVECAPTION, "GradientInactiveTitle" }, /* IDC_SYSPARAMS_INACTIVE_TITLE_GRADIENT */
|
||||
{-1, COLOR_MENUHILIGHT, "MenuHilight" }, /* IDC_SYSPARAMS_MENU_HILIGHT */
|
||||
{-1, COLOR_MENUBAR, "MenuBar" }, /* IDC_SYSPARAMS_MENUBAR */
|
||||
};
|
||||
|
||||
static void save_sys_color(int idx, COLORREF clr)
|
||||
|
|
Loading…
Reference in New Issue