blob: 74b8e0c138a223c78b7c24afaa9c630f85f75068 (
plain)
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
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
|
# $URL$
# $Id$
[theme]
version=3
[pixmaps]
dialog_corner=dialog_bkgd_corner.bmp
dialog_top=dialog_bkgd_top.bmp
dialog_left=dialog_bkgd_left.bmp
dialog_bkgd=dialog_bkgd.bmp
widget_corner=widget_bkgd_corner.bmp
widget_top=widget_bkgd_top.bmp
widget_left=widget_bkgd_left.bmp
widget_bkgd=widget_bkgd.bmp
widget_small_corner=widget_small_bkgd_corner.bmp
widget_small_top=widget_small_bkgd_top.bmp
widget_small_left=widget_small_bkgd_left.bmp
widget_small_bkgd=widget_small_bkgd.bmp
checkbox_empty=checkbox_empty.bmp
checkbox_checked=checkbox_checked.bmp
widget_arrow=widget_arrow.bmp
tab_corner=widget_small_bkgd_corner.bmp
tab_top=widget_small_bkgd_top.bmp
tab_left=widget_small_bkgd_left.bmp
tab_bkgd=widget_small_bkgd.bmp
slider_bkgd_corner=widget_small_bkgd_corner.bmp
slider_bkgd_top=widget_small_bkgd_top.bmp
slider_bkgd_left=widget_small_bkgd_left.bmp
slider_bkgd_bkgd=widget_small_bkgd.bmp
slider_corner=widget_bkgd_corner.bmp
slider_top=widget_bkgd_top.bmp
slider_left=widget_bkgd_left.bmp
slider_bkgd=widget_bkgd.bmp
scrollbar_bkgd_corner=widget_small_bkgd_corner.bmp
scrollbar_bkgd_top=widget_small_bkgd_top.bmp
scrollbar_bkgd_left=widget_small_bkgd_left.bmp
scrollbar_bkgd_bkgd=widget_small_bkgd.bmp
scrollbar_corner=widget_bkgd_corner.bmp
scrollbar_top=widget_bkgd_top.bmp
scrollbar_left=widget_bkgd_left.bmp
scrollbar_bkgd=widget_bkgd.bmp
button_corner=widget_bkgd_corner.bmp
button_top=widget_bkgd_top.bmp
button_left=widget_bkgd_left.bmp
button_bkgd=widget_bkgd.bmp
[colors]
main_dialog_start=210 114 10
main_dialog_end=239 196 24
dialog_start=246 224 139
dialog_end=251 241 206
color_state_disabled=128 128 128
color_state_highlight=100 162 8
color_state_enabled=0 0 0
color_transparency=255 0 255 # transparency for the pixmaps
text_inverted_background=100 162 8
text_inverted_color=0 0 0
widget_bkgd_start=246 224 139
widget_bkgd_end=251 241 206
widget_bkgd_small_start=246 224 139
widget_bkgd_small_end=251 241 206
button_bkgd_start=226 182 172
button_bkgd_end=169 32 12
button_bkgd_highlight_start=255 210 200
button_bkgd_highlight_end=200 70 50
button_text_enabled=255 255 255
button_text_disabled=128 128 128
button_text_highlight=255 214 84
slider_background_start=247 228 166
slider_background_end=247 228 166
slider_start=226 182 172
slider_end=169 32 12
slider_highlight_start=255 210 200
slider_highlight_end=200 70 50
tab_background_start=246 224 139
tab_background_end=251 241 206
scrollbar_background_start=247 228 166
scrollbar_background_end=247 228 166
scrollbar_button_start=247 228 166
scrollbar_button_end=247 228 166
scrollbar_slider_start=226 182 172
scrollbar_slider_end=169 32 12
scrollbar_button_highlight_start=255 210 200
scrollbar_button_highlight_end=200 70 50
scrollbar_slider_highlight_start=255 210 200
scrollbar_slider_highlight_end=200 70 50
caret_color=0 0 0
[gradients]
dialog_main=1
dialog=1
dialog_special=2
widget_small=3
widget=3
button=2
slider=2
slider_bkgd=1
tab=2
scrollbar=1
scrollbar_background=1
[extra]
shadow_left_width=2
shadow_right_width=4
shadow_top_height=2
pshadow_bottom_height=4
[320xY]
def_widgetSize=kNormalWidgetSize
def_buttonWidth=kButtonWidth
def_buttonHeight=kButtonHeight
def_sliderWidth=kSliderWidth
def_sliderHeight=kSliderHeight
def_kLineHeight=12
def_kFontHeight=10
def_globOptionsW=(w - 2 * 10)
def_globOptionsH=(h - 1 * 40)
def_tabPopupsLabelW=100
def_scummmainHOffset=8
def_scummmainVSpace=5
def_scummmainVAddOff=2
def_scummmainButtonWidth=90
def_scummmainButtonHeight=16
def_scummhelpX=5
def_scummhelpW=(w - 2 * 5)
def_midiControlsSpacing=1
use=XxY
[XxY]
def_widgetSize=kBigWidgetSize
def_buttonWidth=kBigButtonWidth
def_buttonHeight=kBigButtonHeight
def_sliderWidth=kBigSliderWidth
def_sliderHeight=kBigSliderHeight
def_kLineHeight=16
def_kFontHeight=14
def_globOptionsW=(w - 2 * 10)
def_globOptionsH=(h - 2 * 40)
def_tabPopupsLabelW=150
def_scummmainHOffset=12
def_scummmainVSpace=7
def_scummmainVAddOff=3
def_scummmainButtonWidth=160
def_scummmainButtonHeight=28
def_scummhelpW=370
def_scummhelpX=((w - scummhelpW) / 2)
def_midiControlsSpacing=2
chooser_headline=10 6 (w - 2 * 16) (kLineHeight)
chooser_list=10 (6 + kLineHeight + 2) (w - 2 * 16) (h - self.y - buttonHeight - 12)
##### launcher
hBorder=10
launcher_version=hBorder 8 (w - 2 * hBorder) kLineHeight
top=(h - 8 - buttonHeight)
numButtons=4
space=8
butWidth=((w - 2 * hBorder - space * (numButtons - 1)) / numButtons)
launcher_quit_button=hBorder top butWidth buttonHeight
launcher_about_button=(prev.x2 + space) prev.y prev.w prev.h
launcher_options_button=(prev.x2 + space) prev.y prev.w prev.h
launcher_start_button=(prev.x2 + space) prev.y prev.w prev.h
top=(top - buttonHeight * 2)
numButtons=3
space=10
butWidth=((w - 2 * hBorder - space * (numButtons - 1)) / numButtons)
launcher_addGame_button=hBorder top butWidth buttonHeight
launcher_editGame_button=(prev.x2 + space) prev.y prev.w prev.h
launcher_removeGame_button=(prev.x2 + space) prev.y prev.w prev.h
launcher_list=hBorder (kLineHeight + 16) (w - 2 * hBorder) (top - kLineHeight - 20)
### global options
globaloptions=10 40 globOptionsW globOptionsH
set_parent=globaloptions
vBorder=5
globaloptions_tabwidget=0, vBorder parent.w (parent.h - buttonHeight - 8 - 2 * vBorder)
# graphics tab
opYoffset=vBorder
opWidth=globOptionsW
useWithPrefix=graphicsControls globaloptions_
# audio tab
opYoffset=vBorder
opWidth=globOptionsW
useWithPrefix=audioControls globaloptions_
useWithPrefix=volumeControls globaloptions_
# MIDI tab
opYoffset=vBorder
opWidth=globOptionsW
useWithPrefix=midiControls globaloptions_
# paths tab
yoffset=vBorder
globaloptions_savebutton=5 yoffset (buttonWidth + 5) buttonHeight
globaloptions_savepath=(prev.x2 + 20) (vBorder + 3) (parent.w - (prev.w + 20) - 10) kLineHeight
yoffset=(yoffset + buttonHeight + 4)
globaloptions_extrabutton=5 yoffset (buttonWidth + 5) buttonHeight
globaloptions_extrapath=(prev.x2 + 20) (vBorder + 3) (parent.w - (prev.w + 20) - 10) kLineHeight
yoffset=(yoffset + buttonHeight + 4)
globaloptions_keysbutton=5 yoffset buttonWidth buttonHeight
globaloptions_cancel=(parent.w - 2 * (buttonWidth + 10)) (parent.h - buttonHeight - 8) buttonWidth buttonHeight
globaloptions_ok=(prev.x2 + 10) prev.y prev.w prev.h
### game options
opYoffset=(vBorder + buttonHeight)
opWidth=globOptionsW
useWithPrefix=graphicsControls gameoptions_
opYoffset=(vBorder + buttonHeight)
useWithPrefix=audioControls gameoptions_
opYoffset=(vBorder + buttonHeight)
useWithPrefix=volumeControls gameoptions_
opYoffset=(vBorder + buttonHeight)
useWithPrefix=midiControls gameoptions_
##### SCUMM dialogs
scummDummyDialog=0 80 0 16
## Main dialog
# note that scummmain size depends on overall height
smY=(scummmainVSpace + scummmainVAddOff)
scummmain_resume=scummmainHOffset smY scummmainButtonWidth scummmainButtonHeight
smY=(smY + scummmainButtonHeight + scummmainVAddOff)
smY=(smY + scummmainVSpace)
scummmain_load=prev.x smY prev.w prev.h
smY=(smY + scummmainButtonHeight + scummmainVAddOff)
scummmain_save=prev.x smY prev.w prev.h
smY=(smY + scummmainButtonHeight + scummmainVAddOff)
smY=(smY + scummmainVSpace)
scummmain_options=prev.x smY prev.w prev.h
smY=(smY + scummmainButtonHeight + scummmainVAddOff)
scummmain_help=prev.x smY prev.w prev.h
smY=(smY + scummmainButtonHeight + scummmainVAddOff)
scummmain_about=prev.x smY prev.w prev.h
smY=(smY + scummmainButtonHeight + scummmainVAddOff)
smY=(smY + scummmainVSpace)
scummmain_quit=prev.x smY prev.w prev.h
smY=(smY + scummmainButtonHeight + scummmainVAddOff)
smW=(scummmainButtonWidth + 2 * scummmainHOffset)
smH=(smY + scummmainVSpace)
scummmain=((w - smW) / 2) ((h - smH) / 2) smW smH
## Engine config
# note that scummconfig size depends on overall height
# hence it is on the end of the list
opYoffset=8
useWithPrefix=volumeControls scummconfig_
scummconfig_subtitlesCheckbox=15 opYoffset (kFontHeight + 10 + 89) buttonHeight
opYoffset=(opYoffset + buttonHeight)
scummconfig_speechCheckbox=prev.x opYoffset (kFontHeight + 10 + 85) buttonHeight
opYoffset=(opYoffset + buttonHeight + 4)
soWidth=(8 + 3 * buttonWidth + 4)
scummconfig_keys=(soWidth - 3 * (buttonWidth + 4) - 4) opYoffset buttonWidth buttonHeight
scummconfig_cancel=(prev.x2 + 4) prev.y prev.w prev.h
scummconfig_ok=(prev.x2 + 4) prev.y prev.w prev.h
opYoffset=(opYoffset + buttonHeight)
scummconfig=((w - soWidth) / 2) ((h - opYoffset) / 2) soWidth (opYoffset + 8)
## Help
scummHelpNumLines=15
shH=(5 + (2 + scummHelpNumLines) * kFontHeight + buttonHeight + 7)
scummhelp=scummhelpX ((h - shH) / 2) scummhelpW shH
scummhelp_title=10 5 scummhelpW kFontHeight
scummhelp_key.x=10
scummhelp_key.yoffset=5
scummhelp_key.w=80
scummhelp_key.h=kFontHeight
scummhelp_dsc.x=90
scummhelp_dsc.yoffset=5
scummhelp_dsc.w=(scummhelpW - 10 - 90)
scummhelp_dsc.h=kFontHeight
scummhelp_prev=10 (5 + kFontHeight * (scummHelpNumLines + 2) + 2) buttonWidth buttonHeight
scummhelp_next=(prev.x2 + 8) prev.y prev.w prev.h
scummhelp_close=(scummhelpW - 8 - buttonWidth) prev.y prev.w prev.h
# Saveload dialog
scummsaveload=8 8 (w - 2 * 8) (h - 16)
set_parent=scummsaveload
scummsaveload_title=10 6 (parent.w - 2 * 10) kLineHeight
scummsaveload_list=10 18 (parent.w - 2 * 10 - 180) (parent.h - 14 - buttonHeight - 18)
scummsaveload_thumbnail=(parent.w - (kThumbnailWidth + 22)) 18
scummsaveload_cancel=(parent.w - 2 * (buttonWidth + 10)) (parent.h - buttonHeight - 8) buttonWidth buttonHeight
scummsaveload_choose=(prev.x2 + 10) prev.y prev.w prev.h
############################################
[graphicsControls]
gcx=10
gcw=(opWidth - 2 * 10)
grModePopup=(gcx - 5) opYoffset (gcw + 5) kLineHeight
opYoffset=(opYoffset + kLineHeight + 4)
grRenderPopup=prev.x opYoffset prev.w prev.h
opYoffset=(opYoffset + kLineHeight + 4)
grFullscreenCheckbox=gcx opYoffset (kFontHeight + 10 + 96) buttonHeight
opYoffset=(opYoffset + buttonHeight)
grAspectCheckbox=prev.x opYoffset (kFontHeight + 10 + 136) prev.h
opYoffset=(opYoffset + buttonHeight)
[audioControls]
aux=10
auw=(opWidth - 2 * 10)
auMidiPopup=(aux - 5) opYoffset (auw + 5) kLineHeight
opYoffset=(opYoffset + kLineHeight + 4)
auSubtitlesCheckbox=aux opYoffset (kFontHeight + 10 + 102) buttonHeight
opYoffset=(opYoffset + buttonHeight + 18)
[volumeControls]
vctextw=95
vcxoff=(vctextw + 15)
vcMusicText=10 (opYoffset + 2) vctextw kLineHeight
vcMusicSlider=vcxoff opYoffset sliderWidth sliderHeight
vcMusicLabel=(vcxoff + prev.w + 10) (opYoffset + 2) 24 kLineHeight
opYoffset=(opYoffset + sliderHeight + 4)
vcSfxText=10 (opYoffset + 2) vctextw kLineHeight
vcSfxSlider=vcxoff opYoffset sliderWidth sliderHeight
vcSfxLabel=(vcxoff + prev.w + 10) (opYoffset + 2) 24 kLineHeight
opYoffset=(opYoffset + sliderHeight + 4)
vcSpeechText=10 (opYoffset + 2) vctextw kLineHeight
vcSpeechSlider=vcxoff opYoffset sliderWidth sliderHeight
vcSpeechLabel=(vcxoff + prev.w + 10) (opYoffset + 2) 24 kLineHeight
opYoffset=(opYoffset + sliderHeight + 4)
[midiControls]
mcx=10
mcFontButton=mcx opYoffset buttonWidth buttonHeight
mcFontPath=(prev.x2 + 20) (opYoffset + 3) (opWidth - (buttonWidth + 20) - 10) kLineHeight
opYoffset=(opYoffset + buttonHeight + 2 * midiControlsSpacing)
mcMixedCheckbox=mcx opYoffset (kFontHeight + 10 + 135) buttonHeight
opYoffset=(opYoffset + buttonHeight + midiControlsSpacing)
mcMt32Checkbox=mcx opYoffset (kFontHeight + 10 + 256) buttonHeight
opYoffset=(opYoffset + buttonHeight + midiControlsSpacing)
mcGSCheckbox=mcx opYoffset (kFontHeight + 10 + 142) buttonHeight
opYoffset=(opYoffset + buttonHeight + midiControlsSpacing)
|