-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClockScreenSaver.rc
46 lines (38 loc) · 4.27 KB
/
ClockScreenSaver.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#include "resource.h"
#include "windows.h"
IDI_SCREENSAVER ICON "ClockScreenSaver.ico"
DLG_SCRNSAVECONFIGURE DIALOGEX 0, 0, 177, 170
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "ClockScreenSaver Settings"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
//RTEXT "Number of Stars:", IDC_STATIC, 15, 9, 56, 8
RTEXT "Font size:", IDC_STATIC, 7, 23, 64, 8
//CONTROL "", IDC_SLIDER_NUMOFSTARS, "msctls_trackbar32", TBS_BOTH | TBS_NOTICKS | WS_TABSTOP, 71, 8, 76, 12
CONTROL "", IDC_SLIDER_INTERVAL, "msctls_trackbar32", TBS_BOTH | TBS_NOTICKS | WS_TABSTOP, 71, 22, 76, 12
//CTEXT "Static", IDC_TEXT_NUMOFSTARS, 148, 9, 19, 8
CTEXT "Static", IDC_TEXT_INTERVAL, 148, 23, 19, 8
// Add a static control for the ComboBox title
RTEXT "Font:", IDC_STATIC_FONT, 15, 38, 50, 8
COMBOBOX IDC_COMBO_FONTNAME, 71, 36, 76, 100, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
// Added clock format picker
RTEXT "Clock Format:", IDC_STATIC_CLOCKFORMAT, 15, 54, 56, 8
COMBOBOX IDC_COMBO_CLOCKFORMAT, 71, 52, 76, 100, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
// Added color picker buttons
// Gradient Start Color
RTEXT "Gradient Start Color:", IDC_STATIC_GRADIENTSTARTCOLOR, 15, 70, 90, 8
PUSHBUTTON "", IDC_COLOR_GRADIENTSTARTCOLOR, 110, 68, 50, 14
// Gradient End Color
RTEXT "Gradient End Color:", IDC_STATIC_GRADIENTENDCOLOR, 15, 86, 90, 8
PUSHBUTTON "", IDC_COLOR_GRADIENTENDCOLOR, 110, 84, 50, 14
// Font Color
RTEXT "Font Color:", IDC_STATIC_FONTCOLOR, 15, 102, 90, 8
PUSHBUTTON "", IDC_COLOR_FONTCOLOR, 110, 100, 50, 14
DEFPUSHBUTTON "OK", IDOK, 23, 140, 48, 14 // Moved to the bottom
PUSHBUTTON "Cancel", IDCANCEL, 72, 140, 48, 14 // Moved to the bottom
PUSHBUTTON "Default...", IDC_BUTTON_DEFAULT, 120, 140, 48, 14 // Moved to the bottom
END
STRINGTABLE
BEGIN
IDS_APPNAME "ClockScreenSaver"
END