Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
38d5130b
Commit
38d5130b
authored
Nov 18, 2006
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Nov 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecfg: Add ability to change colors and non-client sizes.
parent
96aee365
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
371 additions
and
4 deletions
+371
-4
Bg.rc
programs/winecfg/Bg.rc
+8
-0
De.rc
programs/winecfg/De.rc
+8
-0
En.rc
programs/winecfg/En.rc
+36
-0
Es.rc
programs/winecfg/Es.rc
+8
-0
Fi.rc
programs/winecfg/Fi.rc
+8
-0
Fr.rc
programs/winecfg/Fr.rc
+8
-0
Hu.rc
programs/winecfg/Hu.rc
+8
-0
Ja.rc
programs/winecfg/Ja.rc
+8
-0
Ko.rc
programs/winecfg/Ko.rc
+8
-0
Nl.rc
programs/winecfg/Nl.rc
+8
-0
No.rc
programs/winecfg/No.rc
+8
-0
Ru.rc
programs/winecfg/Ru.rc
+28
-0
Tr.rc
programs/winecfg/Tr.rc
+8
-0
resource.h
programs/winecfg/resource.h
+24
-0
theme.c
programs/winecfg/theme.c
+195
-4
No files found.
programs/winecfg/Bg.rc
View file @
38d5130b
...
...
@@ -187,6 +187,14 @@ BEGIN
COMBOBOX IDC_THEME_COLORCOMBO,15,48,112,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT ":",IDC_THEME_SIZETEXT,135,40,110,8
COMBOBOX IDC_THEME_SIZECOMBO,135,48,110,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Item:",IDC_STATIC,15,64,112,8
COMBOBOX IDC_SYSPARAM_COMBO,15,74,112,120,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Color:",IDC_SYSPARAM_COLOR_TEXT,135,64,25,8,WS_DISABLED
PUSHBUTTON "",IDC_SYSPARAM_COLOR,135,74,25,13,WS_DISABLED | BS_OWNERDRAW
LTEXT "Size:",IDC_SYSPARAM_SIZE_TEXT,166,64,30,8,WS_DISABLED
EDITTEXT IDC_SYSPARAM_SIZE,166,74,23,13,ES_AUTOHSCROLL | WS_TABSTOP | WS_DISABLED
CONTROL "",IDC_SYSPARAM_SIZE_UD,UPDOWN_CLASS,UDS_SETBUDDYINT | WS_DISABLED,187,74,15,13
PUSHBUTTON "Font",IDC_SYSPARAM_FONT,208,74,37,13,WS_DISABLED
GROUPBOX " ",IDC_STATIC,8,114,244,100
CONTROL "Listview",IDC_LIST_SFPATHS,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,126,230,64
...
...
programs/winecfg/De.rc
View file @
38d5130b
...
...
@@ -185,6 +185,14 @@ BEGIN
COMBOBOX IDC_THEME_COLORCOMBO,15,48,112,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Gre:",IDC_THEME_SIZETEXT,135,40,110,8
COMBOBOX IDC_THEME_SIZECOMBO,135,48,110,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Item:",IDC_STATIC,15,64,112,8
COMBOBOX IDC_SYSPARAM_COMBO,15,74,112,120,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Color:",IDC_SYSPARAM_COLOR_TEXT,135,64,25,8,WS_DISABLED
PUSHBUTTON "",IDC_SYSPARAM_COLOR,135,74,25,13,WS_DISABLED | BS_OWNERDRAW
LTEXT "Size:",IDC_SYSPARAM_SIZE_TEXT,166,64,30,8,WS_DISABLED
EDITTEXT IDC_SYSPARAM_SIZE,166,74,23,13,ES_AUTOHSCROLL | WS_TABSTOP | WS_DISABLED
CONTROL "",IDC_SYSPARAM_SIZE_UD,UPDOWN_CLASS,UDS_SETBUDDYINT | WS_DISABLED,187,74,15,13
PUSHBUTTON "Font",IDC_SYSPARAM_FONT,208,74,37,13,WS_DISABLED
GROUPBOX " Shell-Ordner ",IDC_STATIC,8,114,244,100
CONTROL "Listview",IDC_LIST_SFPATHS,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,126,230,64
...
...
programs/winecfg/En.rc
View file @
38d5130b
...
...
@@ -186,6 +186,14 @@ BEGIN
COMBOBOX IDC_THEME_COLORCOMBO,15,48,112,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Size:",IDC_THEME_SIZETEXT,135,40,110,8
COMBOBOX IDC_THEME_SIZECOMBO,135,48,110,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Item:",IDC_STATIC,15,64,112,8
COMBOBOX IDC_SYSPARAM_COMBO,15,74,112,120,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Color:",IDC_SYSPARAM_COLOR_TEXT,135,64,25,8,WS_DISABLED
PUSHBUTTON "",IDC_SYSPARAM_COLOR,135,74,25,13,WS_DISABLED | BS_OWNERDRAW
LTEXT "Size:",IDC_SYSPARAM_SIZE_TEXT,166,64,30,8,WS_DISABLED
EDITTEXT IDC_SYSPARAM_SIZE,166,74,23,13,ES_AUTOHSCROLL | WS_TABSTOP | WS_DISABLED
CONTROL "",IDC_SYSPARAM_SIZE_UD,UPDOWN_CLASS,UDS_SETBUDDYINT | WS_DISABLED,187,74,15,13
PUSHBUTTON "Font",IDC_SYSPARAM_FONT,208,74,37,13,WS_DISABLED
GROUPBOX " Shell Folder ",IDC_STATIC,8,114,244,100
CONTROL "Listview",IDC_LIST_SFPATHS,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,126,230,64
...
...
@@ -280,6 +288,26 @@ BEGIN
IDS_WARNING "Warning"
END
STRINGTABLE DISCARDABLE
BEGIN
IDC_SYSPARAMS_BUTTON "Controls Background"
IDC_SYSPARAMS_BUTTON_TEXT "Controls Text"
IDC_SYSPARAMS_DESKTOP "Desktop"
IDC_SYSPARAMS_MENU "Menu Background"
IDC_SYSPARAMS_MENU_TEXT "Menu Text"
IDC_SYSPARAMS_SCROLLBAR "Scrollbar"
IDC_SYSPARAMS_SELECTION "Selection Background"
IDC_SYSPARAMS_SELECTION_TEXT "Selection Text"
IDC_SYSPARAMS_TOOLTIP "ToolTip Background"
IDC_SYSPARAMS_TOOLTIP_TEXT "ToolTip Text"
IDC_SYSPARAMS_WINDOW "Window Background"
IDC_SYSPARAMS_WINDOW_TEXT "Window Text"
IDC_SYSPARAMS_ACTIVE_TITLE "Active Title Bar"
IDC_SYSPARAMS_ACTIVE_TITLE_TEXT "Active Title Text"
IDC_SYSPARAMS_INACTIVE_TITLE "Inactive Title Bar"
IDC_SYSPARAMS_INACTIVE_TITLE_TEXT "Inactive Title Text"
END
/****************************************************************/
/* English neutral resources
/****************************************************************/
...
...
@@ -326,6 +354,14 @@ BEGIN
COMBOBOX IDC_THEME_COLORCOMBO,15,48,112,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Size:",IDC_THEME_SIZETEXT,135,40,110,8
COMBOBOX IDC_THEME_SIZECOMBO,135,48,110,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Item:",IDC_STATIC,15,64,112,8
COMBOBOX IDC_SYSPARAM_COMBO,15,74,112,120,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Color:",IDC_SYSPARAM_COLOR_TEXT,135,64,25,8,WS_DISABLED
PUSHBUTTON "",IDC_SYSPARAM_COLOR,135,74,25,13,WS_DISABLED | BS_OWNERDRAW
LTEXT "Size:",IDC_SYSPARAM_SIZE_TEXT,166,64,30,8,WS_DISABLED
EDITTEXT IDC_SYSPARAM_SIZE,166,74,23,13,ES_AUTOHSCROLL | WS_TABSTOP | WS_DISABLED
CONTROL "",IDC_SYSPARAM_SIZE_UD,UPDOWN_CLASS,UDS_SETBUDDYINT | WS_DISABLED,187,74,15,13
PUSHBUTTON "Font",IDC_SYSPARAM_FONT,208,74,37,13,WS_DISABLED
GROUPBOX " Shell Folder ",IDC_STATIC,8,114,244,100
CONTROL "Listview",IDC_LIST_SFPATHS,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,126,230,64
...
...
programs/winecfg/Es.rc
View file @
38d5130b
...
...
@@ -181,6 +181,14 @@ BEGIN
COMBOBOX IDC_THEME_COLORCOMBO,15,48,112,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Tamao:",IDC_THEME_SIZETEXT,135,40,110,8
COMBOBOX IDC_THEME_SIZECOMBO,135,48,110,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Item:",IDC_STATIC,15,64,112,8
COMBOBOX IDC_SYSPARAM_COMBO,15,74,112,120,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Color:",IDC_SYSPARAM_COLOR_TEXT,135,64,25,8,WS_DISABLED
PUSHBUTTON "",IDC_SYSPARAM_COLOR,135,74,25,13,WS_DISABLED | BS_OWNERDRAW
LTEXT "Size:",IDC_SYSPARAM_SIZE_TEXT,166,64,30,8,WS_DISABLED
EDITTEXT IDC_SYSPARAM_SIZE,166,74,23,13,ES_AUTOHSCROLL | WS_TABSTOP | WS_DISABLED
CONTROL "",IDC_SYSPARAM_SIZE_UD,UPDOWN_CLASS,UDS_SETBUDDYINT | WS_DISABLED,187,74,15,13
PUSHBUTTON "Font",IDC_SYSPARAM_FONT,208,74,37,13,WS_DISABLED
GROUPBOX " Shell Folder ",IDC_STATIC,8,114,244,100
CONTROL "Listview",IDC_LIST_SFPATHS,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,126,230,64
...
...
programs/winecfg/Fi.rc
View file @
38d5130b
...
...
@@ -185,6 +185,14 @@ BEGIN
COMBOBOX IDC_THEME_COLORCOMBO,15,48,112,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Koko:",IDC_THEME_SIZETEXT,135,40,110,8
COMBOBOX IDC_THEME_SIZECOMBO,135,48,110,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Item:",IDC_STATIC,15,64,112,8
COMBOBOX IDC_SYSPARAM_COMBO,15,74,112,120,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Color:",IDC_SYSPARAM_COLOR_TEXT,135,64,25,8,WS_DISABLED
PUSHBUTTON "",IDC_SYSPARAM_COLOR,135,74,25,13,WS_DISABLED | BS_OWNERDRAW
LTEXT "Size:",IDC_SYSPARAM_SIZE_TEXT,166,64,30,8,WS_DISABLED
EDITTEXT IDC_SYSPARAM_SIZE,166,74,23,13,ES_AUTOHSCROLL | WS_TABSTOP | WS_DISABLED
CONTROL "",IDC_SYSPARAM_SIZE_UD,UPDOWN_CLASS,UDS_SETBUDDYINT | WS_DISABLED,187,74,15,13
PUSHBUTTON "Font",IDC_SYSPARAM_FONT,208,74,37,13,WS_DISABLED
GROUPBOX " Shell Folder ",IDC_STATIC,8,114,244,100
CONTROL "Listview",IDC_LIST_SFPATHS,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,126,230,64
...
...
programs/winecfg/Fr.rc
View file @
38d5130b
...
...
@@ -185,6 +185,14 @@ BEGIN
COMBOBOX IDC_THEME_COLORCOMBO,15,48,112,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Taille:",IDC_THEME_SIZETEXT,135,40,110,8
COMBOBOX IDC_THEME_SIZECOMBO,135,48,110,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Item:",IDC_STATIC,15,64,112,8
COMBOBOX IDC_SYSPARAM_COMBO,15,74,112,120,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Color:",IDC_SYSPARAM_COLOR_TEXT,135,64,25,8,WS_DISABLED
PUSHBUTTON "",IDC_SYSPARAM_COLOR,135,74,25,13,WS_DISABLED | BS_OWNERDRAW
LTEXT "Size:",IDC_SYSPARAM_SIZE_TEXT,166,64,30,8,WS_DISABLED
EDITTEXT IDC_SYSPARAM_SIZE,166,74,23,13,ES_AUTOHSCROLL | WS_TABSTOP | WS_DISABLED
CONTROL "",IDC_SYSPARAM_SIZE_UD,UPDOWN_CLASS,UDS_SETBUDDYINT | WS_DISABLED,187,74,15,13
PUSHBUTTON "Font",IDC_SYSPARAM_FONT,208,74,37,13,WS_DISABLED
GROUPBOX " Dossiers systme ",IDC_STATIC,8,114,244,100
CONTROL "Listview",IDC_LIST_SFPATHS,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,126,230,64
...
...
programs/winecfg/Hu.rc
View file @
38d5130b
...
...
@@ -181,6 +181,14 @@ BEGIN
COMBOBOX IDC_THEME_COLORCOMBO,15,48,112,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Mret:",IDC_THEME_SIZETEXT,135,40,110,8
COMBOBOX IDC_THEME_SIZECOMBO,135,48,110,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Item:",IDC_STATIC,15,64,112,8
COMBOBOX IDC_SYSPARAM_COMBO,15,74,112,120,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Color:",IDC_SYSPARAM_COLOR_TEXT,135,64,25,8,WS_DISABLED
PUSHBUTTON "",IDC_SYSPARAM_COLOR,135,74,25,13,WS_DISABLED | BS_OWNERDRAW
LTEXT "Size:",IDC_SYSPARAM_SIZE_TEXT,166,64,30,8,WS_DISABLED
EDITTEXT IDC_SYSPARAM_SIZE,166,74,23,13,ES_AUTOHSCROLL | WS_TABSTOP | WS_DISABLED
CONTROL "",IDC_SYSPARAM_SIZE_UD,UPDOWN_CLASS,UDS_SETBUDDYINT | WS_DISABLED,187,74,15,13
PUSHBUTTON "Font",IDC_SYSPARAM_FONT,208,74,37,13,WS_DISABLED
GROUPBOX " Rendszermappa ",IDC_STATIC,8,114,244,100
CONTROL "Listview",IDC_LIST_SFPATHS,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,126,230,64
...
...
programs/winecfg/Ja.rc
View file @
38d5130b
...
...
@@ -180,6 +180,14 @@ BEGIN
COMBOBOX IDC_THEME_COLORCOMBO,15,48,112,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "サイズ:",IDC_THEME_SIZETEXT,135,40,110,8
COMBOBOX IDC_THEME_SIZECOMBO,135,48,110,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Item:",IDC_STATIC,15,64,112,8
COMBOBOX IDC_SYSPARAM_COMBO,15,74,112,120,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Color:",IDC_SYSPARAM_COLOR_TEXT,135,64,25,8,WS_DISABLED
PUSHBUTTON "",IDC_SYSPARAM_COLOR,135,74,25,13,WS_DISABLED | BS_OWNERDRAW
LTEXT "Size:",IDC_SYSPARAM_SIZE_TEXT,166,64,30,8,WS_DISABLED
EDITTEXT IDC_SYSPARAM_SIZE,166,74,23,13,ES_AUTOHSCROLL | WS_TABSTOP | WS_DISABLED
CONTROL "",IDC_SYSPARAM_SIZE_UD,UPDOWN_CLASS,UDS_SETBUDDYINT | WS_DISABLED,187,74,15,13
PUSHBUTTON "Font",IDC_SYSPARAM_FONT,208,74,37,13,WS_DISABLED
GROUPBOX " Shell Folder ",IDC_STATIC,8,114,244,100
CONTROL "Listview",IDC_LIST_SFPATHS,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,126,230,64
...
...
programs/winecfg/Ko.rc
View file @
38d5130b
...
...
@@ -188,6 +188,14 @@ BEGIN
COMBOBOX IDC_THEME_COLORCOMBO,15,48,112,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "크기:",IDC_THEME_SIZETEXT,135,40,110,8
COMBOBOX IDC_THEME_SIZECOMBO,135,48,110,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Item:",IDC_STATIC,15,64,112,8
COMBOBOX IDC_SYSPARAM_COMBO,15,74,112,120,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Color:",IDC_SYSPARAM_COLOR_TEXT,135,64,25,8,WS_DISABLED
PUSHBUTTON "",IDC_SYSPARAM_COLOR,135,74,25,13,WS_DISABLED | BS_OWNERDRAW
LTEXT "Size:",IDC_SYSPARAM_SIZE_TEXT,166,64,30,8,WS_DISABLED
EDITTEXT IDC_SYSPARAM_SIZE,166,74,23,13,ES_AUTOHSCROLL | WS_TABSTOP | WS_DISABLED
CONTROL "",IDC_SYSPARAM_SIZE_UD,UPDOWN_CLASS,UDS_SETBUDDYINT | WS_DISABLED,187,74,15,13
PUSHBUTTON "Font",IDC_SYSPARAM_FONT,208,74,37,13,WS_DISABLED
GROUPBOX " 쉘 폴더 ",IDC_STATIC,8,114,244,100
CONTROL "Listview",IDC_LIST_SFPATHS,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,126,230,64
...
...
programs/winecfg/Nl.rc
View file @
38d5130b
...
...
@@ -186,6 +186,14 @@ BEGIN
COMBOBOX IDC_THEME_COLORCOMBO,15,48,112,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Tekstgrootte:",IDC_THEME_SIZETEXT,135,40,110,8
COMBOBOX IDC_THEME_SIZECOMBO,135,48,110,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Item:",IDC_STATIC,15,64,112,8
COMBOBOX IDC_SYSPARAM_COMBO,15,74,112,120,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Color:",IDC_SYSPARAM_COLOR_TEXT,135,64,25,8,WS_DISABLED
PUSHBUTTON "",IDC_SYSPARAM_COLOR,135,74,25,13,WS_DISABLED | BS_OWNERDRAW
LTEXT "Size:",IDC_SYSPARAM_SIZE_TEXT,166,64,30,8,WS_DISABLED
EDITTEXT IDC_SYSPARAM_SIZE,166,74,23,13,ES_AUTOHSCROLL | WS_TABSTOP | WS_DISABLED
CONTROL "",IDC_SYSPARAM_SIZE_UD,UPDOWN_CLASS,UDS_SETBUDDYINT | WS_DISABLED,187,74,15,13
PUSHBUTTON "Font",IDC_SYSPARAM_FONT,208,74,37,13,WS_DISABLED
GROUPBOX " Shell Folder ",IDC_STATIC,8,114,244,100 /* FIXME */
CONTROL "Listview",IDC_LIST_SFPATHS,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,126,230,64
...
...
programs/winecfg/No.rc
View file @
38d5130b
...
...
@@ -184,6 +184,14 @@ BEGIN
COMBOBOX IDC_THEME_COLORCOMBO,15,48,112,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Strrelse:",IDC_THEME_SIZETEXT,135,40,110,8
COMBOBOX IDC_THEME_SIZECOMBO,135,48,110,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Item:",IDC_STATIC,15,64,112,8
COMBOBOX IDC_SYSPARAM_COMBO,15,74,112,120,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Color:",IDC_SYSPARAM_COLOR_TEXT,135,64,25,8,WS_DISABLED
PUSHBUTTON "",IDC_SYSPARAM_COLOR,135,74,25,13,WS_DISABLED | BS_OWNERDRAW
LTEXT "Size:",IDC_SYSPARAM_SIZE_TEXT,166,64,30,8,WS_DISABLED
EDITTEXT IDC_SYSPARAM_SIZE,166,74,23,13,ES_AUTOHSCROLL | WS_TABSTOP | WS_DISABLED
CONTROL "",IDC_SYSPARAM_SIZE_UD,UPDOWN_CLASS,UDS_SETBUDDYINT | WS_DISABLED,187,74,15,13
PUSHBUTTON "Font",IDC_SYSPARAM_FONT,208,74,37,13,WS_DISABLED
GROUPBOX " Skallkatalog ",IDC_STATIC,8,114,244,100
CONTROL "Listview",IDC_LIST_SFPATHS,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,126,230,64
...
...
programs/winecfg/Ru.rc
View file @
38d5130b
...
...
@@ -187,6 +187,14 @@ BEGIN
COMBOBOX IDC_THEME_COLORCOMBO,15,48,112,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT ":",IDC_THEME_SIZETEXT,135,40,110,8
COMBOBOX IDC_THEME_SIZECOMBO,135,48,110,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT ":",IDC_STATIC,15,64,112,8
COMBOBOX IDC_SYSPARAM_COMBO,15,74,112,120,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT ":",IDC_SYSPARAM_COLOR_TEXT,135,64,25,8,WS_DISABLED
PUSHBUTTON "",IDC_SYSPARAM_COLOR,135,74,25,13,WS_DISABLED | BS_OWNERDRAW
LTEXT ":",IDC_SYSPARAM_SIZE_TEXT,166,64,30,8,WS_DISABLED
EDITTEXT IDC_SYSPARAM_SIZE,166,74,23,13,ES_AUTOHSCROLL | WS_TABSTOP | WS_DISABLED
CONTROL "",IDC_SYSPARAM_SIZE_UD,UPDOWN_CLASS,UDS_SETBUDDYINT | WS_DISABLED,187,74,15,13
PUSHBUTTON "",IDC_SYSPARAM_FONT,208,74,37,13,WS_DISABLED
GROUPBOX " ",IDC_STATIC,8,114,244,100
CONTROL "Listview",IDC_LIST_SFPATHS,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,126,230,64
...
...
@@ -279,3 +287,23 @@ BEGIN
IDS_UNAVAILABLE_DRIVER ", , !\n\n \"%s\" ?"
IDS_WARNING ""
END
STRINGTABLE DISCARDABLE
BEGIN
IDC_SYSPARAMS_BUTTON " - "
IDC_SYSPARAMS_BUTTON_TEXT " - "
IDC_SYSPARAMS_DESKTOP ""
IDC_SYSPARAMS_MENU " - "
IDC_SYSPARAMS_MENU_TEXT " - "
IDC_SYSPARAMS_SCROLLBAR " "
IDC_SYSPARAMS_SELECTION " - "
IDC_SYSPARAMS_SELECTION_TEXT " - "
IDC_SYSPARAMS_TOOLTIP " - "
IDC_SYSPARAMS_TOOLTIP_TEXT " - "
IDC_SYSPARAMS_WINDOW " - "
IDC_SYSPARAMS_WINDOW_TEXT " - "
IDC_SYSPARAMS_ACTIVE_TITLE " "
IDC_SYSPARAMS_ACTIVE_TITLE_TEXT " - "
IDC_SYSPARAMS_INACTIVE_TITLE " "
IDC_SYSPARAMS_INACTIVE_TITLE_TEXT " - "
END
programs/winecfg/Tr.rc
View file @
38d5130b
...
...
@@ -184,6 +184,14 @@ BEGIN
COMBOBOX IDC_THEME_COLORCOMBO,15,48,112,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Boyut:",IDC_THEME_SIZETEXT,135,40,110,8
COMBOBOX IDC_THEME_SIZECOMBO,135,48,110,14,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Item:",IDC_STATIC,15,64,112,8
COMBOBOX IDC_SYSPARAM_COMBO,15,74,112,120,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP | CBS_SORT
LTEXT "Color:",IDC_SYSPARAM_COLOR_TEXT,135,64,25,8,WS_DISABLED
PUSHBUTTON "",IDC_SYSPARAM_COLOR,135,74,25,13,WS_DISABLED | BS_OWNERDRAW
LTEXT "Size:",IDC_SYSPARAM_SIZE_TEXT,166,64,30,8,WS_DISABLED
EDITTEXT IDC_SYSPARAM_SIZE,166,74,23,13,ES_AUTOHSCROLL | WS_TABSTOP | WS_DISABLED
CONTROL "",IDC_SYSPARAM_SIZE_UD,UPDOWN_CLASS,UDS_SETBUDDYINT | WS_DISABLED,187,74,15,13
PUSHBUTTON "Font",IDC_SYSPARAM_FONT,208,74,37,13,WS_DISABLED
GROUPBOX " zel Klasrler ",IDC_STATIC,8,114,244,100
CONTROL "Listview",IDC_LIST_SFPATHS,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,126,230,64
...
...
programs/winecfg/resource.h
View file @
38d5130b
...
...
@@ -206,3 +206,27 @@
#define IDC_LINK_SFPATH 1408
#define IDC_EDIT_SFPATH 1409
#define IDC_BROWSE_SFPATH 1410
#define IDC_SYSPARAM_COMBO 1411
#define IDC_SYSPARAM_SIZE_TEXT 1412
#define IDC_SYSPARAM_SIZE 1413
#define IDC_SYSPARAM_SIZE_UD 1414
#define IDC_SYSPARAM_COLOR_TEXT 1415
#define IDC_SYSPARAM_COLOR 1416
#define IDC_SYSPARAM_FONT 1417
#define IDC_SYSPARAMS_BUTTON 8400
#define IDC_SYSPARAMS_BUTTON_TEXT 8401
#define IDC_SYSPARAMS_DESKTOP 8402
#define IDC_SYSPARAMS_MENU 8403
#define IDC_SYSPARAMS_MENU_TEXT 8404
#define IDC_SYSPARAMS_SCROLLBAR 8405
#define IDC_SYSPARAMS_SELECTION 8406
#define IDC_SYSPARAMS_SELECTION_TEXT 8407
#define IDC_SYSPARAMS_TOOLTIP 8408
#define IDC_SYSPARAMS_TOOLTIP_TEXT 8409
#define IDC_SYSPARAMS_WINDOW 8410
#define IDC_SYSPARAMS_WINDOW_TEXT 8411
#define IDC_SYSPARAMS_ACTIVE_TITLE 8412
#define IDC_SYSPARAMS_ACTIVE_TITLE_TEXT 8413
#define IDC_SYSPARAMS_INACTIVE_TITLE 8414
#define IDC_SYSPARAMS_INACTIVE_TITLE_TEXT 8415
programs/winecfg/theme.c
View file @
38d5130b
...
...
@@ -36,6 +36,7 @@
#include <shlobj.h>
#include <shlwapi.h>
#include <wine/debug.h>
#include <wine/unicode.h>
#include "resource.h"
#include "winecfg.h"
...
...
@@ -444,7 +445,10 @@ static void init_dialog (HWND dialog)
enable_size_and_color_controls
(
dialog
,
TRUE
);
}
theme_dirty
=
FALSE
;
SendDlgItemMessageW
(
dialog
,
IDC_SYSPARAM_SIZE_UD
,
UDM_SETBUDDY
,
(
WPARAM
)
GetDlgItem
(
dialog
,
IDC_SYSPARAM_SIZE
),
0
);
SendDlgItemMessageW
(
dialog
,
IDC_SYSPARAM_SIZE_UD
,
UDM_SETRANGE
,
0
,
MAKELONG
(
100
,
8
));
updating_ui
=
FALSE
;
}
...
...
@@ -815,6 +819,147 @@ static void apply_shell_folder_changes() {
}
}
static
struct
{
int
sm_idx
,
color_idx
;
const
char
*
color_reg
;
int
size
;
COLORREF
color
;
}
metrics
[]
=
{
{
-
1
,
COLOR_BTNFACE
,
"ButtonFace"
},
/* IDC_SYSPARAMS_BUTTON */
{
-
1
,
COLOR_BTNTEXT
,
"ButtonText"
},
/* IDC_SYSPARAMS_BUTTON_TEXT */
{
-
1
,
COLOR_BACKGROUND
,
"Background"
},
/* IDC_SYSPARAMS_DESKTOP */
{
SM_CXMENUSIZE
,
COLOR_MENU
,
"Menu"
},
/* IDC_SYSPARAMS_MENU */
{
-
1
,
COLOR_MENUTEXT
,
"MenuText"
},
/* IDC_SYSPARAMS_MENU_TEXT */
{
SM_CXVSCROLL
,
COLOR_SCROLLBAR
,
"Scrollbar"
},
/* IDC_SYSPARAMS_SCROLLBAR */
{
-
1
,
COLOR_HIGHLIGHT
,
"Hilight"
},
/* IDC_SYSPARAMS_SELECTION */
{
-
1
,
COLOR_HIGHLIGHTTEXT
,
"HilightText"
},
/* IDC_SYSPARAMS_SELECTION_TEXT */
{
-
1
,
COLOR_INFOBK
,
"InfoWindow"
},
/* IDC_SYSPARAMS_TOOLTIP */
{
-
1
,
COLOR_INFOTEXT
,
"InfoText"
},
/* IDC_SYSPARAMS_TOOLTIP_TEXT */
{
-
1
,
COLOR_WINDOW
,
"Window"
},
/* IDC_SYSPARAMS_WINDOW */
{
-
1
,
COLOR_WINDOWTEXT
,
"WindowText"
},
/* IDC_SYSPARAMS_WINDOW_TEXT */
{
SM_CXSIZE
,
COLOR_ACTIVECAPTION
,
"ActiveTitle"
},
/* IDC_SYSPARAMS_ACTIVE_TITLE */
{
-
1
,
COLOR_CAPTIONTEXT
,
"TitleText"
},
/* IDC_SYSPARAMS_ACTIVE_TITLE_TEXT */
{
-
1
,
COLOR_INACTIVECAPTION
,
"InactiveTitle"
},
/* IDC_SYSPARAMS_INACTIVE_TITLE */
{
-
1
,
COLOR_INACTIVECAPTIONTEXT
,
"InactiveTitleText"
}
/* IDC_SYSPARAMS_INACTIVE_TITLE_TEXT */
};
static
void
save_sys_color
(
int
idx
,
COLORREF
clr
)
{
char
buffer
[
13
];
sprintf
(
buffer
,
"%d %d %d"
,
GetRValue
(
clr
),
GetGValue
(
clr
),
GetBValue
(
clr
));
set_reg_key
(
HKEY_CURRENT_USER
,
"Control Panel
\\
Colors"
,
metrics
[
idx
].
color_reg
,
buffer
);
}
static
void
read_sysparams
(
HWND
hDlg
)
{
WCHAR
buffer
[
256
];
HWND
list
=
GetDlgItem
(
hDlg
,
IDC_SYSPARAM_COMBO
);
int
i
,
idx
;
for
(
i
=
0
;
i
<
sizeof
(
metrics
)
/
sizeof
(
metrics
[
0
]);
i
++
)
{
LoadStringW
(
GetModuleHandle
(
NULL
),
i
+
IDC_SYSPARAMS_BUTTON
,
buffer
,
sizeof
(
buffer
)
/
sizeof
(
buffer
[
0
]));
idx
=
SendMessageW
(
list
,
CB_ADDSTRING
,
0
,
(
LPARAM
)
buffer
);
if
(
idx
!=
CB_ERR
)
SendMessageW
(
list
,
CB_SETITEMDATA
,
idx
,
i
);
if
(
metrics
[
i
].
sm_idx
!=
-
1
)
metrics
[
i
].
size
=
GetSystemMetrics
(
metrics
[
i
].
sm_idx
);
if
(
metrics
[
i
].
color_idx
!=
-
1
)
metrics
[
i
].
color
=
GetSysColor
(
metrics
[
i
].
color_idx
);
}
}
static
void
apply_sysparams
(
void
)
{
NONCLIENTMETRICSW
nonclient_metrics
;
int
i
,
cnt
=
0
;
int
colors_idx
[
sizeof
(
metrics
)
/
sizeof
(
metrics
[
0
])];
COLORREF
colors
[
sizeof
(
metrics
)
/
sizeof
(
metrics
[
0
])];
nonclient_metrics
.
cbSize
=
sizeof
(
nonclient_metrics
);
SystemParametersInfoW
(
SPI_GETNONCLIENTMETRICS
,
sizeof
(
nonclient_metrics
),
&
nonclient_metrics
,
0
);
nonclient_metrics
.
iMenuWidth
=
nonclient_metrics
.
iMenuHeight
=
metrics
[
IDC_SYSPARAMS_MENU
-
IDC_SYSPARAMS_BUTTON
].
size
;
nonclient_metrics
.
iCaptionWidth
=
nonclient_metrics
.
iCaptionHeight
=
metrics
[
IDC_SYSPARAMS_ACTIVE_TITLE
-
IDC_SYSPARAMS_BUTTON
].
size
;
nonclient_metrics
.
iScrollWidth
=
nonclient_metrics
.
iScrollHeight
=
metrics
[
IDC_SYSPARAMS_SCROLLBAR
-
IDC_SYSPARAMS_BUTTON
].
size
;
SystemParametersInfoW
(
SPI_SETNONCLIENTMETRICS
,
sizeof
(
nonclient_metrics
),
&
nonclient_metrics
,
SPIF_UPDATEINIFILE
|
SPIF_SENDCHANGE
);
for
(
i
=
0
;
i
<
sizeof
(
metrics
)
/
sizeof
(
metrics
[
0
]);
i
++
)
if
(
metrics
[
i
].
color_idx
!=
-
1
)
{
colors_idx
[
cnt
]
=
metrics
[
i
].
color_idx
;
colors
[
cnt
++
]
=
metrics
[
i
].
color
;
}
SetSysColors
(
cnt
,
colors_idx
,
colors
);
}
static
void
on_sysparam_change
(
HWND
hDlg
)
{
int
index
=
SendDlgItemMessageW
(
hDlg
,
IDC_SYSPARAM_COMBO
,
CB_GETCURSEL
,
0
,
0
);
index
=
SendDlgItemMessageW
(
hDlg
,
IDC_SYSPARAM_COMBO
,
CB_GETITEMDATA
,
index
,
0
);
updating_ui
=
TRUE
;
EnableWindow
(
GetDlgItem
(
hDlg
,
IDC_SYSPARAM_COLOR_TEXT
),
metrics
[
index
].
color_idx
!=
-
1
);
EnableWindow
(
GetDlgItem
(
hDlg
,
IDC_SYSPARAM_COLOR
),
metrics
[
index
].
color_idx
!=
-
1
);
InvalidateRect
(
GetDlgItem
(
hDlg
,
IDC_SYSPARAM_COLOR
),
NULL
,
TRUE
);
EnableWindow
(
GetDlgItem
(
hDlg
,
IDC_SYSPARAM_SIZE_TEXT
),
metrics
[
index
].
sm_idx
!=
-
1
);
EnableWindow
(
GetDlgItem
(
hDlg
,
IDC_SYSPARAM_SIZE
),
metrics
[
index
].
sm_idx
!=
-
1
);
EnableWindow
(
GetDlgItem
(
hDlg
,
IDC_SYSPARAM_SIZE_UD
),
metrics
[
index
].
sm_idx
!=
-
1
);
if
(
metrics
[
index
].
sm_idx
!=
-
1
)
SendDlgItemMessageW
(
hDlg
,
IDC_SYSPARAM_SIZE_UD
,
UDM_SETPOS
,
0
,
MAKELONG
(
metrics
[
index
].
size
,
0
));
else
set_text
(
hDlg
,
IDC_SYSPARAM_SIZE
,
""
);
updating_ui
=
FALSE
;
}
static
void
on_draw_item
(
HWND
hDlg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
static
HBRUSH
black_brush
=
0
;
LPDRAWITEMSTRUCT
draw_info
=
(
LPDRAWITEMSTRUCT
)
lParam
;
if
(
!
black_brush
)
black_brush
=
CreateSolidBrush
(
0
);
if
(
draw_info
->
CtlID
==
IDC_SYSPARAM_COLOR
)
{
UINT
state
=
DFCS_ADJUSTRECT
|
DFCS_BUTTONPUSH
;
if
(
draw_info
->
itemState
&
ODS_DISABLED
)
state
|=
DFCS_INACTIVE
;
else
state
|=
draw_info
->
itemState
&
ODS_SELECTED
?
DFCS_PUSHED
:
0
;
DrawFrameControl
(
draw_info
->
hDC
,
&
draw_info
->
rcItem
,
DFC_BUTTON
,
state
);
if
(
!
(
draw_info
->
itemState
&
ODS_DISABLED
))
{
HBRUSH
brush
;
int
index
=
SendDlgItemMessageW
(
hDlg
,
IDC_SYSPARAM_COMBO
,
CB_GETCURSEL
,
0
,
0
);
index
=
SendDlgItemMessageW
(
hDlg
,
IDC_SYSPARAM_COMBO
,
CB_GETITEMDATA
,
index
,
0
);
brush
=
CreateSolidBrush
(
metrics
[
index
].
color
);
InflateRect
(
&
draw_info
->
rcItem
,
-
1
,
-
1
);
FrameRect
(
draw_info
->
hDC
,
&
draw_info
->
rcItem
,
black_brush
);
InflateRect
(
&
draw_info
->
rcItem
,
-
1
,
-
1
);
FillRect
(
draw_info
->
hDC
,
&
draw_info
->
rcItem
,
brush
);
DeleteObject
(
brush
);
}
}
}
INT_PTR
CALLBACK
ThemeDlgProc
(
HWND
hDlg
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
...
...
@@ -823,6 +968,7 @@ ThemeDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
read_shell_folder_link_targets
();
init_shell_folder_listview_headers
(
hDlg
);
update_shell_folder_listview
(
hDlg
);
read_sysparams
(
hDlg
);
break
;
case
WM_DESTROY
:
...
...
@@ -837,18 +983,34 @@ ThemeDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
switch
(
HIWORD
(
wParam
))
{
case
CBN_SELCHANGE
:
{
if
(
updating_ui
)
break
;
SendMessage
(
GetParent
(
hDlg
),
PSM_CHANGED
,
0
,
0
);
switch
(
LOWORD
(
wParam
))
{
case
IDC_THEME_THEMECOMBO
:
on_theme_changed
(
hDlg
);
break
;
case
IDC_THEME_COLORCOMBO
:
/* fall through */
case
IDC_THEME_SIZECOMBO
:
theme_dirty
=
TRUE
;
break
;
case
IDC_SYSPARAM_COMBO
:
on_sysparam_change
(
hDlg
);
return
FALSE
;
}
SendMessage
(
GetParent
(
hDlg
),
PSM_CHANGED
,
0
,
0
);
break
;
}
case
EN_CHANGE
:
{
if
(
LOWORD
(
wParam
)
==
IDC_EDIT_SFPATH
)
on_shell_folder_edit_changed
(
hDlg
);
if
(
updating_ui
)
break
;
switch
(
LOWORD
(
wParam
))
{
case
IDC_EDIT_SFPATH
:
on_shell_folder_edit_changed
(
hDlg
);
break
;
case
IDC_SYSPARAM_SIZE
:
{
char
*
text
=
get_text
(
hDlg
,
IDC_SYSPARAM_SIZE
);
int
index
=
SendDlgItemMessageW
(
hDlg
,
IDC_SYSPARAM_COMBO
,
CB_GETCURSEL
,
0
,
0
);
index
=
SendDlgItemMessageW
(
hDlg
,
IDC_SYSPARAM_COMBO
,
CB_GETITEMDATA
,
index
,
0
);
metrics
[
index
].
size
=
atoi
(
text
);
HeapFree
(
GetProcessHeap
(),
0
,
text
);
SendMessage
(
GetParent
(
hDlg
),
PSM_CHANGED
,
0
,
0
);
break
;
}
}
break
;
}
case
BN_CLICKED
:
...
...
@@ -879,6 +1041,30 @@ ThemeDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
SendMessage
(
GetParent
(
hDlg
),
PSM_CHANGED
,
0
,
0
);
}
break
;
case
IDC_SYSPARAM_COLOR
:
{
static
COLORREF
user_colors
[
16
];
CHOOSECOLORW
c_color
;
int
index
=
SendDlgItemMessageW
(
hDlg
,
IDC_SYSPARAM_COMBO
,
CB_GETCURSEL
,
0
,
0
);
index
=
SendDlgItemMessageW
(
hDlg
,
IDC_SYSPARAM_COMBO
,
CB_GETITEMDATA
,
index
,
0
);
memset
(
&
c_color
,
0
,
sizeof
(
c_color
));
c_color
.
lStructSize
=
sizeof
(
c_color
);
c_color
.
lpCustColors
=
user_colors
;
c_color
.
rgbResult
=
metrics
[
index
].
color
;
c_color
.
Flags
=
CC_ANYCOLOR
|
CC_RGBINIT
;
c_color
.
hwndOwner
=
hDlg
;
if
(
ChooseColorW
(
&
c_color
))
{
metrics
[
index
].
color
=
c_color
.
rgbResult
;
save_sys_color
(
index
,
metrics
[
index
].
color
);
InvalidateRect
(
GetDlgItem
(
hDlg
,
IDC_SYSPARAM_COLOR
),
NULL
,
TRUE
);
SendMessage
(
GetParent
(
hDlg
),
PSM_CHANGED
,
0
,
0
);
}
break
;
}
}
break
;
}
...
...
@@ -894,6 +1080,7 @@ ThemeDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
apply
();
apply_theme
(
hDlg
);
apply_shell_folder_changes
();
apply_sysparams
();
read_shell_folder_link_targets
();
update_shell_folder_listview
(
hDlg
);
SetWindowLongPtr
(
hDlg
,
DWLP_MSGRESULT
,
PSNRET_NOERROR
);
...
...
@@ -911,6 +1098,10 @@ ThemeDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
}
break
;
case
WM_DRAWITEM
:
on_draw_item
(
hDlg
,
wParam
,
lParam
);
break
;
default:
break
;
}
...
...
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