Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 80d32cd

Browse files
committed
Cleanup in InventoryMenuSkin
1 parent d6a12e6 commit 80d32cd

File tree

1 file changed

+54
-144
lines changed

1 file changed

+54
-144
lines changed
Lines changed: 54 additions & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,17 @@
1-
//
2-
// Skin template file
3-
//
4-
5-
// Mouse pointer
61
[Mouse_Pointer]
7-
Filename = pointer.png
2+
Filename = Cursor.png
83
ColorKeyIndex = 255
94

10-
// Text mouse pointer
115
[Mouse_Text]
12-
Filename = text.png
6+
Filename = Null.png
137
ColorKeyIndex = 255
148

15-
// Horizontal resize
169
[Mouse_HSize]
17-
Filename = hsize.png
10+
Filename = Null.png
1811
ColorKeyIndex = 255
1912

20-
// CollectionBox Background Panel
2113
[CollectionBox_Panel]
22-
Filename = graygui.png
14+
Filename = SkinGray.png
2315
TopLeft = 0,24, 2,2
2416
Top = 3,24, 1,2
2517
TopRight = 7,24, 2,2
@@ -30,11 +22,9 @@ BottomRight = 7,31, 2,2
3022
Right = 6,27, 3,1
3123
Filler = 12,24, 8,8
3224

33-
// Standard button control
34-
// Up State
3525
[Button_Up]
36-
Filename = greengui.png
37-
Font = smallfont.png
26+
Filename = SkinGreen.png
27+
Font = FontSmall.png
3828
FontColor = 0
3929
FontKerning = 0
4030
FontShadow = 0
@@ -48,11 +38,8 @@ BottomRight = 7,43, 3,3
4838
Right = 7,39, 3,3
4939
Filler = 0,48, 8,8
5040

51-
// Standard button control
52-
// Over State
53-
// Same font is used from [Button_Up]
5441
[Button_Over]
55-
Filename = greengui.png
42+
Filename = SkinGreen.png
5643
TopLeft = 12,36, 2,2
5744
Top = 15,36, 3,2
5845
TopRight = 19,36, 3,2
@@ -63,11 +50,8 @@ BottomRight = 19,43, 3,3
6350
Right = 19,39, 3,3
6451
Filler = 12,48, 8,8
6552

66-
// Standard button control
67-
// Down State
68-
// Same font is used from [Button_Up]
6953
[Button_Down]
70-
Filename = greengui.png
54+
Filename = SkinGreen.png
7155
TopLeft = 24,36, 2,2
7256
Top = 27,36, 3,2
7357
TopRight = 31,36, 3,2
@@ -78,28 +62,9 @@ BottomRight = 31,43, 3,3
7862
Right = 31,39, 3,3
7963
Filler = 24,48, 8,8
8064

81-
// List box control
82-
//[Listbox]
83-
//Filename = browngui.png
84-
//Font = smallfont.png
85-
//FontColor = 0
86-
//FontKerning = 0
87-
//FontSelectColor = 15
88-
//SelectedColorIndex = 247
89-
//TopLeft = 112,68, 1,1
90-
//Top = 114,68, 3,1
91-
//TopRight = 117,68, 2,2
92-
//Left = 112,70, 1,3
93-
//BottomLeft = 112,73, 2,2
94-
//Bottom = 114,74, 3,1
95-
//BottomRight = 117,73, 2,2
96-
//Right = 118,70, 1,3
97-
//Filler = 114,70, 3,3
98-
99-
// List box control
10065
[Listbox]
101-
Filename = greengui.png
102-
Font = smallfont.png
66+
Filename = SkinGreen.png
67+
Font = FontSmall.png
10368
FontColor = 0
10469
FontKerning = 0
10570
FontSelectColor = 15
@@ -114,10 +79,8 @@ BottomRight = 119,18, 2,2
11479
Right = 119,14, 2,3
11580
Filler = 64,12, 8,8
11681

117-
// Scrollbar Control
118-
// Button-UpState
11982
[ScrollButton_Up]
120-
Filename = greengui.png
83+
Filename = SkinGreen.png
12184
TopLeft = 112,68, 2,2
12285
Top = 114,68, 3,2
12386
TopRight = 117,68, 2,2
@@ -128,10 +91,8 @@ BottomRight = 117,73, 2,2
12891
Right = 117,70, 2,3
12992
Filler = 114,70, 3,3
13093

131-
// Scrollbar Control
132-
// Button-DownState
13394
[ScrollButton_Down]
134-
Filename = greengui.png
95+
Filename = SkinGreen.png
13596
TopLeft = 120,68, 2,2
13697
Top = 122,68, 3,2
13798
TopRight = 125,68, 2,2
@@ -142,10 +103,8 @@ BottomRight = 125,73, 2,2
142103
Right = 125,70, 2,3
143104
Filler = 122,70, 3,3
144105

145-
// Scrollbar Control
146-
// Knob-UpState
147106
[ScrollKnob_Up]
148-
Filename = greengui.png
107+
Filename = SkinGreen.png
149108
TopLeft = 112,78, 3,3
150109
Top = 114,78, 3,3
151110
TopRight = 116,78, 3,3
@@ -156,10 +115,8 @@ BottomRight = 116,84, 3,3
156115
Right = 117,81, 2,3
157116
Filler = 114,81, 3,3
158117

159-
// Scrollbar Control
160-
// Knob-DownState
161118
[ScrollKnob_Down]
162-
Filename = greengui.png
119+
Filename = SkinGreen.png
163120
TopLeft = 120,78, 3,3
164121
Top = 122,78, 3,3
165122
TopRight = 124,78, 3,3
@@ -170,102 +127,84 @@ BottomRight = 124,84, 3,3
170127
Right = 125,81, 2,3
171128
Filler = 122,81, 3,3
172129

173-
// Scrollbar Control
174-
// TopArrow
175130
[ScrollTopArrow]
176-
Filename = greengui.png
131+
Filename = SkinGreen.png
177132
ColorKeyIndex = 0
178133
Rect = 114,64, 3,3
179134

180-
// Scrollbar Control
181-
// BottomArrow
182135
[ScrollBottomArrow]
183-
Filename = greengui.png
136+
Filename = SkinGreen.png
184137
ColorKeyIndex = 0
185138
Rect = 122,64, 3,3
186139

187-
// Scrollbar Control
188-
// LeftArrow
189140
[ScrollLeftArrow]
190-
Filename = greengui.png
141+
Filename = SkinGreen.png
191142
ColorKeyIndex = 0
192143
Rect = 85,40, 3,3
193144

194-
// Scrollbar Control
195-
// RightArrow
196145
[ScrollRightArrow]
197-
Filename = greengui.png
146+
Filename = SkinGreen.png
198147
ColorKeyIndex = 0
199148
Rect = 85,32, 3,3
200149

201-
// Scrollbar Control
202-
// Background
203150
[ScrollBackground]
204-
Filename = greengui.png
151+
Filename = SkinGreen.png
205152
Filler = 112,87, 7,7
206153

207-
// Checkbox Control
208154
[Checkbox]
209-
Filename = checkbox.png
210-
ColorKeyIndex = 13
211-
Font = smallfont.png
155+
Filename = SkinGreen.png
156+
ColorKeyIndex = 0
157+
Font = FontSmall.png
212158
FontColor = 0
213-
Base = 0,0, 8,8
214-
MouseOver = 9,0, 8,8
215-
Check = 0,9, 8,8
216-
GreyCheck = 9,9, 8,8
159+
FontKerning = 0
160+
Base = 16,60, 7,7
161+
MouseOver = 24,60, 7,7
162+
Check = 16,67, 7,7
163+
GreyCheck = 23,67, 7,7
217164

218-
// RadioButton Control
219165
[RadioButton]
220-
Filename = browngui.png
166+
Filename = SkinGreen.png
221167
ColorKeyIndex = 0
222-
Font = smallfont.png
168+
Font = FontSmall.png
223169
FontColor = 0
224170
FontKerning = 0
225171
Base = 0,60, 7,7
226172
MouseOver = 8,60, 7,7
227173
Check = 0,67, 7,7
228174
GreyCheck = 8,67, 7,7
229175

230-
// Tab Control
231176
[Tab]
232-
Filename = tab.png
177+
Filename = TabGreen.png
233178
ColorKeyIndex = 0
234-
Font = smallfont.png
179+
Font = FontSmall.png
235180
FontColor = 0
236181
FontKerning = 0
237182
Base = 0,0, 57,17
238183
MouseOver = 0,19, 57,17
239184
Selected = 0,38, 57,17
240185
Disabled = 0,19, 57,17
241186

242-
// ProgressBar Control
243-
// Base
244187
[ProgressBar_Base]
245-
Filename = progress.png
246-
TopLeft = 0,0, 2,2
247-
Top = 3,0, 3,1
248-
TopRight = 7,0, 2,2
249-
Left = 0,3, 1,3
250-
BottomLeft = 0,7, 2,2
251-
Bottom = 3,8, 3,1
252-
BottomRight = 7,7, 2,2
253-
Right = 8,3, 1,3
254-
Filler = 10,0, 8,8
188+
Filename = Null.png
189+
TopLeft = 0,0, 1,1
190+
Top = 0,0, 1,1
191+
TopRight = 0,0, 1,1
192+
Left = 0,0, 1,1
193+
BottomLeft = 0,0, 1,1
194+
Bottom = 0,0, 1,1
195+
BottomRight = 0,0, 1,1
196+
Right = 0,0, 1,1
197+
Filler = 0,0, 1,1
255198

256-
// ProgressBar Control
257-
// Indicators
258199
[ProgressBar_Indicator]
259-
Filename = progress.png
260-
Top = 20,0, 10,1
261-
Centre = 20,2, 10,4
262-
Bottom = 20, 7, 10,1
263-
Spacing = 3
200+
Filename = Null.png
201+
Top = 0,0, 1,1
202+
Centre = 0,0, 1,1
203+
Bottom = 0,0, 1,1
204+
Spacing = 0,0, 1,1
264205

265-
// Slider Control
266-
// Horizontal section
267206
[Slider_Horz]
268-
Filename = greengui.png
207+
Filename = SkinGreen.png
269208
ColorKeyIndex = 13
270209
Start = 0,76, 2,9
271210
Middle = 3,76, 4,9
@@ -274,10 +213,8 @@ TopLeftSlider = 16,76, 9,3
274213
BottomRightSlider = 12,76, 3,9
275214
TickColorIndex = 0
276215

277-
// Slider Control
278-
// Vertical section
279216
[Slider_Vert]
280-
Filename = slider.png
217+
Filename = SkinGreen.png
281218
ColorKeyIndex = 13
282219
Start = 0,3, 2,2
283220
Middle = 0,6, 2,3
@@ -286,15 +223,14 @@ TopLeftSlider = 23,9, 14,8
286223
BottomRightSlider = 23,0, 14,8
287224
TickColorIndex = 0
288225

289-
// Text Box
290226
[TextBox]
291-
Font = smallfont.png
227+
Font = FontSmall.png
292228
CursorColorIndex = 117
293229
SelectedColorIndex = 117
294230
FontColor = 0
295231
FontKerning = 0
296232
FontSelectColor = 0
297-
Filename = greengui.png
233+
Filename = SkinGreen.png
298234
TopLeft = 112,11, 2,2
299235
Top = 115,11, 3,2
300236
TopRight = 119,11, 2,2
@@ -305,24 +241,18 @@ BottomRight = 119,18, 2,2
305241
Right = 119,14, 2,3
306242
Filler = 64,12, 8,8
307243

308-
309-
// Label Control
310244
[Label]
311-
Font = smallfont.png
245+
Font = FontSmall.png
312246
FontColor = 0
313247
FontKerning = 0
314248

315-
// Combo box
316-
// Arrow
317249
[ComboBox_Arrow]
318-
Filename = greengui.png
250+
Filename = SkinGreen.png
319251
ColorKeyIndex = 255
320252
Rect = 76,70, 7,5
321253

322-
// Combo box
323-
// Button_Up State
324254
[ComboBox_ButtonUp]
325-
Filename = greengui.png
255+
Filename = SkinGreen.png
326256
TopLeft = 112,11, 2,2
327257
Top = 115,11, 3,2
328258
TopRight = 119,11, 2,2
@@ -333,11 +263,8 @@ BottomRight = 119,18, 2,2
333263
Right = 119,14, 2,3
334264
Filler = 64,12, 8,8
335265

336-
337-
// Combo box
338-
// Button_Down State
339266
[ComboBox_ButtonDown]
340-
Filename = greengui.png
267+
Filename = SkinGreen.png
341268
TopLeft = 112,20, 2,2
342269
Top = 115,20, 3,2
343270
TopRight = 119,20, 2,2
@@ -346,21 +273,4 @@ BottomLeft = 112,27, 2,2
346273
Bottom = 115,27, 3,2
347274
BottomRight = 119,27, 2,2
348275
Right = 119,23, 2,3
349-
Filler = 64,12, 8,8
350-
351-
352-
// Property Page
353-
[PropertyPage]
354-
Font = smallfont.png
355-
FontColor = 0
356-
LineColor = 21
357-
Filename = proppage.png
358-
TopLeft = 112,11, 2,2
359-
Top = 115,11, 3,2
360-
TopRight = 119,11, 2,2
361-
Left = 112,14, 2,3
362-
BottomLeft = 112,18, 2,2
363-
Bottom = 115,18, 3,2
364-
BottomRight = 119,18, 2,2
365-
Right = 119,14, 2,3
366276
Filler = 64,12, 8,8

0 commit comments

Comments
 (0)