-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
themes.cfg
148 lines (147 loc) · 3.07 KB
/
themes.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
[tag]
name="theme"
max=infinite
{REQUIRED_KEY id string}
{SIMPLE_KEY name t_string}
{SIMPLE_KEY description t_string}
{DEFAULT_KEY hidden bool no}
[tag]
name="~content~"
[tag]
name="~element~"
{SIMPLE_KEY id string}
{SIMPLE_KEY rect theme_rect}
{SIMPLE_KEY xanchor theme_anchor}
{SIMPLE_KEY yanchor theme_anchor}
{SIMPLE_KEY ref string}
[/tag]
[tag]
name="~control~"
super="theme/~content~/~element~"
{SIMPLE_KEY image string}
{SIMPLE_KEY title t_string}
{SIMPLE_KEY title2 t_string}
{SIMPLE_KEY title_literal string}
{SIMPLE_KEY tooltip t_string}
{SIMPLE_KEY overlay string}
[/tag]
[tag]
name="menu"
max=infinite
{DEFAULT_KEY is_context_menu bool no}
{REQUIRED_KEY items string_list}
[if]
[not]
is_context_menu=yes
[/not]
[then]
super="theme/~content~/~control~"
{DEFAULT_KEY type theme_action image}
{DEFAULT_KEY button bool yes}
{SIMPLE_KEY font_size int}
[/then]
[/if]
[/tag]
[tag]
name="action"
super="theme/~content~/~control~"
max=infinite
{REQUIRED_KEY items string_list}
{DEFAULT_KEY type theme_action image}
{DEFAULT_KEY auto_tooltip bool no}
{DEFAULT_KEY tooltip_name_prepend bool no}
[/tag]
[tag]
name="panel"
super="theme/~content~/~control~"
max=infinite
[/tag]
[tag]
name="slider"
super="theme/~content~/~control~"
max=infinite
{SIMPLE_KEY black_line bool}
[/tag]
[tag]
name="main_map_border"
super="theme/~content~/~element~"
{SIMPLE_KEY border_size real}
{SIMPLE_KEY background_image string}
{SIMPLE_KEY tile_image string}
{DEFAULT_KEY show_border bool yes}
[/tag]
[tag]
name="label"
max=infinite
super="theme/~content~/~element~"
{REQUIRED_KEY text t_string}
{SIMPLE_KEY prefix t_string}
{SIMPLE_KEY postfix t_string}
{SIMPLE_KEY icon string}
{SIMPLE_KEY font_size int}
{SIMPLE_KEY font_rgb color}
[/tag]
[tag]
name="no_battery"
super="theme/~modification~"
[/tag]
[tag]
name="replay"
super="theme/~modification~"
[/tag]
[tag]
name="status"
[tag]
name="*"
super="theme/resolution/label"
{SIMPLE_KEY font_size int}
{SIMPLE_KEY prefix t_string}
{SIMPLE_KEY postfix t_string}
{SIMPLE_KEY prefix_literal string}
{SIMPLE_KEY postfix_literal string}
[/tag]
[/tag]
[tag]
name="*"
super="theme/~content~/~element~"
[/tag]
[/tag]
[tag]
name="~modification~"
[tag]
name="change"
super="theme/~content~/~element~"
max=infinite
{ANY_KEY string}
[/tag]
[tag]
name="remove"
max=infinite
{REQUIRED_KEY id string}
[/tag]
[tag]
name="add"
max=infinite
super="theme/~content~"
#max_children=1
[/tag]
[/tag]
[tag]
name="resolution"
min=1
max=infinite
super="theme/~content~"
{REQUIRED_KEY id resolution}
{REQUIRED_KEY width int}
{REQUIRED_KEY height int}
[/tag]
[tag]
name="partialresolution"
max=infinite
super="theme/~modification~"
{REQUIRED_KEY id resolution}
{REQUIRED_KEY inherits resolution}
{REQUIRED_KEY width int}
{REQUIRED_KEY height int}
[/tag]
[/tag]