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

Commit dfc1120

Browse files
GacyrGacyr
authored andcommitted
Non-breaking, low-conflict changes for inventorymenugui so they're going straight to dev
Added InventoryMenuGUI and InventoryMenuGUI skin Added Info pie icon
1 parent 895c93b commit dfc1120

File tree

6 files changed

+651
-0
lines changed

6 files changed

+651
-0
lines changed

Base.rte/GUIs/Icons.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,13 @@ AddIcon = Icon
270270
BitmapFile = ContentFile
271271
FilePath = Base.rte/GUIs/PieIcons/Cancel.png
272272
AddToGroup = Pie Icons
273+
274+
AddIcon = Icon
275+
PresetName = Information
276+
FrameCount = 3
277+
BitmapFile = ContentFile
278+
FilePath = Base.rte/GUIs/PieIcons/Info.png
279+
AddToGroup = Pie Icons
273280

274281

275282
///////////////////////////////////////////////////////////////////////

Base.rte/GUIs/InventoryMenuGUI.ini

Lines changed: 229 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,229 @@
1+
[base]
2+
ControlType = COLLECTIONBOX
3+
Parent = None
4+
X = 0
5+
Y = 0
6+
Width = 640
7+
Height = 480
8+
Visible = True
9+
Enabled = True
10+
Name = base
11+
Anchor = Left, Top
12+
ToolTip = None
13+
DrawBackground = False
14+
DrawType = Color
15+
DrawColor = 7
16+
17+
[CollectionBox_InventoryMenuGUI]
18+
ControlType = COLLECTIONBOX
19+
Parent = base
20+
X = 0
21+
Y = 30
22+
Width = 200
23+
Height = 150
24+
Visible = True
25+
Enabled = True
26+
Name = CollectionBox_InventoryMenuGUI
27+
Anchor = Left, Top
28+
ToolTip = None
29+
DrawBackground = False
30+
DrawType = Color
31+
DrawColor = 144
32+
33+
[Label_InformationText]
34+
ControlType = LABEL
35+
Parent = CollectionBox_InventoryMenuGUI
36+
X = 0
37+
Y = 0
38+
Width = 200
39+
Height = 30
40+
Visible = True
41+
Enabled = True
42+
Name = Label_InformationText
43+
Anchor = Left, Top
44+
ToolTip = None
45+
Text = Useful information here, keep it to two lines please
46+
HAlignment = centre
47+
VAlignment = middle
48+
49+
[CollectionBox_EquippedItems]
50+
ControlType = COLLECTIONBOX
51+
Parent = CollectionBox_InventoryMenuGUI
52+
X = 0
53+
Y = 30
54+
Width = 200
55+
Height = 30
56+
Visible = True
57+
Enabled = True
58+
Name = CollectionBox_EquippedItems
59+
Anchor = Left, Top
60+
ToolTip = None
61+
DrawBackground = True
62+
DrawType = Color
63+
DrawColor = 144
64+
65+
[Button_SwapSet]
66+
ControlType = BUTTON
67+
Parent = CollectionBox_EquippedItems
68+
X = 45
69+
Y = 0
70+
Width = 15
71+
Height = 30
72+
Visible = True
73+
Enabled = True
74+
Name = Button_SwapSet
75+
Anchor = Left, Top
76+
ToolTip = None
77+
Text = S
78+
79+
[Button_EquippedItem]
80+
ControlType = BUTTON
81+
Parent = CollectionBox_EquippedItems
82+
X = 60
83+
Y = 0
84+
Width = 80
85+
Height = 30
86+
Visible = True
87+
Enabled = True
88+
Name = Button_EquippedItem
89+
Anchor = Left, Top
90+
ToolTip = None
91+
Text = > <
92+
93+
[Button_OffhandEquippedItem]
94+
ControlType = BUTTON
95+
Parent = CollectionBox_EquippedItems
96+
X = 100
97+
Y = 0
98+
Width = 40
99+
Height = 30
100+
Visible = False
101+
Enabled = True
102+
Name = Button_OffhandEquippedItem
103+
Anchor = Left, Top
104+
ToolTip = None
105+
Text = > <
106+
107+
[Button_Reload]
108+
ControlType = BUTTON
109+
Parent = CollectionBox_EquippedItems
110+
X = 140
111+
Y = 0
112+
Width = 15
113+
Height = 15
114+
Visible = True
115+
Enabled = True
116+
Name = Button_Reload
117+
Anchor = Left, Top
118+
ToolTip = Equip and reload selected item
119+
Text = R
120+
121+
[Button_Drop]
122+
ControlType = BUTTON
123+
Parent = CollectionBox_EquippedItems
124+
X = 140
125+
Y = 15
126+
Width = 15
127+
Height = 15
128+
Visible = True
129+
Enabled = True
130+
Name = Button_Drop
131+
Anchor = Left, Top
132+
ToolTip = Drop selected item
133+
Text = D
134+
135+
[Button_InformationToggle]
136+
ControlType = BUTTON
137+
Parent = CollectionBox_InventoryMenuGUI
138+
X = 185
139+
Y = 30
140+
Width = 15
141+
Height = 15
142+
Visible = True
143+
Enabled = True
144+
Name = Button_InformationToggle
145+
Anchor = Left, Top
146+
ToolTip = Show/Hide useful information
147+
Text = X
148+
149+
[CollectionBox_InventoryItems]
150+
ControlType = COLLECTIONBOX
151+
Parent = CollectionBox_InventoryMenuGUI
152+
X = 0
153+
Y = 60
154+
Width = 200
155+
Height = 90
156+
Visible = True
157+
Enabled = True
158+
Name = CollectionBox_InventoryItems
159+
Anchor = Left, Top
160+
ToolTip = None
161+
DrawBackground = True
162+
DrawType = Color
163+
DrawColor = 144
164+
165+
[Scrollbar_InventoryItems]
166+
ControlType = SCROLLBAR
167+
Parent = CollectionBox_InventoryItems
168+
X = 200
169+
Y = 0
170+
Width = 9
171+
Height = 90
172+
Visible = False
173+
Enabled = False
174+
Name = Scrollbar_InventoryItems
175+
Anchor = Left, Top
176+
ToolTip = None
177+
Orientation = Vertical
178+
Minimum = 0
179+
Maximum = 100
180+
Value = 0
181+
PageSize = 1
182+
SmallChange = 1
183+
184+
[Button_InventoryItemTemplate]
185+
ControlType = BUTTON
186+
Parent = CollectionBox_InventoryItems
187+
X = 0
188+
Y = 0
189+
Width = 40
190+
Height = 30
191+
Visible = True
192+
Enabled = True
193+
Name = Button_InventoryItemTemplate
194+
Anchor = Left, Top
195+
ToolTip = None
196+
Text = > <
197+
198+
[CollectionBox_Popup]
199+
ControlType = COLLECTIONBOX
200+
Parent = base
201+
X = 300
202+
Y = 0
203+
Width = 108
204+
Height = 128
205+
Visible = False
206+
Enabled = False
207+
Name = CollectionBox_Popup
208+
Anchor = Left, Top
209+
ToolTip = None
210+
DrawBackground = True
211+
DrawType = Image
212+
DrawColor = 144
213+
214+
[Label_PopupText]
215+
ControlType = LABEL
216+
Parent = CollectionBox_Popup
217+
X = 8
218+
Y = 4
219+
Width = 92
220+
Height = 120
221+
Visible = True
222+
Enabled = True
223+
Name = Label_PopupText
224+
Anchor = Left, Top
225+
ToolTip = None
226+
Text = Item Description:
227+
HAlignment = left
228+
VAlignment = top
229+

Base.rte/GUIs/PieIcons/Info000.png

953 Bytes
Loading

Base.rte/GUIs/PieIcons/Info001.png

952 Bytes
Loading

Base.rte/GUIs/PieIcons/Info002.png

969 Bytes
Loading

0 commit comments

Comments
 (0)