/
select_orb_colors.cfg
135 lines (126 loc) · 2.77 KB
/
select_orb_colors.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
#define _GUI_ORB_CELL PURPOSE COLOR
[column]
border = "all"
border_size = 5
[toggle_button]
id = "orb_{PURPOSE}_{COLOR}"
definition = "orb"
label = "{COLOR}"
[/toggle_button]
[/column]
#enddef
#define _GUI_ORB_ROW PURPOSE
[grid]
id = "orb_{PURPOSE}_selection"
[row]
{_GUI_ORB_CELL {PURPOSE} brightgreen}
{_GUI_ORB_CELL {PURPOSE} brightorange}
{_GUI_ORB_CELL {PURPOSE} red}
{_GUI_ORB_CELL {PURPOSE} lightblue}
{_GUI_ORB_CELL {PURPOSE} black}
{_GUI_ORB_CELL {PURPOSE} blue}
{_GUI_ORB_CELL {PURPOSE} white}
{_GUI_ORB_CELL {PURPOSE} gold}
{_GUI_ORB_CELL {PURPOSE} darkred}
{_GUI_ORB_CELL {PURPOSE} lightred}
[/row]
[/grid]
#enddef
#define _GUI_ORB_GROUP PURPOSE LABEL
[row]
[column]
horizontal_alignment = "left"
border = "all"
border_size = 5
[toggle_button]
id = "orb_{PURPOSE}_show"
definition = "default"
label = {LABEL}
[/toggle_button]
[/column]
[/row]
[row]
[column]
horizontal_alignment = "left"
{_GUI_ORB_ROW {PURPOSE}}
[/column]
[/row]
#enddef
[window]
id = "select_orb_colors"
description = "Select the colors of orbs displayed on units for various purposes."
[resolution]
definition = "default"
click_dismiss = "true"
maximum_width = 600
maximum_height = 480
[tooltip]
id = "tooltip_large"
[/tooltip]
[helptip]
id = "tooltip_large"
[/helptip]
[grid]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[label]
definition = "title"
label = _ "Choose Orb/Minimap Colors"
[/label]
[/column]
[/row]
{_GUI_ORB_GROUP unmoved (_"Show unmoved orb")}
{_GUI_ORB_GROUP partial (_"Show partial moved orb")}
{_GUI_ORB_GROUP moved (_"Show moved orb")}
{_GUI_ORB_GROUP ally (_"Show ally orb")}
{_GUI_ORB_GROUP enemy (_"Show enemy orb")}
[row]
[column]
[grid]
[row]
[column]
horizontal_alignment = "left"
grow_factor = 1
border = "all"
border_size = 5
[button]
id = "orb_defaults"
definition = "default"
label = _ "Defaults"
[/button]
[/column]
[column]
horizontal_alignment = "right"
grow_factor = 0
border = "all"
border_size = 5
[button]
id = "cancel"
definition = "default"
label = _ "Cancel"
[/button]
[/column]
[column]
horizontal_alignment = "right"
grow_factor = 0
border = "all"
border_size = 5
[button]
id = "ok"
definition = "default"
label = _ "OK"
[/button]
[/column]
[/row]
[/grid]
[/column]
[/row]
[/grid]
[/resolution]
[/window]
#undef _GUI_ORB_GROUP
#undef _GUI_ORB_ROW
#undef _GUI_ORB_CELL