Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
14f86f87
Commit
14f86f87
authored
Feb 10, 2008
by
Reece Dunn
Committed by
Alexandre Julliard
Apr 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecfg: Add support for updating all system colours.
parent
c15cdad1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
0 deletions
+45
-0
En.rc
programs/winecfg/En.rc
+15
-0
resource.h
programs/winecfg/resource.h
+15
-0
theme.c
programs/winecfg/theme.c
+15
-0
No files found.
programs/winecfg/En.rc
View file @
14f86f87
...
...
@@ -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
programs/winecfg/resource.h
View file @
14f86f87
...
...
@@ -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
programs/winecfg/theme.c
View file @
14f86f87
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment