Skip to content

Commit 1f0f49e

Browse files
committed
ModManagerGUI redo v2
1 parent 207e4ba commit 1f0f49e

5 files changed

Lines changed: 439 additions & 130 deletions

File tree

Data/Base.rte/GUIs/ModManagerGUI.ini

Lines changed: 130 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,6 @@ DrawBackground = False
1414
DrawType = Color
1515
DrawColor = 8
1616

17-
[ButtonBackToMainMenu]
18-
ControlType = BUTTON
19-
Parent = root
20-
X = 265
21-
Y = 455
22-
Width = 110
23-
Height = 20
24-
Visible = True
25-
Enabled = True
26-
Name = ButtonBackToMainMenu
27-
Anchor = Middle
28-
ToolTip = None
29-
Text = Back to Main Menu
30-
3117
[CollectionBoxModManager]
3218
ControlType = COLLECTIONBOX
3319
Parent = root
@@ -47,119 +33,196 @@ DrawColor = 62
4733
[LabelModManagerTitle]
4834
ControlType = LABEL
4935
Parent = CollectionBoxModManager
50-
X = 0
51-
Y = 0
36+
X = -36
37+
Y = 10
5238
Width = 550
5339
Height = 32
5440
Visible = True
5541
Enabled = True
5642
Name = LabelModManagerTitle
57-
Anchor = Left, Top
43+
Anchor = right, Top
5844
ToolTip = None
5945
Text = M O D & S C R I P T M A N A G E R
60-
HAlignment = centre
61-
VAlignment = middle
46+
HAlignment = right
47+
VAlignment = top
6248

63-
[LabelMods]
64-
ControlType = LABEL
49+
[ButtonModsTab]
50+
ControlType = BUTTON
6551
Parent = CollectionBoxModManager
66-
X = 10
67-
Y = 25
68-
Width = 255
52+
X = 123
53+
Y = 307
54+
Width = 75
6955
Height = 20
7056
Visible = True
7157
Enabled = True
72-
Name = LabelMods
58+
Name = ButtonModsTab
7359
Anchor = Left, Top
7460
ToolTip = None
7561
Text = Mod Modules
76-
HAlignment = centre
62+
HAlignment = left
63+
VAlignment = top
64+
Selected = False
65+
66+
[ButtonScriptsTab]
67+
ControlType = BUTTON
68+
Parent = CollectionBoxModManager
69+
X = 200
70+
Y = 307
71+
Width = 82
72+
Height = 20
73+
Visible = True
74+
Enabled = True
75+
Name = ButtonScriptsTab
76+
Anchor = Left, Top
77+
ToolTip = None
78+
Text = Global Scripts
79+
HAlignment = left
80+
VAlignment = top
81+
Selected = False
82+
83+
[CollectionBoxModuleHeader]
84+
ControlType = COLLECTIONBOX
85+
Parent = CollectionBoxModManager
86+
X = 314
87+
Y = 36
88+
Width = 225
89+
Height = 50
90+
Visible = True
91+
Enabled = True
92+
Name = CollectionBoxModuleHeader
93+
Anchor = Left, Top
94+
DrawBackground = True
95+
DrawType = Image
96+
DrawColor = 58
97+
98+
[LabelModuleHeader]
99+
ControlType = LABEL
100+
Parent = CollectionBoxModuleHeader
101+
X = 63
102+
Y = 2
103+
Width = 149
104+
Height = 48
105+
Visible = True
106+
Enabled = True
107+
Name = LabelModuleHeader
108+
Anchor = Left, Top
109+
ToolTip = None
110+
Text =
111+
HAlignment = left
77112
VAlignment = middle
78113

79-
[ListBoxMods]
80-
ControlType = LISTBOX
114+
[CollectionBoxModuleHeaderModuleIcon]
115+
ControlType = COLLECTIONBOX
116+
Parent = CollectionBoxModuleHeader
117+
X = 0
118+
Y = 0
119+
Width = 50
120+
Height = 50
121+
Visible = True
122+
Enabled = True
123+
Name = CollectionBoxModuleHeaderModuleIcon
124+
Anchor = Left, Top
125+
DrawBackground = True
126+
DrawType = Image
127+
DrawColor = 62
128+
129+
[CollectionBoxDescription]
130+
ControlType = COLLECTIONBOX
81131
Parent = CollectionBoxModManager
82-
X = 10
83-
Y = 45
84-
Width = 260
132+
X = 314
133+
Y = 88
134+
Width = 225
85135
Height = 205
86136
Visible = True
87137
Enabled = True
138+
Name = CollectionBoxDescription
139+
Anchor = Left, Top
140+
DrawBackground = True
141+
DrawType = Image
142+
DrawColor = 62
143+
144+
[ListBoxMods]
145+
ControlType = LISTBOX
146+
Parent = CollectionBoxModManager
147+
X = 10
148+
Y = 10
149+
Width = 294
150+
Height = 300
151+
Visible = False
152+
Enabled = False
88153
Name = ListBoxMods
89154
Anchor = Left, Top
90155
ToolTip = None
91156
MultiSelect = False
92157

93-
[ButtonToggleMod]
94-
ControlType = BUTTON
158+
[ListBoxScripts]
159+
ControlType = LISTBOX
95160
Parent = CollectionBoxModManager
96-
X = 78
97-
Y = 254
98-
Width = 124
99-
Height = 20
161+
X = 10
162+
Y = 10
163+
Width = 294
164+
Height = 300
100165
Visible = True
101166
Enabled = True
102-
Name = ButtonToggleMod
167+
Name = ListBoxScripts
103168
Anchor = Left, Top
104169
ToolTip = None
105-
Text = Disable Mod
170+
MultiSelect = False
106171

107-
[LabelScripts]
108-
ControlType = LABEL
172+
[ButtonBackToMainMenu]
173+
ControlType = BUTTON
109174
Parent = CollectionBoxModManager
110-
X = 282
111-
Y = 25
112-
Width = 255
175+
X = 430
176+
Y = 306
177+
Width = 110
113178
Height = 20
114179
Visible = True
115180
Enabled = True
116-
Name = LabelScripts
181+
Name = ButtonBackToMainMenu
117182
Anchor = Left, Top
118183
ToolTip = None
119-
Text = Global Scripts
120-
HAlignment = centre
121-
VAlignment = middle
184+
Text = Back to Main Menu
122185

123-
[ListBoxScripts]
124-
ControlType = LISTBOX
186+
[ButtonOpenModsFolder]
187+
ControlType = BUTTON
125188
Parent = CollectionBoxModManager
126-
X = 280
127-
Y = 45
128-
Width = 260
129-
Height = 205
189+
X = 314
190+
Y = 306
191+
Width = 110
192+
Height = 20
130193
Visible = True
131194
Enabled = True
132-
Name = ListBoxScripts
195+
Name = ButtonOpenModsFolder
133196
Anchor = Left, Top
134197
ToolTip = None
135-
MultiSelect = False
198+
Text = Open Mods Folder
136199

137-
[ButtonToggleScript]
200+
[ButtonToggleListEntry]
138201
ControlType = BUTTON
139202
Parent = CollectionBoxModManager
140-
X = 348
141-
Y = 254
203+
X = 365
204+
Y = 281
142205
Width = 124
143206
Height = 20
144207
Visible = True
145208
Enabled = True
146-
Name = ButtonToggleScript
209+
Name = ButtonToggleListEntry
147210
Anchor = Left, Top
148211
ToolTip = None
149212
Text = Disable Script
150213

151214
[LabelDescription]
152215
ControlType = LABEL
153-
Parent = CollectionBoxModManager
154-
X = 15
155-
Y = 280
156-
Width = 520
157-
Height = 45
216+
Parent = CollectionBoxDescription
217+
X = 13
218+
Y = 16
219+
Width = 199
220+
Height = 150
158221
Visible = True
159222
Enabled = True
160223
Name = LabelDescription
161-
Anchor = Left, Top
224+
Anchor = left, top
162225
ToolTip = None
163-
Text = DISCLAIMER: mods and any global scripts may cause performance degradation, unbalancing, game exploitation, crashes and extreme fun. Use wisely and be prepared to face the consequences.
226+
Text =
164227
HAlignment = left
165228
VAlignment = top
-3.54 KB
Loading

0 commit comments

Comments
 (0)