<xml>
	<ui style="ui/styles/style.css">
		<OnEvent id="ExitConfirm" />
		
		<core.Widget
			id="Options_Hovered"
			image="ui/widgets/menu_main_arrows"
			iuv="0,0,319,127"
			position="704,384"
			class="overlay" 
			visible="false"/>
			
		<core.Widget 
			id="Extras_Hovered"
			image="ui/widgets/menu_main_arrows"
			iuv="0,128,319,255"
			position="704,448"
			class="overlay" 
			visible="false" />
			
		<core.Widget 
			id="Play_Hovered"
			image="ui/widgets/menu_main_arrows"
			iuv="320,0,639,191"
			position="192,320"
			class="overlay" 
			visible="false" />
			
		<core.Widget 
			id="Exit_Hovered"
			image="ui/widgets/menu_main_arrows"
			iuv="640,0,959,191"
			position="704,576"
			class="overlay" 
			visible="false" />
			
		<core.Widget
			id="Menu_Main"
			class="overlay">
			<core.Widget 
				text="*PLAY"
				class="menulink floatlink biglink"
				position="200,380"
				rotation="7">
				<OnEvent id="MouseUp">
					if not core.profiles.IsSmthSelected():
						(core.Lib.scene.ui >> 'Menu_Profiles').play_after = True
						(core.Lib.scene.ui >> 'Menu_Profiles').FadeIn()
					else:
						core.Lib.scene.result = 'stagemap.StageMap()'
				</OnEvent>
				<OnEvent id="MouseEnter">
					(core.Lib.scene.ui >> 'Play_Hovered').visible = True
				</OnEvent>
				<OnEvent id="MouseLeave">
					(core.Lib.scene.ui >> 'Play_Hovered').visible = False
				</OnEvent>
			</core.Widget>
			<core.Widget 
				text="*OPTIONS"
				class="menulink floatlink"
				position="740,400"
				rotation="7">
				<OnEvent id="MouseUp">
					(core.Lib.scene.ui >> 'Menu_Options').FadeIn()
				</OnEvent>
				<OnEvent id="MouseEnter">
					(core.Lib.scene.ui >> 'Options_Hovered').visible = True
				</OnEvent>
				<OnEvent id="MouseLeave">
					(core.Lib.scene.ui >> 'Options_Hovered').visible = False
				</OnEvent>
			</core.Widget>
			<core.Widget 
				text="*EXTRAS"
				class="menulink floatlink"
				position="750,485"
				rotation="12">
				<OnEvent id="MouseUp">
					(core.Lib.scene.ui >> 'Menu_Extras').FadeIn()
				</OnEvent>
				<OnEvent id="MouseEnter">
					(core.Lib.scene.ui >> 'Extras_Hovered').visible = True
				</OnEvent>
				<OnEvent id="MouseLeave">
					(core.Lib.scene.ui >> 'Extras_Hovered').visible = False
				</OnEvent>
			</core.Widget>
			<core.Widget 
				class="exitlink"
				position="810,640">
				<OnEvent id="MouseUp">
					core.Lib.scene.ui.ExitConfirm()
				</OnEvent>
				<OnEvent id="MouseEnter">
					(core.Lib.scene.ui >> 'Exit_Hovered').visible = True
				</OnEvent>
				<OnEvent id="MouseLeave">
					(core.Lib.scene.ui >> 'Exit_Hovered').visible = False
				</OnEvent>
			</core.Widget>
		</core.Widget>
		
		<core.Widget 
			id="Menu_PlayerInfo"
			class="menuplayerinfo"
			position="0, 685">
			<core.Widget 
				text="*CHANGEPLAYER"
				class="change">
				<OnEvent id="MouseUp">
					(core.Lib.scene.ui >> 'Menu_Profiles').FadeIn()
				</OnEvent>
			</core.Widget>
			<core.Widget 
				text="*HELLOPLAYER"
				class="name" />
			<OnEvent id="Created">
				self.visible = bool(core.profiles.profiles)
			</OnEvent>
		</core.Widget>
		
		<core.Widget
			id="Menu_Extras"
			fader="darkness"
			visible="false"
			class="darkness">
			<core.Widget id="Window" class="window">
				<core.Widget class="title" text="*EXTRAS" />
				<core.Widget class="cross">
					<OnEvent id="MouseUp">
						self.window.FadeOut()
					</OnEvent>
				</core.Widget>
				<core.Widget class="profiles">
					<core.Widget text="*ACHIEVEMENTS" class="profile input">
						<OnEvent id="MouseUp">
							(core.Lib.scene.ui >> 'Menu_Achievements').FadeIn()
						</OnEvent>
						<OnEvent id="Created">
							if not core.ce:
								self.Dispose()
							self.parent.Attach(core.mod.Timer, time = 0.1, callback = lambda x: x.UpdateStyle())
						</OnEvent>
					</core.Widget>
					<core.Widget text="*HOWTOPLAY" class="profile input">
						<OnEvent id="MouseUp">
							(core.Lib.scene.ui >> 'Menu_HowToPlay').FadeIn()
						</OnEvent>
					</core.Widget>
					<core.Widget text="*CUSTOMERTYPES" class="profile input">
						<OnEvent id="MouseUp">
							window = core.Lib.scene.ui >> 'Menu_Customers'
							window.FadeIn()
							for i in range(6):
								icon = (window >> ('Art_{0}'.format(i)) >> 'Icon')
								icon.character.visible = True
								icon.character.transparency = 0
								icon.character.Attach(core.mod.Tween, time = 0.5, flags = 'out', easer = 'sine')\
									.AddTransparency(1)
						</OnEvent>
					</core.Widget>
					<core.Widget text="*CHARACTERS" class="profile input">
						<OnEvent id="MouseUp">
							window = core.Lib.scene.ui >> 'Menu_Characters'
							window.FadeIn()
							for i in range(6):
								icon = (window >> ('Art_{0}'.format(i)) >> 'Icon')
								icon.character.visible = True
								icon.character.transparency = 0
								icon.character.Attach(core.mod.Tween, time = 0.5, flags = 'out', easer = 'sine')\
									.AddTransparency(1)
						</OnEvent>
					</core.Widget>
					<core.Widget text="*CREDITS" class="profile input">
						<OnEvent id="MouseUp">
							(core.Lib.scene.ui >> 'Menu_Credits').FadeIn()
						</OnEvent>
					</core.Widget>
				</core.Widget>
				<core.Widget 
					class="button buttonbox cancel"
					text="*CLOSE">
					<OnEvent id="MouseUp">
						self.window.FadeOut()
					</OnEvent>
				</core.Widget>
			</core.Widget>
		</core.Widget>
		
		<core.Widget
			id="Menu_Profiles"
			fader="darkness"
			visible="false"
			class="darkness">
			<core.Widget id="Window" class="window">
				<core.Widget class="title" text="*SELECTPROFILE" />
				<core.Widget class="cross">
					<OnEvent id="MouseUp">
						self.window.FadeOut()
						if not core.profiles.selected.name:
							if core.profiles.profiles:
								core.profiles.Select(core.profiles.profiles[0].name)
								core.Lib.vars.playername = core.profiles.selected.name
							else:
								(core.Lib.scene.ui >> 'Menu_PlayerInfo').Hide()
						else:
							core.Lib.vars.playername = core.profiles.selected.name
					</OnEvent>
				</core.Widget>
				<core.Widget class="profiles">
					<core.Widget id="Profile_%" class="profile" repeatme="6">
						<OnEvent id="MouseUp">
							self.selected = True
						</OnEvent>
						<OnEvent id="KeyDown">
							if 'input' not in self.classes:
								return
							if self.blinkstate:
								self.text = self.text[:-1]
								self.blinkstate = False
							if ord(e) == 127:
								self.text = self.text[:-1]
								if core.profiles.HasProfile(self.text):
									self.class_ = 'input invalid'
								else:
									self.class_ = 'input'
								self.ResetCaret()
								(self.window >> 'Button_Okay').enabled = \
									not core.profiles.HasProfile(self.text and len(self.text) > 0)
							elif ord(e) == 13:
								if not core.profiles.HasProfile(self.text):
									self.restore = self.text
									self.selected = False
									core.profiles.CreateProfile(self.text)
									self.window.RecreateProfiles()
							elif ord(e) == 27:
								self.selected = False
								self.class_ = 'input'
							elif core.Lib.scene.CheckLetterInFont(ord(e), 'default') and 12 > len(self.text):
								self.text += e
								if core.profiles.HasProfile(self.text):
									self.class_ = 'input invalid'
								else:
									self.class_ = 'input'
								self.ResetCaret()
								(self.window >> 'Button_Okay').enabled = \
									not core.profiles.HasProfile(self.text)
						</OnEvent>
						<OnEvent id="GotFocus">
							self.restore = self.text
							self.window.selected_profile = self.text
							if 'input' in self.classes:
								self.text = str()
								if len(core.profiles.profiles) == 0:
									self.text = "*DEFAULTPLAYERNAME"
									(self.window >> 'Button_Okay').enabled = True
								self.ResetCaret()
								(self.window >> 'Button_Okay')._input = self
							else:
								(self.window >> 'Button_Delete').enabled = True
								(self.window >> 'Button_Okay').enabled = True
								core.profiles.Select(self.text)
								(self.window >> 'Button_Okay')._input = None
						</OnEvent>
						<OnEvent id="LostFocus">
							self.text = self.restore
							(self.window >> 'Button_Delete').enabled = False
							(self.window >> 'Button_Okay').enabled = False
							if 'input' in self.classes:
								self.class_ = 'input'
								if self.blinker:
									self.blinker.Dispose()
									self.blinker = None
						</OnEvent>
						<OnEvent id="ResetCaret">
							if hasattr(self, 'blinker') and self.blinker is not None:
								self.blinker.Dispose()
							self.blinker = self.Attach(core.mod.Timer, time = 0.5, repeats = -1,
								callback = lambda x: x.UpdateCaret())
							self.text += '_'
							self.blinkstate = True
						</OnEvent>
						<OnEvent id="UpdateCaret">
							if self.blinkstate:
								self.text = self.text[:-1]
							else:
								self.text = self.text + '_'
							self.blinkstate = not self.blinkstate
						</OnEvent>
					</core.Widget>
				</core.Widget>
				<core.Widget class="buttonbox" columns="2">
					<core.Widget 
						id="Button_Okay"
						class="button ok"
						text="*OKAY">
						<OnEvent id="MouseUp">
							if self._input:
								self._input.KeyDown(self, chr(13))
							core.Lib.vars.playername = core.profiles.selected.name
							if hasattr(self.window, 'play_after'):
								core.Lib.scene.result = 'stagemap.StageMap()'
							elif hasattr(self.window, 'play_es_after'):
								pass #do endless shift
							else:
								self.window.FadeOut()
						</OnEvent>
					</core.Widget>
					<core.Widget 
						id="Button_Delete"
						class="button cancel"
						text="*DELETE"
						enabled="false">
						<OnEvent id="MouseUp">
							core.Lib.scene.ui.selected = False
							core.profiles.RemoveProfile(self.window.selected_profile)
							core.profiles.Deselect()
							self.window.RecreateProfiles()
						</OnEvent>
					</core.Widget>
				</core.Widget>
			</core.Widget>
			<OnEvent id="RecreateProfiles">
				num_profiles = len(core.profiles.profiles)
				found_selected = False
				for i in range(6):
					widget = self >> 'Profile_{0}'.format(i)
					widget.text = str()
					widget.class_ = 'profile'
					widget.blank_text = "*NEWPROFILE"
					if num_profiles > i:
						widget.text = core.profiles.profiles[i].name
						widget.enabled = True
						if core.profiles.selected.name == widget.text:
							widget.selected = True
							found_selected = True
					elif num_profiles == i:
						widget.text = widget.blank_text
						widget.class_ = 'input'
						widget.enabled = True
					else:
						widget.enabled = False
				(self.window >> 'Button_Okay').enabled = found_selected
			</OnEvent>
			<OnEvent id="FadeIn" with_params="False">
				self.RecreateProfiles()
			</OnEvent>
			<OnEvent id="FadeOut" with_params="False">
				if hasattr(self, 'play_after'):
					del self.play_after
				if hasattr(self, 'play_es_after'):
					del self.play_es_after
			</OnEvent>
		</core.Widget>
		<core.Widget
			id="Menu_Achievements"
			fader="darkness"
			visible="false"
			class="darkness">
			<core.Widget
				id="Window"
				class="window window_7">
				<core.Widget class="title" text="*ACHIEVEMENTS" position="0,-78" />
				<core.Widget class="cross">
					<OnEvent id="MouseUp">
						self.window.FadeOut()
					</OnEvent>
				</core.Widget>
				<core.Widget 
					columns="4"
					position="22,-81"
					width="280">
					<core.Widget 
						id="Ach_%"
						repeatme="20"
						image="ui/widgets/achievements_thumbs" 
						uv="0,0,0.125,0.25">
						<OnEvent id="Created">
							import waiter
							number = int(self.id[4:])
							if core.profiles.selected.achievements[number] > 0:
								self.color = 'white'
								(self >> 'Clickable').achieved = True
							else:
								self.color = '#A0000000'
								(self >> 'Clickable').achieved = False
							self.uv = waiter.achievements[number]
							self.position = -(self.width - 64) / 2, 7 * (number / 4)
							(self >> 'Clickable').position = (self.width - 64) / 2, 0
							(self >> 'Clickable').achievement_id = number
							self.nohoversolo = True 
						</OnEvent>
						<core.Widget 
							id="Clickable"
							width="64"
							height="64"
							class="click_sound">
							<OnEvent id="MouseUp">
								from progression import Achievement
								ad = core.Lib.scene.ui >> 'Achievement_Details'
								id, score, reward = Achievement.Indices[self.achievement_id]
								name, description = core.LocalizePair('ACHIEVEMENT_' + id)
								if self.achieved:
									(ad >> 'Icon').color = 'white'
								else:
									(ad >> 'Icon').color = '#A0000000'
								(ad >> 'Icon').number = self.achievement_id
								(ad >> 'Name' >> 'Contents').text = name
								(ad >> 'Description' >> 'Text').text = description.replace('~', '~c').format(score, **core.profiles.selected.vars)
								(ad >> 'Description').UpdateStyle()
								(ad >> 'Icon').UpdateIcon()
								(ad >> 'RewardCoins').value = str(reward)
								ad.FadeIn()
							</OnEvent>
						</core.Widget>
					</core.Widget>
				</core.Widget>
				<core.Widget 
					class="button buttonbox cancel"
					text="*CLOSE"
					position="0,65">
					<OnEvent id="MouseUp">
						self.window.FadeOut()
					</OnEvent>
				</core.Widget>
			</core.Widget>
		</core.Widget>		
		<core.Widget
			id="Achievement_Details"
			fader="darkness"
			visible="false"
			class="darkness"
			soundout="close_click">
			<core.Widget
				id="Window"
				position="0,0"
				class="achievement"
				fader="scale"
				visible="false">
				<core.Widget 
					id="Title"
					class="title"
					text="*ACHIEVEMENTDESCRIPTION" />
				<core.Widget
					class="name"
					id="Name">
					<core.Widget 
						class="contents" 
						text="Lorem ipsum" 
						id="Contents" />
				</core.Widget>
				<core.Widget class="stats_table reward_icon">
					<level.Stat id="RewardCoins" label="*REWARD" value="99" class="unimportant gold" />
				</core.Widget>
				<core.Widget
					class="description"
					id="Description">
					<core.Widget 
						id="Text"
						class="inner"
						text="Lorem ipsum dolor sit amet, consectetur adipiscing elit." />
				</core.Widget>
				<core.Widget
					class="icon"
					image="ui/widgets/achievements"
					uv="0,0,0.125,0.25"
					id="Icon"
					number="0">
					<OnEvent id="UpdateIcon">
						import waiter
						self.uv = waiter.achievements[int(self.number)]
						self.position = -(self.width - 128) / 2, 0
					</OnEvent>
				</core.Widget>
			</core.Widget>
			<OnEvent id="Created">
				for node in self.nodes:
					node.nohover = True
			</OnEvent>
			<OnEvent id="MouseUp">
				self.FadeOut()
			</OnEvent>
		</core.Widget>
		<core.Widget
			id="Menu_Options"
			fader="darkness"
			visible="false"
			class="darkness">
			<core.Widget 
				id="Window"
				class="window">
				<core.Widget
					class="title" 
					text="*OPTIONS" />
				<core.Widget class="cross">
					<OnEvent id="MouseUp">
						self.window.FadeOut()
					</OnEvent>
				</core.Widget>
				<core.Widget class="profiles">
					<core.Widget 
						position="0,5"
						columns="2">
						<core.Widget 
							text="*MUSIC" 
							class="options" />
						<menu.ToggleButton
							value="core.Lib.sound.music_enabled" />
						<core.Widget 
							text="*SOUND" 
							class="options" />
						<menu.ToggleButton 
							value="core.Lib.sound.sound_enabled" />
						<core.Widget 
							text="*FULLSCREEN" 
							class="options" />
						<menu.ToggleButton 
							value="core.Lib.window.fullscreen" />
					</core.Widget>
				</core.Widget>
				<core.Widget 
					class="buttonbox"
					columns="1">
					<core.Widget 
						class="button ok"
						text="*OKAY">
						<OnEvent id="MouseUp">
							self.window.FadeOut()
						</OnEvent>
					</core.Widget>
					<!--core.Widget 
						class="button cancel"
						text="*CANCEL">
						<OnEvent id="MouseUp">
							self.window.FadeOut()
						</OnEvent>
					</core.Widget-->
				</core.Widget>
			</core.Widget>
		</core.Widget>
		
		<core.Widget
			id="Menu_Customers"
			fader="overscale2"
			visible="false"
			class="paperback">
			<core.Widget 
				id="Title"
				class="partwork_title"
				text="*CUSTOMERTYPES" />
			<core.Widget
				class="partwork_container"
				position="0,100"
				columns="2">
				<core.Widget
					id="Art_%"
					class="partwork_holder"
					repeatme="6">
					<core.Widget
						id="Description"
						class="desc">
						<core.Widget 
							id="Title"
							class="title"
							position="55,-7"
							text="Lorem ipsum" />
						<core.Widget 
							id="Details"
							class="details"
							position="57,100"
							text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus gravida suscipit magna ut gravida." />
					</core.Widget>
					<menu.HelpCharacter
						id="Icon"
						class="icon"
						size="128,128">
						<OnEvent id="Created">
							import level, customer
							self.model = level.all_customers[self.parent.number]
							self.team = customer.Customer.TEAMS[core.Lib.scene.random(4) + 1]
							self.character.visible = False
							note = 'HELP_{0}_NOTE'.format(self.model.upper())
							name = 'HELP_{0}'.format(self.model.upper())
							if getattr(core.Lib.texts, note) != note:
								(self.parent >> 'Details').text = ' *' + getattr(core.Lib.texts, note)
							else:
								(self.parent >> 'Details').text = ''
							(self.parent >> 'Title').text = getattr(core.Lib.texts, name)
						</OnEvent>
					</menu.HelpCharacter>
					
					<core.Widget 
						id="WaiterStats" 
						class="waiter_stat_container"
						position="150,35">
						<core.Widget
							id="StateHolder"
							class="holder"
							position="40,0">
							<core.Widget
								id="State_%"
								width="128"
								height="30"
								repeatme="3"
								class="board">
								<core.Widget 
									id="Progress" 
									class="stat" 
									image="ui/widgets/panel_4_small"
									color="darkgray"
									uv="0,0,1,0.25"/>
								<core.Widget
									id="Label"
									class="label" text="Label" />
							</core.Widget>
						</core.Widget>
						<OnEvent id="Created">
							#owner = core.Lib.scene >> self.owner
							import customer, level
							params = customer.Config(level.all_customers[self.parent.number])
							stats = [ 
								(params.mood_stand + params.mood_sit) / 4, 
								params.pause * 4,
								params.tip * 3,
							]
							labels = [ '*PATIENCE', '*SLOWNESS', '*GENEROSITY' ]
							states = self >> 'StateHolder'
							options = self >> 'EventHolder'
							for i in range(3):
								state = states >> 'State_{0}'.format(i)
								state.position = 0, i * 32
								(state >> 'Progress').uv = stats[i] / 100.0, i * 0.25, 1, (i + 1) * 0.25
								(state >> 'Progress').position = stats[i] * 128 / 100, 0
								(state >> 'Label').text = labels[i]
							self.visible = True
						</OnEvent>
					</core.Widget>
				</core.Widget>
				<core.Widget 
					class="button cancel"
					text="*BACK"
					position="195,40">
					<OnEvent id="MouseUp">
						self.window.FadeOut()
						for i in range(6):
							icon = (self.window >> ('Art_{0}'.format(i)) >> 'Icon')
							icon.character.Attach(core.mod.Tween, time = 0.5, flags = 'out', easer = 'sine')\
								.AddTransparency(0)\
								.Finished += icon.character.Hide
					</OnEvent>
				</core.Widget>
			</core.Widget>
		</core.Widget>
		
		<core.Widget
			id="Menu_Characters"
			fader="overscale2"
			visible="false"
			class="paperback">
			<core.Widget 
				id="Title"
				class="partwork_title"
				text="*CHARACTERS" />
			<core.Widget
				id="Window"
				class="partwork_container"
				position="0,100"
				columns="2">
				<core.Widget
					id="Art_%"
					class="partwork_holder"
					repeatme="6">
					<core.Widget
						id="Description"
						class="desc">
						<core.Widget 
							id="Title"
							class="title"
							position="-40,8"
							text="Lorem ipsum" />
						<core.Widget 
							id="Details"
							class="details details_bigger"
							position="-40,17"
							text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus gravida suscipit magna ut gravida." />
					</core.Widget>
					<menu.HelpCharacter
						id="Icon"
						class="icon"
						size="128,128">
						<OnEvent id="Created">
							import level, customer
							self.model = level.all_characters[self.parent.number + 2][0]
							self.character.visible = False
							name, desc = core.LocalizePair(getattr(core.Lib.texts, 'HELP_{0}'.format(self.model.upper())))
							(self.parent >> 'Title').text = name
							(self.parent >> 'Details').text = desc.replace('~', '~c')
						</OnEvent>
					</menu.HelpCharacter>
				</core.Widget>
				<core.Widget 
					class="button cancel"
					text="*BACK"
					position="195,40">
					<OnEvent id="MouseUp">
						self.window.FadeOut()
						for i in range(6):
							icon = (self.window >> ('Art_{0}'.format(i)) >> 'Icon')
							icon.character.Attach(core.mod.Tween, time = 0.5, flags = 'out', easer = 'sine')\
								.AddTransparency(0)\
								.Finished += icon.character.Hide
					</OnEvent>
				</core.Widget>
			</core.Widget>
		</core.Widget>
		<core.Widget
			id="Menu_HowToPlay"
			fader="overscale"
			visible="false"
			class="paperback">
			<core.Widget 
				id="Title"
				class="partwork_title"
				text="*HOWTOPLAY" />
			<core.Widget
				id="Window"
				class="partwork_container"
				position="-20,100"
				width="512">
				<core.Widget
					id="Art_%"
					class="partwork_holder"
					size="512,512"
					image="ui/widgets/howtoplay"/>
				<core.Widget 
					class="button cancel"
					text="*BACK"
					position="20,0">
					<OnEvent id="MouseUp">
						self.window.FadeOut()
					</OnEvent>
				</core.Widget>
			</core.Widget>
		</core.Widget>
		<core.Widget
			id="Menu_Credits"
			fader="overscale"
			visible="false"
			class="paperback">
			<core.Widget 
				id="Title"
				class="partwork_title"
				text="*CREDITS" />
			<core.Widget
				id="Window"
				class="partwork_container"
				position="0,150"
				width="512"
				columns="2">
				<core.Widget
					class="partwork_credits">
					<OnEvent id="Created">
						self.text = core.Lib.texts.GAMECREDITS_0.replace('~', '~c').replace('.', '')
					</OnEvent>
				</core.Widget>
				<core.Widget
					class="partwork_credits">
					<OnEvent id="Created">
						self.text = core.Lib.texts.GAMECREDITS_1.replace('~', '~c').replace('.', '')
					</OnEvent>
				</core.Widget>
			</core.Widget>
			<core.Widget 
				class="button cancel"
				text="*BACK"
				position="0,650">
				<OnEvent id="MouseUp">
					self.window.FadeOut()
				</OnEvent>
			</core.Widget>
		</core.Widget>
		
		<core.Widget
			id="Panel_ExitConfirm"
			class="darkness"
			fader="darkness"
			fadein="ExitConfirm"
			soundin="window_appear">
			<core.Widget
				id="Window"
				class="window window_small">
				<core.Widget class="title bright" textshuffle="0.03" text="*QUITGAME" />
				<core.Widget id="Intro_1" class="intro">
					<core.Widget id="Content" class="contents" text="*QUITGAME_TEXT" />
				</core.Widget>
				<core.Widget id="ButtonBox" class="buttonbox" columns="2">
					<core.Widget text="*YES" class="ok button">
						<OnEvent id="MouseUp">
							core.Lib.scene.result = str()
						</OnEvent>
					</core.Widget>
					<core.Widget text="*NO" class="cancel button">
						<OnEvent id="MouseUp">
							self.window.FadeOut()
						</OnEvent>
					</core.Widget>
				</core.Widget>
			</core.Widget>
		</core.Widget>
		
		<core.Widget class="blackbar_left" />
		<core.Widget class="blackbar_right" />
	</ui>
	<scene>
		<core.media.Camera 
			id="Camera01" 
			position="-372.073,-419.296,504.024" 
			rotation="-0.46194,0.191342,0.331414,-0.800103" 
			fov="-45" />
	</scene>
</xml>