-
-
Notifications
You must be signed in to change notification settings - Fork 994
/
panel_title_screen.cfg
82 lines (57 loc) · 1.22 KB
/
panel_title_screen.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
###
### Definition of the panel for the title screen.
###
### Most of the code is a copy paste of window_default.cfg.
###
#define _GUI_RESOLUTION RESOLUTION BORDER OFFSET_SIDE_1 OFFSET_SIDE_2 OFFSET_TOTAL
[resolution]
{RESOLUTION}
left_border = {BORDER}
right_border = {BORDER}
top_border = {BORDER}
bottom_border = {BORDER}
[background]
[draw]
[pre_commit]
[blur]
depth = 1
[/blur]
[/pre_commit]
[rectangle]
x = 0
y = 0
w = "(width)"
h = "(height)"
border_thickness = 3
border_color = "16, 22, 35, 255"
[/rectangle]
[rectangle]
x = 1
y = 1
w = "(width - 2)"
h = "(height - 2)"
border_thickness = 1
border_color = {GUI__BORDER_COLOR_DARK}
[/rectangle]
[image]
x = 3
y = 3
w = "(width - 6)"
h = "(height - 6)"
name = "dialogs/translucent54-background.png"
[/image]
[/draw]
[/background]
[foreground]
[draw]
[/draw]
[/foreground]
[/resolution]
#enddef
[panel_definition]
id = "title_screen"
description = "Definition of the panel for the title screen"
{_GUI_RESOLUTION () 25 5 9 14 }
[/panel_definition]
#undef _GUI_RESOLUTION