1#textdomain wesnoth-lib
2###
3### Definition of the window to ask for deleting a savegame file
4###
5
6[window]
7	id = "game_delete"
8	description = "Confirmation for deleting a savegame."
9
10	[resolution]
11		definition = "default"
12
13		automatic_placement = true
14		vertical_placement = "center"
15		horizontal_placement = "center"
16
17		[tooltip]
18			id = "tooltip"
19		[/tooltip]
20
21		[helptip]
22			id = "tooltip"
23		[/helptip]
24
25		[grid]
26
27			[row]
28				grow_factor = 0
29
30				[column]
31					grow_factor = 1
32
33					border = "all"
34					border_size = 5
35					horizontal_alignment = "left"
36					[label]
37						id = "lblTitle"
38						definition = "title"
39
40						label = _ "Delete Save"
41					[/label]
42
43				[/column]
44
45			[/row]
46
47			[row]
48				grow_factor = 0
49
50				[column]
51					grow_factor = 1
52
53					border = "all"
54					border_size = 5
55					horizontal_alignment = "left"
56					[label]
57						id = "lblMessage"
58						definition = "default"
59
60						label = _ "Do you really want to delete this game?"
61					[/label]
62
63				[/column]
64
65			[/row]
66
67			[row]
68				grow_factor = 1
69
70				[column]
71					grow_factor = 1
72
73					border = "all"
74					border_size = 5
75					horizontal_alignment = "left"
76					[toggle_button]
77						id = "dont_ask_again"
78						definition = "default"
79
80						label = _ "Do not show again"
81					[/toggle_button]
82
83				[/column]
84
85			[/row]
86
87			[row]
88				grow_factor = 0
89
90				[column]
91					horizontal_alignment = "right"
92
93					[grid]
94
95						[row]
96							grow_factor = 0
97
98							[column]
99								border = "all"
100								border_size = 5
101								horizontal_alignment = "right"
102
103								[button]
104									id = "ok"
105									definition = "default"
106
107									label = _ "Yes"
108								[/button]
109
110							[/column]
111
112							[column]
113								border = "all"
114								border_size = 5
115								horizontal_alignment = "right"
116
117								[button]
118									id = "cancel"
119									definition = "default"
120
121									label = _ "No"
122								[/button]
123
124							[/column]
125
126						[/row]
127
128					[/grid]
129
130				[/column]
131
132			[/row]
133
134		[/grid]
135
136	[/resolution]
137
138[/window]
139