<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol>9000</defaultcontrol>
	<coordinates>
		<origin x="712" y="155"/>
	</coordinates>
	<include>Animation_DialogPopupOpenClose</include>
	<controls>
		<include>ContextFade</include>
		<control type="group">
			<include content="CenterContext">
				<param name="id" value="9000" />
			</include>
			<width>446</width>
			<height max="780">auto</height>
			<!-- <usecontrolcoords>true</usecontrolcoords> -->
			<control type="label">
				<top>-70</top>
				<left>-225</left>
				<width>896</width>
				<height>70</height>
				<font>font36_title</font>
				<textcolor>unfocused_text</textcolor>
				<align>center</align>
				<label>$LOCALIZE[31072]</label>
			</control>
			<control type="panel" id="9000">
				<include>ButtonMenuList</include>
				<content>
					<item>
						<label>Reload skin</label>
						<onclick>Dialog.Close(all)</onclick>
						<onclick>ReloadSkin()</onclick>
					</item>
					<item>
						<label>Skin settings</label>
						<onclick>Dialog.Close(all)</onclick>
						<onclick>ActivateWindow(SkinSettings.xml)</onclick>
					</item>
					<item>
						<label>Toggle debugging</label>
						<onclick>Dialog.Close(all)</onclick>
						<onclick>Skin.ToggleDebug()</onclick>
					</item>
					<item>
						<label>System information</label>
						<onclick>Dialog.Close(all)</onclick>
						<onclick>ActivateWindow(systeminfo)</onclick>
					</item>
					<item>
						<label>$LOCALIZE[13016]</label>
						<onclick>Powerdown()</onclick>
						<visible>System.CanPowerDown</visible>
					</item>
					<item>
						<label>$LOCALIZE[20150]</label>
						<onclick>AlarmClock(shutdowntimer,Shutdown())</onclick>
						<visible>!System.HasAlarm(shutdowntimer)</visible>
						<visible>System.CanPowerDown | System.CanSuspend | System.CanHibernate</visible>
					</item>
					<item>
						<label>$LOCALIZE[20151] $INFO[System.AlarmPos,(,)]</label>
						<onclick>CancelAlarm(shutdowntimer)</onclick>
						<visible>System.HasAlarm(shutdowntimer)</visible>
					</item>
					<item>
						<label>$LOCALIZE[13011]</label>
						<onclick>Suspend()</onclick>
						<visible>System.CanSuspend</visible>
					</item>
					<item>
						<label>$LOCALIZE[13010]</label>
						<onclick>Hibernate()</onclick>
						<visible>System.CanHibernate</visible>
					</item>
					<item>
						<label>$LOCALIZE[13013]</label>
						<onclick>Reset()</onclick>
						<visible>System.CanReboot</visible>
					</item>
					<item>
						<label>$LOCALIZE[20126] $INFO[system.profilename]</label>
						<onclick>dialog.close(all,true)</onclick>
						<onclick>System.LogOff</onclick>
						<visible>System.HasLoginScreen | Integer.IsGreater(System.ProfileCount,1)</visible>
						<visible>System.Loggedon</visible>
					</item>
					<item>
						<label>$VAR[MasterModeLabel]</label>
						<onclick>mastermode</onclick>
						<visible>System.HasLocks</visible>
					</item>
					<item>
						<label>$LOCALIZE[13017]</label>
						<onclick>InhibitIdleShutdown(true)</onclick>
						<visible>System.HasShutdown +!System.IdleShutdownInhibited</visible>
					</item>
					<item>
						<label>$LOCALIZE[13018]</label>
						<onclick>InhibitIdleShutdown(false)</onclick>
						<visible>System.HasShutdown + System.IdleShutdownInhibited</visible>
					</item>
					<item>
						<label>$LOCALIZE[13012]</label>
						<onclick>Quit()</onclick>
						<visible>System.ShowExitButton</visible>
					</item>
				</content>
			</control>
			<include content="UpDownArrows">
				<param name="container_id" value="9000" />
				<param name="posx" value="199" />
				<param name="up_posy" value="-130" />
				<param name="down_posy" value="790" />
			</include>
		</control>
	</controls>
</window>
