forked from evangreen/starryn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.rc
71 lines (55 loc) · 2.66 KB
/
config.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#include <windows.h>
#include "resource.h"
STRINGTABLE
BEGIN
IDS_DESCRIPTION, "Starry Night"
END
ID_ICON ICON DISCARDABLE "starryn.ico"
IDD_MAIN_WINDOW DIALOG 6, 18, UI_INITIAL_WIDTH, UI_INITIAL_HEIGHT
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "Starry Night Configuration"
FONT 8, "MS Sans Serif"
BEGIN
RTEXT "Building Height (percent): ", 0,
UI_BORDER, BUILDING_HEIGHT_OFFSET_Y, UI_DESCRIPTION_WIDTH,
UI_LINE_HEIGHT
RTEXT "Building Count: ", 0,
UI_BORDER, BUILDING_COUNT_OFFSET_Y, UI_DESCRIPTION_WIDTH,
UI_LINE_HEIGHT
RTEXT "Stars per Update: ", 0,
UI_BORDER, STARS_COUNT_OFFSET_Y, UI_DESCRIPTION_WIDTH,
UI_LINE_HEIGHT
RTEXT "Lights per Update: ", 0,
UI_BORDER, LIGHTS_COUNT_OFFSET_Y, UI_DESCRIPTION_WIDTH,
UI_LINE_HEIGHT
RTEXT "Flasher: ", 0,
UI_BORDER, FLASHER_OFFSET_Y, UI_DESCRIPTION_WIDTH,
UI_LINE_HEIGHT
CONTROL "", IDE_BUILDING_HEIGHT, "EDIT",
ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE |
WS_BORDER | WS_TABSTOP,
EDIT_BOX_OFFSET_X, BUILDING_HEIGHT_OFFSET_Y,
UI_SMALL_BOX_WIDTH, UI_LINE_HEIGHT
CONTROL "", IDE_BUILDING_COUNT, "EDIT",
ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP,
EDIT_BOX_OFFSET_X, BUILDING_COUNT_OFFSET_Y,
UI_SMALL_BOX_WIDTH, UI_LINE_HEIGHT
CONTROL "", IDE_STARS_COUNT, "EDIT",
ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP,
EDIT_BOX_OFFSET_X, STARS_COUNT_OFFSET_Y,
UI_SMALL_BOX_WIDTH, UI_LINE_HEIGHT
CONTROL "", IDE_LIGHTS_COUNT, "EDIT",
ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP,
EDIT_BOX_OFFSET_X, LIGHTS_COUNT_OFFSET_Y,
UI_SMALL_BOX_WIDTH, UI_LINE_HEIGHT
AUTOCHECKBOX "", IDC_FLASHER, EDIT_BOX_OFFSET_X, FLASHER_OFFSET_Y,
UI_SMALL_BOX_WIDTH, UI_LINE_HEIGHT
CONTROL "OK", IDC_OK, "BUTTON",
BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP,
OK_OFFSET_X, OK_CANCEL_OFFSET_Y, UI_BUTTON_WIDTH,
UI_LINE_HEIGHT
CONTROL "Cancel", IDC_CANCEL, "BUTTON",
WS_CHILD | WS_VISIBLE | WS_TABSTOP,
CANCEL_OFFSET_X, OK_CANCEL_OFFSET_Y, UI_BUTTON_WIDTH,
UI_LINE_HEIGHT
END