-
-
Notifications
You must be signed in to change notification settings - Fork 994
/
image_default.cfg
86 lines (61 loc) · 1.05 KB
/
image_default.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
#textdomain wesnoth-lib
###
### Definition of an image.
###
#define _GUI_RESOLUTION _IMAGE_ATTRIBUTES
[resolution]
min_width = 0
min_height = 0
default_width = 0
default_height = 0
max_width = 0
max_height = 0
[state_enabled]
[draw]
[image]
{_IMAGE_ATTRIBUTES}
[/image]
[/draw]
[/state_enabled]
[/resolution]
#enddef
[image_definition]
id = "default"
description = "an image."
{_GUI_RESOLUTION (
name = "(text)"
)}
[/image_definition]
[image_definition]
id = "centered"
description = "an image."
{_GUI_RESOLUTION (
name = "(text)"
{GUI_CENTERED_IMAGE}
)}
[/image_definition]
[image_definition]
id = "tiled_to_size"
description = "an image."
{_GUI_RESOLUTION (
name = "(text)"
x = 0
y = 0
w = "(width)"
h = "(height)"
resize_mode = "tile"
)}
[/image_definition]
[image_definition]
id = "scaled_to_size"
description = "an image."
{_GUI_RESOLUTION (
name = "(text)"
x = 0
y = 0
w = "(width)"
h = "(height)"
resize_mode = "scale"
)}
[/image_definition]
#undef _GUI_RESOLUTION