-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
outro.cfg
82 lines (55 loc) · 1.24 KB
/
outro.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
#textdomain wesnoth-lib
[window_definition]
id = "outro"
description = "The window definition for the outro screen."
[resolution]
# NOTE: we don't specify borders like most definitions since we want
# widgets to fully reach the edge of the window.
[background]
[draw]
[rectangle]
x = 0
y = 0
w = "(width)"
h = "(height)"
fill_color = "0, 0, 0, 255"
immutable = true
[/rectangle]
[text]
x = 0
y = {GUI__TEXT_VERTICALLY_CENTRED}
w = "(width)"
h = "(text_height)"
maximum_width = "(width)"
font_size = 80
font_family = "script"
color = "([215, 215, 215, min(ceil(as_decimal(fade_step * 25.5)), 255)])"
text = "(outro_text)"
text_markup = true
text_alignment = "center"
[/text]
[/draw]
[/background]
[foreground]
[draw]
[/draw]
[/foreground]
[/resolution]
[/window_definition]
[window]
id = "outro"
description = "Outro text display"
[resolution]
definition = "outro"
{GUI_WINDOW_FULLSCREEN}
[tooltip]
id = "tooltip_large"
[/tooltip]
[helptip]
id = "tooltip_large"
[/helptip]
# No contents. The only text is drawn in the background by the canvas.
[grid]
[/grid]
[/resolution]
[/window]