-
Notifications
You must be signed in to change notification settings - Fork 13
/
config_settings.cmake
188 lines (187 loc) · 7.66 KB
/
config_settings.cmake
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# Config setting keys
set(SETTING_DEFAULT_MENU "DefaultMenu")
set(SETTING_MAX_BUTTONS "MaxButtons")
set(SETTING_VSYNC "VSync")
set(SETTING_FPS_LIMIT "FPSLimit")
set(SETTING_BACKGROUND_MODE "Mode")
set(SETTING_BACKGROUND_COLOR "Color")
set(SETTING_BACKGROUND_IMAGE "Image")
set(SETTING_SLIDESHOW_DIRECTORY "SlideshowDirectory")
set(SETTING_SLIDESHOW_IMAGE_DURATION "SlideshowImageDuration")
set(SETTING_SLIDESHOW_TRANSITION_TIME "SlideshowTransitionTime")
set(SETTING_CHROMA_KEY_COLOR "ChromaKeyColor")
set(SETTING_BACKGROUND_OVERLAY "Overlay")
set(SETTING_BACKGROUND_OVERLAY_COLOR "OverlayColor")
set(SETTING_BACKGROUND_OVERLAY_OPACITY "OverlayOpacity")
set(SETTING_ICON_SIZE "IconSize")
set(SETTING_ICON_SPACING "IconSpacing")
set(SETTING_TITLES_ENABLED "Enabled")
set(SETTING_TITLE_FONT "Font")
set(SETTING_TITLE_FONT_SIZE "FontSize")
set(SETTING_TITLE_FONT_COLOR "Color")
set(SETTING_TITLE_SHADOWS "Shadows")
set(SETTING_TITLE_SHADOW_COLOR "ShadowColor")
set(SETTING_TITLE_OPACITY "Opacity")
set(SETTING_TITLE_OVERSIZE_MODE "OversizeMode")
set(SETTING_TITLE_PADDING "Padding")
set(SETTING_HIGHLIGHT_ENABLED "Enabled")
set(SETTING_HIGHLIGHT_FILL_COLOR "FillColor")
set(SETTING_HIGHLIGHT_FILL_OPACITY "FillOpacity")
set(SETTING_HIGHLIGHT_OUTLINE_SIZE "OutlineSize")
set(SETTING_HIGHLIGHT_OUTLINE_COLOR "OutlineColor")
set(SETTING_HIGHLIGHT_OUTLINE_OPACITY "OutlineOpacity")
set(SETTING_HIGHLIGHT_CORNER_RADIUS "CornerRadius")
set(SETTING_HIGHLIGHT_VPADDING "VPadding")
set(SETTING_HIGHLIGHT_HPADDING "HPadding")
set(SETTING_BUTTON_CENTERLINE "ButtonCenterline")
set(SETTING_SCROLL_INDICATORS "Enabled")
set(SETTING_SCROLL_INDICATOR_FILL_COLOR "FillColor")
set(SETTING_SCROLL_INDICATOR_OUTLINE_SIZE "OutlineSize")
set(SETTING_SCROLL_INDICATOR_OUTLINE_COLOR "OutlineColor")
set(SETTING_SCROLL_INDICATOR_OPACITY "Opacity")
set(SETTING_ON_LAUNCH "OnLaunch")
set(SETTING_RESET_ON_BACK "ResetOnBack")
set(SETTING_MOUSE_SELECT "MouseSelect")
set(SETTING_INHIBIT_OS_SCREENSAVER "InhibitOSScreensaver")
set(SETTING_STARTUP_CMD "StartupCmd")
set(SETTING_QUIT_CMD "QuitCmd")
set(SETTING_CLOCK_ENABLED "Enabled")
set(SETTING_CLOCK_SHOW_DATE "ShowDate")
set(SETTING_CLOCK_ALIGNMENT "Alignment")
set(SETTING_CLOCK_FONT "Font")
set(SETTING_CLOCK_FONT_COLOR "FontColor")
set(SETTING_CLOCK_SHADOWS "Shadows")
set(SETTING_CLOCK_SHADOW_COLOR "ShadowColor")
set(SETTING_CLOCK_OPACITY "Opacity")
set(SETTING_CLOCK_FONT_SIZE "FontSize")
set(SETTING_CLOCK_MARGIN "Margin")
set(SETTING_CLOCK_TIME_FORMAT "TimeFormat")
set(SETTING_CLOCK_DATE_FORMAT "DateFormat")
set(SETTING_CLOCK_INCLUDE_WEEKDAY "IncludeWeekday")
set(SETTING_SCREENSAVER_ENABLED "Enabled")
set(SETTING_SCREENSAVER_IDLE_TIME "IdleTime")
set(SETTING_SCREENSAVER_INTENSITY "Intensity")
set(SETTING_SCREENSAVER_PAUSE_SLIDESHOW "PauseSlideshow")
set(SETTING_GAMEPAD_ENABLED "Enabled")
set(SETTING_GAMEPAD_DEVICE "DeviceIndex")
set(SETTING_GAMEPAD_MAPPINGS_FILE "ControllerMappingsFile")
set(SETTING_GAMEPAD_LSTICK_XM "LStickX-")
set(SETTING_GAMEPAD_LSTICK_XP "LStickX+")
set(SETTING_GAMEPAD_LSTICK_YM "LStickY-")
set(SETTING_GAMEPAD_LSTICK_YP "LStickY+")
set(SETTING_GAMEPAD_RSTICK_XM "RStickX-")
set(SETTING_GAMEPAD_RSTICK_XP "RStickX+")
set(SETTING_GAMEPAD_RSTICK_YM "RStickY-")
set(SETTING_GAMEPAD_RSTICK_YP "RStickY+")
set(SETTING_GAMEPAD_LTRIGGER "LTrigger")
set(SETTING_GAMEPAD_RTRIGGER "RTrigger")
set(SETTING_GAMEPAD_BUTTON_A "ButtonA")
set(SETTING_GAMEPAD_BUTTON_B "ButtonB")
set(SETTING_GAMEPAD_BUTTON_X "ButtonX")
set(SETTING_GAMEPAD_BUTTON_Y "ButtonY")
set(SETTING_GAMEPAD_BUTTON_BACK "ButtonBack")
set(SETTING_GAMEPAD_BUTTON_GUIDE "ButtonGuide")
set(SETTING_GAMEPAD_BUTTON_START "ButtonStart")
set(SETTING_GAMEPAD_BUTTON_LEFT_STICK "ButtonLeftStick")
set(SETTING_GAMEPAD_BUTTON_RIGHT_STICK "ButtonRightStick")
set(SETTING_GAMEPAD_BUTTON_LEFT_SHOULDER "ButtonLeftShoulder")
set(SETTING_GAMEPAD_BUTTON_RIGHT_SHOULDER "ButtonRightShoulder")
set(SETTING_GAMEPAD_BUTTON_DPAD_UP "ButtonDPadUp")
set(SETTING_GAMEPAD_BUTTON_DPAD_DOWN "ButtonDPadDown")
set(SETTING_GAMEPAD_BUTTON_DPAD_LEFT "ButtonDPadLeft")
set(SETTING_GAMEPAD_BUTTON_DPAD_RIGHT "ButtonDPadRight")
# Default settings
set(DEFAULT_MENU "Main")
set(DEFAULT_MAX_BUTTONS 4)
set(DEFAULT_VSYNC "true")
set(DEFAULT_BACKGROUND_MODE "Color")
set(DEFAULT_BACKGROUND_COLOR_R "00")
set(DEFAULT_BACKGROUND_COLOR_G "00")
set(DEFAULT_BACKGROUND_COLOR_B "00")
set(DEFAULT_SLIDESHOW_IMAGE_DURATION "30000")
set(DEFAULT_SLIDESHOW_IMAGE_DURATION_CONFIG "30")
set(DEFAULT_SLIDESHOW_TRANSITION_TIME "1500")
set(DEFAULT_SLIDESHOW_TRANSITION_TIME_CONFIG "1.5")
set(DEFAULT_CHROMA_KEY_COLOR_R "01")
set(DEFAULT_CHROMA_KEY_COLOR_G "01")
set(DEFAULT_CHROMA_KEY_COLOR_B "01")
set(DEFAULT_CHROMA_KEY_COLOR_A "FF")
set(DEFAULT_BACKGROUND_OVERLAY "false")
set(DEFAULT_BACKGROUND_OVERLAY_COLOR_R "00")
set(DEFAULT_BACKGROUND_OVERLAY_COLOR_G "00")
set(DEFAULT_BACKGROUND_OVERLAY_COLOR_B "00")
set(DEFAULT_BACKGROUND_OVERLAY_COLOR_A "7F")
set(DEFAULT_BACKGROUND_OVERLAY_OPACITY "50%")
set(DEFAULT_ICON_SIZE 256)
set(DEFAULT_ICON_SPACING "5%")
set(DEFAULT_FONT "OpenSans-Regular.ttf")
set(DEFAULT_FONT_SIZE 36)
set(DEFAULT_TITLES_ENABLED "true")
set(DEFAULT_TITLE_FONT_COLOR_R "FF")
set(DEFAULT_TITLE_FONT_COLOR_G "FF")
set(DEFAULT_TITLE_FONT_COLOR_B "FF")
set(DEFAULT_TITLE_FONT_COLOR_A "FF")
set(DEFAULT_TITLE_SHADOWS "false")
set(DEFAULT_TITLE_SHADOW_COLOR_R "00")
set(DEFAULT_TITLE_SHADOW_COLOR_G "00")
set(DEFAULT_TITLE_SHADOW_COLOR_B "00")
set(DEFAULT_TITLE_SHADOW_COLOR_A "FF")
set(DEFAULT_TITLE_OPACITY "100%")
set(DEFAULT_TITLE_OVERSIZE_MODE "Shrink")
set(DEFAULT_TITLE_PADDING 20)
set(DEFAULT_HIGHLIGHT_ENABLED "true")
set(DEFAULT_HIGHLIGHT_FILL_COLOR_R "FF")
set(DEFAULT_HIGHLIGHT_FILL_COLOR_G "FF")
set(DEFAULT_HIGHLIGHT_FILL_COLOR_B "FF")
set(DEFAULT_HIGHLIGHT_FILL_COLOR_A "40")
set(DEFAULT_HIGHLIGHT_FILL_OPACITY "25%")
set(DEFAULT_HIGHLIGHT_OUTLINE_SIZE 0)
set(DEFAULT_HIGHLIGHT_OUTLINE_COLOR_R "00")
set(DEFAULT_HIGHLIGHT_OUTLINE_COLOR_G "00")
set(DEFAULT_HIGHLIGHT_OUTLINE_COLOR_B "FF")
set(DEFAULT_HIGHLIGHT_OUTLINE_COLOR_A "FF")
set(DEFAULT_HIGHLIGHT_OUTLINE_OPACITY "100%")
set(DEFAULT_HIGHLIGHT_CORNER_RADIUS 0)
set(DEFAULT_HIGHLIGHT_VPADDING 30)
set(DEFAULT_HIGHLIGHT_HPADDING 30)
set(DEFAULT_BUTTON_CENTERLINE "50%")
set(DEFAULT_SCROLL_INDICATORS "true")
set(DEFAULT_SCROLL_INDICATOR_FILL_COLOR_R "FF")
set(DEFAULT_SCROLL_INDICATOR_FILL_COLOR_G "FF")
set(DEFAULT_SCROLL_INDICATOR_FILL_COLOR_B "FF")
set(DEFAULT_SCROLL_INDICATOR_FILL_COLOR_A "FF")
set(DEFAULT_SCROLL_INDICATOR_OUTLINE_SIZE 0)
set(DEFAULT_SCROLL_INDICATOR_OUTLINE_COLOR_R "00")
set(DEFAULT_SCROLL_INDICATOR_OUTLINE_COLOR_G "00")
set(DEFAULT_SCROLL_INDICATOR_OUTLINE_COLOR_B "00")
set(DEFAULT_SCROLL_INDICATOR_OUTLINE_COLOR_A "FF")
set(DEFAULT_SCROLL_INDICATOR_OPACITY "100%")
set(DEFAULT_ON_LAUNCH "Blank")
set(DEFAULT_RESET_ON_BACK "false")
set(DEFAULT_INHIBIT_OS_SCREENSAVER "true")
set(DEFAULT_MOUSE_SELECT "false")
set(DEFAULT_CLOCK_ENABLED "false")
set(DEFAULT_CLOCK_SHOW_DATE "false")
set(DEFAULT_CLOCK_ALIGNMENT "Left")
set(DEFAULT_CLOCK_FONT "SourceSansPro-Regular.ttf")
set(DEFAULT_CLOCK_MARGIN "5%")
set(DEFAULT_CLOCK_FONT_COLOR_R "FF")
set(DEFAULT_CLOCK_FONT_COLOR_G "FF")
set(DEFAULT_CLOCK_FONT_COLOR_B "FF")
set(DEFAULT_CLOCK_FONT_COLOR_A "FF")
set(DEFAULT_CLOCK_SHADOWS "false")
set(DEFAULT_CLOCK_SHADOW_COLOR_R "00")
set(DEFAULT_CLOCK_SHADOW_COLOR_G "00")
set(DEFAULT_CLOCK_SHADOW_COLOR_B "00")
set(DEFAULT_CLOCK_SHADOW_COLOR_A "FF")
set(DEFAULT_CLOCK_OPACITY "100%")
set(DEFAULT_CLOCK_FONT_SIZE "50")
set(DEFAULT_CLOCK_TIME_FORMAT "Auto")
set(DEFAULT_CLOCK_DATE_FORMAT "Auto")
set(DEFAULT_CLOCK_INCLUDE_WEEKDAY "true")
set(DEFAULT_SCREENSAVER_ENABLED "false")
set(DEFAULT_SCREENSAVER_IDLE_TIME "300")
set(DEFAULT_SCREENSAVER_INTENSITY "70%")
set(DEFAULT_SCREENSAVER_PAUSE_SLIDESHOW "true")
set(DEFAULT_GAMEPAD_ENABLED "false")
set(DEFAULT_GAMEPAD_DEVICE -1)