-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
toggle_panel_default.cfg
91 lines (62 loc) · 1.29 KB
/
toggle_panel_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
87
88
89
90
91
#textdomain wesnoth-lib
###
### Definition of the default toggle panel.
###
#define _GUI_RECT FILL_COLOR
[rectangle]
x = 0
y = 0
w = "(width)"
h = "(height)"
fill_color = {FILL_COLOR}
[/rectangle]
#enddef
[toggle_panel_definition]
id = "default"
description = "Default panel"
[resolution]
# The minimum required height is due to the size required for
# {GUI__LISTBOX_SELECTED_CELL}
# The issue was found bug #22144
min_width = 0
min_height = 26
default_width = 0
default_height = 0
max_width = 0
max_height = 0
[state_enabled]
[draw]
{_GUI_RECT ({GUI__BACKGROUND_COLOR_ENABLED}) }
[/draw]
[/state_enabled]
[state_disabled]
[draw]
{_GUI_RECT ({GUI__BACKGROUND_COLOR_DISABLED}) }
[/draw]
[/state_disabled]
[state_focussed]
[draw]
{_GUI_RECT ({GUI__BACKGROUND_COLOR_ENABLED}) }
[/draw]
[/state_focussed]
###
### Selected
###
[state_enabled_selected]
[draw]
{GUI__LISTBOX_SELECTED_CELL}
[/draw]
[/state_enabled_selected]
[state_disabled_selected]
[draw]
{GUI__LISTBOX_SELECTED_CELL}
[/draw]
[/state_disabled_selected]
[state_focussed_selected]
[draw]
{GUI__LISTBOX_SELECTED_CELL}
[/draw]
[/state_focussed_selected]
[/resolution]
[/toggle_panel_definition]
#undef _GUI_RECT