/
02_display.cfg
279 lines (236 loc) · 5.12 KB
/
02_display.cfg
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
#textdomain wesnoth-lib
###
### Preferences dialog, Display page
###
#define _GUI_PREFERENCES_DISPLAY_GRID_1
[row]
[column]
horizontal_alignment = "left"
vertical_alignment = "top"
[grid]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[label]
label = _ "Resolution:"
[/label]
[/column]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[combobox]
id = "resolution_set"
definition = "default"
tooltip = "Change the game resolution"
[/combobox]
[/column]
[/row]
[row]
{GUI_FILLER}
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "fullscreen"
label = _ "Full screen"
tooltip = "Toggle between fullscreen and window mode"
[/toggle_button]
[/column]
[/row]
[/grid]
[/column]
[/row]
{_GUI_PREFERENCES_SPACER_ROW}
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "show_floating_labels"
label = _ "Show floating labels"
tooltip = "Show damage and healing amounts above a unit"
[/toggle_button]
[/column]
[/row]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "show_halos"
label = _ "Show haloing effects"
tooltip = "Show special unit graphical effects"
[/toggle_button]
[/column]
[/row]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "show_ellipses"
label = _ "Show team colors"
tooltip = "Show a colored circle around the base of each unit to show which side it is on"
[/toggle_button]
[/column]
[/row]
{_GUI_PREFERENCES_SPACER_ROW}
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "show_grid"
label = _ "Show grid"
tooltip = "Overlay a grid over the map"
[/toggle_button]
[/column]
[/row]
{_GUI_PREFERENCES_SPACER_ROW}
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "animate_terrains"
label = _ "Animate map"
tooltip = "Display animated terrain graphics"
[/toggle_button]
[/column]
[/row]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "animate_units_standing"
label = _ "Show unit standing animations"
tooltip = "Continuously animate standing units in the battlefield"
[/toggle_button]
[/column]
[/row]
[row]
[column]
horizontal_grow = "true"
[grid]
[row]
[column]
border = "top,left,right"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "animate_units_idle"
label = _ "Show unit idle animations"
tooltip = "Play short random animations for idle units"
[/toggle_button]
[/column]
[/row]
[row]
[column]
horizontal_grow = true
[grid]
[row]
[column]
{_GUI_PREFERENCES_CHECKBOX_ALIGN_SPACER}
[/column]
[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_grow = true
[label]
definition = "default_small"
label = _ "Frequency:"
[/label]
[/column]
[column]
grow_factor = 1
border = "all"
border_size = 5
horizontal_grow = true
[slider]
id = "idle_anim_frequency"
definition = "minimal"
minimum_value = -40
maximum_value = 30
step_size = 1
tooltip = _ "Set the frequency of unit idle animations"
[/slider]
[/column]
[/row]
[/grid]
[/column]
[/row]
[/grid]
[/column]
[/row]
[row]
[column]
horizontal_grow = true
{_GUI_PREFERENCES_CHECKBOX_ALIGN_BORDER}
{_GUI_PREFERENCES_MAIN_COMPOSITE_SLIDER
scaling_value ( _ "Percentage Font Scaling:")
scaling_slider (
minimum_value,maximum_value=100,200
step_size=5
tooltip= _ "Set the scaling factor of fonts"
)
}
[/column]
[/row]
#enddef
#define _GUI_PREFERENCES_DISPLAY_GRID_2
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[button]
id = choose_theme
label = _ "Theme"
tooltip = "Change the in-game theme"
[/button]
[/column]
[/row]
#enddef
[layer]
[row]
[column]
horizontal_grow = true
vertical_grow = true
[grid]
[row]
[column]
horizontal_grow = "true"
vertical_alignment = "top"
[grid]
{_GUI_PREFERENCES_DISPLAY_GRID_1}
[/grid]
[/column]
[/row]
[row]
[column]
horizontal_alignment = "left"
vertical_alignment = "bottom"
[grid]
{_GUI_PREFERENCES_DISPLAY_GRID_2}
[/grid]
[/column]
[/row]
[/grid]
[/column]
[/row]
[/layer]
#undef _GUI_PREFERENCES_DISPLAY_GRID_1
#undef _GUI_PREFERENCES_DISPLAY_GRID_2
#undef _GUI_PREFERENCES_DISPLAY_GRID_2