-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
button_25x25.cfg
265 lines (210 loc) · 4.57 KB
/
button_25x25.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
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
#textdomain wesnoth-lib
###
### Definition of buttons which have a 25 x 25 pixels image.
### - down arrow button for the listbox.
### - up arrow button for the listbox.
#define _GUI_RESOLUTION RESOLUTION SIZE IMAGE IMAGE_OVERLAY IPF
[resolution]
{RESOLUTION}
min_width = {SIZE}
min_height = {SIZE}
default_width = {SIZE}
default_height = {SIZE}
max_width = {SIZE}
max_height = {SIZE}
[state_enabled]
[draw]
[image]
w = {SIZE}
h = {SIZE}
name = {IMAGE} + ".png{IPF}"
[/image]
[image]
w = {SIZE}
h = {SIZE}
name = {IMAGE_OVERLAY} + ".png{IPF}"
[/image]
[/draw]
[/state_enabled]
[state_disabled]
[draw]
[image]
w = {SIZE}
h = {SIZE}
name = {IMAGE} + ".png~GS(){IPF}"
[/image]
[image]
w = {SIZE}
h = {SIZE}
name = {IMAGE_OVERLAY} + ".png~GS(){IPF}"
[/image]
[/draw]
[/state_disabled]
[state_pressed]
[draw]
[image]
w = {SIZE}
h = {SIZE}
name = {IMAGE} + "-pressed.png{IPF}"
[/image]
[image]
w = {SIZE}
h = {SIZE}
name = {IMAGE_OVERLAY} + "-pressed.png{IPF}"
[/image]
[/draw]
[/state_pressed]
[state_focused]
[draw]
[image]
w = {SIZE}
h = {SIZE}
name = {IMAGE} + "-active.png{IPF}"
[/image]
[image]
w = {SIZE}
h = {SIZE}
name = {IMAGE_OVERLAY} + "-active.png{IPF}"
[/image]
[/draw]
[/state_focused]
[/resolution]
#enddef
#define _GUI_DEFINITION ID DESCRIPTION IMAGE IMAGE_OVERLAY IPF
[button_definition]
id = {ID}
description = {DESCRIPTION}
{_GUI_RESOLUTION () 25 ({IMAGE}) ({IMAGE_OVERLAY}) ({IPF})}
[/button_definition]
#enddef
# Scrollbar buttons
{_GUI_DEFINITION
"down_arrow"
"Down arrow button for a scrollbar."
"buttons/button_square/button_square_25"
"icons/arrows/arrows_ornate_down_25"
()
}
{_GUI_DEFINITION
"up_arrow"
"Up arrow button for a scrollbar."
"buttons/button_square/button_square_25"
"icons/arrows/arrows_ornate_up_25"
()
}
{_GUI_DEFINITION
"left_arrow"
"Left arrow button for a scrollbar."
"buttons/button_square/button_square_25"
"icons/arrows/arrows_ornate_left_25"
()
}
{_GUI_DEFINITION
"right_arrow"
"Right arrow button for a scrollbar."
"buttons/button_square/button_square_25"
"icons/arrows/arrows_ornate_right_25"
()
}
{_GUI_DEFINITION
"add"
"Addition button."
"buttons/button_square/button_square_25"
"icons/action/ornate_add_25"
()
}
{_GUI_DEFINITION
"delete"
"Deletion button."
"buttons/button_square/button_square_25"
"icons/action/ornate_delete_25"
()
}
{_GUI_DEFINITION
"help"
"Help button."
"buttons/button_square/button_square_25"
"icons/action/help_25"
()
}
# Transparent scrollbar buttons
{_GUI_DEFINITION
"down_arrow_transparent"
"Down arrow button for a transparent scrollbar."
"buttons/button_square/button_square_25"
"icons/arrows/arrows_ornate_down_25"
"~O(65%)"
}
{_GUI_DEFINITION
"up_arrow_transparent"
"Up arrow button for a transparent scrollbar."
"buttons/button_square/button_square_25"
"icons/arrows/arrows_ornate_up_25"
"~O(65%)"
}
{_GUI_DEFINITION
"left_arrow_transparent"
"Left arrow button for a transparent scrollbar."
"buttons/button_square/button_square_25"
"icons/arrows/arrows_ornate_left_25"
"~O(65%)"
}
{_GUI_DEFINITION
"right_arrow_transparent"
"Right arrow button for a transparent scrollbar."
"buttons/button_square/button_square_25"
"icons/arrows/arrows_ornate_right_25"
"~O(65%)"
}
{_GUI_DEFINITION
"add_transparent"
"Transparent addition button."
"buttons/button_square/button_square_25"
"icons/action/ornate_add_25"
"~O(65%)"
}
{_GUI_DEFINITION
"delete_transparent"
"Transparent deletion button."
"buttons/button_square/button_square_25"
"icons/action/ornate_delete_25"
"~O(65%)"
}
# Action icon buttons
{_GUI_DEFINITION
"action_copy"
"Right arrow button for copy-to-clipboard."
"buttons/button_square/button_square_25"
"icons/action/copy_25"
()
}
{_GUI_DEFINITION
"action_go"
"Right arrow button for go/browse actions."
"buttons/button_square/button_square_25"
"icons/arrows/arrows_right_25"
()
}
{_GUI_DEFINITION
"action_about"
"Button for displaying the game version info."
"buttons/button_square/button_square_25"
"icons/action/about_25"
()
}
{_GUI_DEFINITION
"left_arrow_short_ornate"
"Left arrow action button."
"buttons/button_square/button_square_25"
"icons/arrows/short_arrow_ornate_left_25"
()
}
{_GUI_DEFINITION
"right_arrow_short_ornate"
"Right arrow action button."
"buttons/button_square/button_square_25"
"icons/arrows/short_arrow_ornate_right_25"
()
}
#undef _GUI_DEFINITION
#undef _GUI_RESOLUTION