Skip to content

Commit e007334

Browse files
committed
Added confimation dialog for overwrite/delete
1 parent 057b04a commit e007334

File tree

1 file changed

+57
-1
lines changed

1 file changed

+57
-1
lines changed

Data/Base.rte/GUIs/SaveLoadMenuGUI.ini

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,4 +184,60 @@ Name = ActivityCannotBeSavedWarning
184184
Anchor = Left, Top
185185
Text = The currently played activity does not allow saving.
186186
HAlignment = Centre
187-
VAlignment = Centre
187+
VAlignment = Centre
188+
189+
[ConfirmDialog]
190+
ControlType = COLLECTIONBOX
191+
Parent = root
192+
X = 190
193+
Y = 100
194+
Width = 166
195+
Height = 90
196+
Visible = True
197+
Enabled = True
198+
Name = ConfirmDialog
199+
Anchor = Left, Top
200+
DrawBackground = True
201+
DrawType = Image
202+
DrawColor = 0
203+
204+
[ConfirmLabel]
205+
ControlType = LABEL
206+
Parent = ConfirmDialog
207+
X = 10
208+
Y = 10
209+
Width = 146
210+
Height = 46
211+
Visible = True
212+
Enabled = True
213+
Name = ConfirmLabel
214+
Anchor = Left, Top
215+
Text = CONFIRM?
216+
HAlignment = centre
217+
VAlignment = top
218+
219+
[ConfirmButton]
220+
ControlType = BUTTON
221+
Parent = ConfirmDialog
222+
X = 10
223+
Y = 60
224+
Width = 70
225+
Height = 20
226+
Visible = True
227+
Enabled = True
228+
Name = ConfirmButton
229+
Anchor = Left, Top
230+
Text = Confirm
231+
232+
[CancelButton]
233+
ControlType = BUTTON
234+
Parent = ConfirmDialog
235+
X = 85
236+
Y = 60
237+
Width = 70
238+
Height = 20
239+
Visible = True
240+
Enabled = True
241+
Name = CancelButton
242+
Anchor = Left, Top
243+
Text = Cancel

0 commit comments

Comments
 (0)