-
Notifications
You must be signed in to change notification settings - Fork 0
/
gui.rpy
463 lines (167 loc) · 7.03 KB
/
gui.rpy
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
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
init -2 python:
gui.init(1280, 720)
define -2 gui.hover_sound = "gui/sfx/hover.ogg"
define -2 gui.activate_sound = "gui/sfx/select.ogg"
define -2 gui.activate_sound_glitch = "gui/sfx/select_glitch.ogg"
define -2 gui.accent_color = '#ffffff'
define -2 gui.idle_color = '#aaaaaa'
define -2 gui.idle_small_color = '#333'
define -2 gui.hover_color = '#cc6699'
define -2 gui.selected_color = '#bb5588'
define -2 gui.insensitive_color = '#aaaaaa7f'
define -2 gui.muted_color = '#6666a3'
define -2 gui.hover_muted_color = '#9999c1'
define -2 gui.text_color = '#ffffff'
define -2 gui.interface_text_color = '#ffffff'
define -2 gui.default_font = "gui/font/Aller_Rg.ttf"
define -2 gui.name_font = "gui/font/RifficFree-Bold.ttf"
define -2 gui.interface_font = "gui/font/Aller_Rg.ttf"
define -2 gui.text_size = 24
define -2 gui.name_text_size = 24
define -2 gui.interface_text_size = 24
define -2 gui.label_text_size = 28
define -2 gui.notify_text_size = 16
define -2 gui.title_text_size = 38
define -2 gui.main_menu_background = "menu_bg"
define -2 gui.game_menu_background = "game_menu_bg"
define -2 gui.show_name = False
define -2 gui.textbox_height = 182
define -2 gui.textbox_yalign = 0.99
define -2 gui.name_xpos = 350
define -2 gui.name_ypos = -3
define -2 gui.name_xalign = 0.5
define -2 gui.namebox_width = 168
define -2 gui.namebox_height = 39
define -2 gui.namebox_borders = Borders(5, 5, 5, 2)
define -2 gui.namebox_tile = False
define -2 gui.text_xpos = 268
define -2 gui.text_ypos = 62
define -2 gui.text_width = 744
define -2 gui.text_xalign = 0.0
define -2 gui.button_width = None
define -2 gui.button_height = 36
define -2 gui.button_borders = Borders(4, 4, 4, 4)
define -2 gui.button_tile = False
define -2 gui.button_text_font = gui.interface_font
define -2 gui.button_text_size = gui.interface_text_size
define -2 gui.button_text_idle_color = gui.idle_color
define -2 gui.button_text_hover_color = gui.hover_color
define -2 gui.button_text_selected_color = gui.selected_color
define -2 gui.button_text_insensitive_color = gui.insensitive_color
define -2 gui.button_text_xalign = 0.0
define -2 gui.radio_button_borders = Borders(28, 4, 4, 4)
define -2 gui.check_button_borders = Borders(28, 4, 4, 4)
define -2 gui.confirm_button_text_xalign = 0.5
define -2 gui.page_button_borders = Borders(10, 4, 10, 4)
define -2 gui.quick_button_text_size = 14
define -2 gui.quick_button_text_idle_color = "#522"
define -2 gui.quick_button_text_hover_color = "#fcc"
define -2 gui.quick_button_text_selected_color = gui.accent_color
define -2 gui.quick_button_text_insensitive_color = "#a66"
define -2 gui.choice_button_width = 420
define -2 gui.choice_button_height = None
define -2 gui.choice_button_tile = False
define -2 gui.choice_button_borders = Borders(100, 5, 100, 5)
define -2 gui.choice_button_text_font = gui.default_font
define -2 gui.choice_button_text_size = gui.text_size
define -2 gui.choice_button_text_xalign = 0.5
define -2 gui.choice_button_text_idle_color = "#000"
define -2 gui.choice_button_text_hover_color = "#fa9"
define -2 gui.slot_button_width = 276
define -2 gui.slot_button_height = 206
define -2 gui.slot_button_borders = Borders(10, 10, 10, 10)
define -2 gui.slot_button_text_size = 14
define -2 gui.slot_button_text_xalign = 0.5
define -2 gui.slot_button_text_idle_color = gui.idle_small_color
define -2 gui.slot_button_text_hover_color = gui.hover_color
define -2 config.thumbnail_width = 256
define -2 config.thumbnail_height = 144
define -2 gui.file_slot_cols = 3
define -2 gui.file_slot_rows = 2
define -2 gui.navigation_xpos = 80
define -2 gui.skip_ypos = 10
define -2 gui.notify_ypos = 45
define -2 gui.choice_spacing = 22
define -2 gui.navigation_spacing = 6
define -2 gui.pref_spacing = 10
define -2 gui.pref_button_spacing = 0
define -2 gui.page_spacing = 0
define -2 gui.slot_spacing = 10
define -2 gui.frame_borders = Borders(4, 4, 4, 4)
define -2 gui.confirm_frame_borders = Borders(40, 40, 40, 40)
define -2 gui.skip_frame_borders = Borders(16, 5, 50, 5)
define -2 gui.notify_frame_borders = Borders(16, 5, 40, 5)
define -2 gui.frame_tile = False
define -2 gui.bar_size = 36
define -2 gui.scrollbar_size = 12
define -2 gui.slider_size = 30
define -2 gui.bar_tile = False
define -2 gui.scrollbar_tile = False
define -2 gui.slider_tile = False
define -2 gui.bar_borders = Borders(4, 4, 4, 4)
define -2 gui.scrollbar_borders = Borders(4, 4, 4, 4)
define -2 gui.slider_borders = Borders(4, 4, 4, 4)
define -2 gui.vbar_borders = Borders(4, 4, 4, 4)
define -2 gui.vscrollbar_borders = Borders(4, 4, 4, 4)
define -2 gui.vslider_borders = Borders(4, 4, 4, 4)
define -2 gui.unscrollable = "hide"
define -2 config.history_length = 50
define -2 gui.history_height = None
define -2 gui.history_name_xpos = 150
define -2 gui.history_name_ypos = 0
define -2 gui.history_name_width = 150
define -2 gui.history_name_xalign = 1.0
define -2 gui.history_text_xpos = 170
define -2 gui.history_text_ypos = 5
define -2 gui.history_text_width = 740
define -2 gui.history_text_xalign = 0.0
define -2 gui.nvl_borders = Borders(0, 10, 0, 20)
define -2 gui.nvl_height = 115
define -2 gui.nvl_spacing = 10
define -2 gui.nvl_name_xpos = 430
define -2 gui.nvl_name_ypos = 0
define -2 gui.nvl_name_width = 150
define -2 gui.nvl_name_xalign = 1.0
define -2 gui.nvl_text_xpos = 450
define -2 gui.nvl_text_ypos = 8
define -2 gui.nvl_text_width = 590
define -2 gui.nvl_text_xalign = 0.0
define -2 gui.nvl_thought_xpos = 240
define -2 gui.nvl_thought_ypos = 0
define -2 gui.nvl_thought_width = 780
define -2 gui.nvl_thought_xalign = 0.0
define -2 gui.nvl_button_xpos = 450
define -2 gui.nvl_button_xalign = 0.0
init -2 python:
if renpy.variant("touch"):
gui.quick_button_borders = Borders(60, 14, 60, 0)
if renpy.variant("small"):
gui.text_size = 30
gui.name_text_size = 36
gui.notify_text_size = 25
gui.interface_text_size = 36
gui.button_text_size = 34
gui.label_text_size = 36
gui.textbox_height = 240
gui.name_xpos = 80
gui.text_xpos = 90
gui.text_width = 1100
gui.choice_button_width = 1240
gui.navigation_spacing = 20
gui.pref_button_spacing = 10
gui.history_height = 190
gui.history_text_width = 690
gui.file_slot_cols = 2
gui.file_slot_rows = 2
gui.nvl_height = 170
gui.nvl_name_width = 305
gui.nvl_name_xpos = 325
gui.nvl_text_width = 915
gui.nvl_text_xpos = 345
gui.nvl_text_ypos = 5
gui.nvl_thought_width = 1240
gui.nvl_thought_xpos = 20
gui.nvl_button_width = 1240
gui.nvl_button_xpos = 20
gui.quick_button_text_size = 20
# Decompiled by unrpyc: https://github.com/CensoredUsername/unrpyc