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
adbb96fb
Commit
adbb96fb
authored
May 13, 2013
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Add controls codes defines for color choosing dialog.
parent
0867e377
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
20 deletions
+42
-20
cdlg.h
dlls/comdlg32/cdlg.h
+22
-0
colordlg.c
dlls/comdlg32/colordlg.c
+0
-0
comdlg32.rc
dlls/comdlg32/comdlg32.rc
+20
-20
No files found.
dlls/comdlg32/cdlg.h
View file @
adbb96fb
...
...
@@ -148,6 +148,28 @@ typedef struct {
#define IDS_COLOR_AQUA 1054
#define IDS_COLOR_WHITE 1055
/* Color dialog controls */
#define IDC_COLOR_LUMBAR 702
#define IDC_COLOR_EDIT_H 703
#define IDC_COLOR_EDIT_S 704
#define IDC_COLOR_EDIT_L 705
#define IDC_COLOR_EDIT_R 706
#define IDC_COLOR_EDIT_G 707
#define IDC_COLOR_EDIT_B 708
#define IDC_COLOR_RESULT 709
#define IDC_COLOR_GRAPH 710
#define IDC_COLOR_ADD 712
#define IDC_COLOR_RES 713
#define IDC_COLOR_DEFINE 719
#define IDC_COLOR_PREDEF 720
#define IDC_COLOR_USRDEF 721
#define IDC_COLOR_HL 723
#define IDC_COLOR_SL 724
#define IDC_COLOR_LL 725
#define IDC_COLOR_RL 726
#define IDC_COLOR_GL 727
#define IDC_COLOR_BL 728
#define IDS_FONT_SIZE 1200
#define IDS_SAVE_BUTTON 1201
#define IDS_SAVE_IN 1202
...
...
dlls/comdlg32/colordlg.c
View file @
adbb96fb
This diff is collapsed.
Click to expand it.
dlls/comdlg32/comdlg32.rc
View file @
adbb96fb
...
...
@@ -279,29 +279,29 @@ FONT 8, "MS Shell Dlg"
LTEXT "&Basic Colors:", stc1, 4, 4, 140, 10
LTEXT "&Custom Colors:", stc2, 4, 106, 140, 10
LTEXT "Color | Sol&id", stc3, 150, 151, 48, 10
LTEXT "&Red:",
726
/*1094*/,247,126,27,10
EDITTEXT
706
, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Green:",
727
/*1095*/,247,140,27,10
EDITTEXT
707
, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Blue:",
728
/*1096*/,247,154,27,10
EDITTEXT
708
, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Hue:" ,
723
/*1091*/,200,126,24,10
EDITTEXT
703
, 224,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "#msgctxt#Saturation#&Sat:"
,724
/*1092*/,200,140,24,10
EDITTEXT
704
, 224,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "#msgctxt#Luminance#&Lum:"
,725
/*1093*/,200,154,24,10
EDITTEXT
705
, 224,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
CONTROL "" ,
720,
"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
CONTROL "" ,
721,
"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
CONTROL "" ,
710,
"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116
CONTROL "" ,
702,
"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 278,4,8,116
CONTROL "" ,
709,
"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,124,40,26
LTEXT "&Red:",
IDC_COLOR_RL
/*1094*/,247,126,27,10
EDITTEXT
IDC_COLOR_EDIT_R
, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Green:",
IDC_COLOR_GL
/*1095*/,247,140,27,10
EDITTEXT
IDC_COLOR_EDIT_G
, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Blue:",
IDC_COLOR_BL
/*1096*/,247,154,27,10
EDITTEXT
IDC_COLOR_EDIT_B
, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Hue:" ,
IDC_COLOR_HL
/*1091*/,200,126,24,10
EDITTEXT
IDC_COLOR_EDIT_H
, 224,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "#msgctxt#Saturation#&Sat:"
, IDC_COLOR_SL
/*1092*/,200,140,24,10
EDITTEXT
IDC_COLOR_EDIT_S
, 224,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "#msgctxt#Luminance#&Lum:"
, IDC_COLOR_LL
/*1093*/,200,154,24,10
EDITTEXT
IDC_COLOR_EDIT_L
, 224,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
CONTROL "" ,
IDC_COLOR_PREDEF,
"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
CONTROL "" ,
IDC_COLOR_USRDEF,
"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
CONTROL "" ,
IDC_COLOR_GRAPH,
"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116
CONTROL "" ,
IDC_COLOR_LUMBAR,
"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 278,4,8,116
CONTROL "" ,
IDC_COLOR_RESULT,
"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,124,40,26
DEFPUSHBUTTON "OK", IDOK, 4, 167, 50, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Cancel", IDCANCEL, 58, 167, 50, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "Help", pshHelp,100,166, 44, 14
PUSHBUTTON "&Add to Custom Colors",
712
/*1024*/, 152, 167, 144, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Define Custom Colors >>",
719
/*1025*/, 4, 149, 142, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "Color | Sol&id",
713,
300,200,4,14 /* just a dummy */
PUSHBUTTON "&Add to Custom Colors",
IDC_COLOR_ADD
/*1024*/, 152, 167, 144, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Define Custom Colors >>",
IDC_COLOR_DEFINE
/*1025*/, 4, 149, 142, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "Color | Sol&id",
IDC_COLOR_RES,
300,200,4,14 /* just a dummy */
}
...
...
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