<?xml version="1.0" encoding="UTF-8"?>
<window type="buttonMenu">
	<defaultcontrol>9001</defaultcontrol>
	<include>dialogeffect</include>
	<coordinates>
		<left>0</left>
		<top>0</top>
	</coordinates>
	<controls>
		<control type="button" id="9001">
			<description>Make sure we hit the first button in the group list and not the close window button</description>
			<left>-16</left>
			<top>-16</top>
			<width>4</width>
			<height>4</height>
			<label>-</label>
			<font>-</font>
			<onfocus>down</onfocus>
			<texturefocus>-</texturefocus>
			<texturenofocus>-</texturenofocus>
			<onleft>9000</onleft>
			<onright>9000</onright>
			<onup>9000</onup>
			<ondown>2</ondown>
		</control>
		<control type="image">
			<left>0</left>
			<top>0</top>
			<width>1280</width>
			<height>720</height>
			<texture>black-back.png</texture>
		</control>
		<control type="grouplist" id="9000">
			<left>470</left>
			<top>0</top>
			<width>340</width>
			<height>720</height>
			<onleft>9000</onleft>
			<onright>9000</onright>
			<onup>9000</onup>
			<ondown>9000</ondown>
			<itemgap>0</itemgap>
			<align>center</align>
			<control type="group" id="1">
				<width>340</width>
				<height>30</height>
				<control type="image">
					<description>background top image</description>
					<left>0</left>
					<top>0</top>
					<width>340</width>
					<height>30</height>
					<texture border="20,19,20,0">DialogContextTop.png</texture>
				</control>
				<control type="button" id="20">
					<description>Close Window button</description>
					<left>260</left>
					<top>5</top>
					<width>64</width>
					<height>32</height>
					<label>-</label>
					<font>-</font>
					<onclick>PreviousMenu</onclick>
					<texturefocus>DialogCloseButton-focus.png</texturefocus>
					<texturenofocus>DialogCloseButton.png</texturenofocus>
					<onleft>2</onleft>
					<onright>13</onright>
					<onup>13</onup>
					<ondown>2</ondown>
					<visible>system.getbool(input.enablemouse)</visible>
				</control>
			</control>
			<control type="button" id="2">
				<description>Exit button</description>
				<width>340</width>
				<height>40</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>center</align>
				<textwidth>290</textwidth>
				<texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
				<texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
				<onclick>Quit()</onclick>
				<pulseonselect>no</pulseonselect>
				<font>font13</font>
				<label>13012</label>
				<visible>System.ShowExitButton</visible>
			</control>
			<control type="button" id="3">
				<description>Shutdown button</description>
				<width>340</width>
				<height>40</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>center</align>
				<textwidth>290</textwidth>
				<texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
				<texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
				<onclick>Powerdown()</onclick>
				<visible>System.CanPowerDown</visible>
				<pulseonselect>no</pulseonselect>
				<font>font13</font>
				<label>13016</label>
			</control>
			<control type="button" id="4">
				<description>Custom Shutdown Timer</description>
				<width>340</width>
				<height>40</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>center</align>
				<textwidth>290</textwidth>
				<texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
				<texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
				<onclick>AlarmClock(shutdowntimer,Shutdown())</onclick>
				<pulseonselect>no</pulseonselect>
				<font>font13</font>
				<label>20150</label>
				<visible>!System.HasAlarm(shutdowntimer)</visible>
				<visible>System.CanPowerDown | System.CanSuspend | System.CanHibernate</visible>
			</control>
			<control type="button" id="5">
				<description>Cancel Shutdown Timer</description>
				<width>340</width>
				<height>40</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>center</align>
				<textwidth>290</textwidth>
				<texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
				<texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
				<onclick>CancelAlarm(shutdowntimer)</onclick>
				<pulseonselect>no</pulseonselect>
				<font>font13</font>
				<label>20151</label>
				<visible>System.HasAlarm(shutdowntimer)</visible>
			</control>
			<control type="button" id="6">
				<description>Suspend button</description>
				<width>340</width>
				<height>40</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>center</align>
				<textwidth>290</textwidth>
				<texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
				<texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
				<onclick>Suspend()</onclick>
				<visible>System.CanSuspend</visible>
				<pulseonselect>no</pulseonselect>
				<font>font13</font>
				<label>13011</label>
			</control>
			<control type="button" id="7">
				<description>Hibernate button</description>
				<width>340</width>
				<height>40</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>center</align>
				<textwidth>290</textwidth>
				<texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
				<texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
				<onclick>Hibernate()</onclick>
				<visible>System.CanHibernate</visible>
				<pulseonselect>no</pulseonselect>
				<font>font13</font>
				<label>13010</label>
			</control>
			<control type="button" id="8">
				<description>Reboot button</description>
				<width>340</width>
				<height>40</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>center</align>
				<textwidth>290</textwidth>
				<texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
				<texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
				<onclick>Reset()</onclick>
				<visible>System.CanReboot</visible>
				<pulseonselect>no</pulseonselect>
				<font>font13</font>
				<label>13013</label>
			</control>
			<control type="button" id="9">
				<description>Logoff button</description>
				<width>340</width>
				<height>40</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>center</align>
				<textwidth>290</textwidth>
				<texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
				<texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
				<onclick>dialog.close(all,true)</onclick>
				<onclick>System.LogOff</onclick>
				<pulseonselect>no</pulseonselect>
				<font>font13</font>
				<label>$LOCALIZE[20126] $INFO[system.profilename]</label>
				<visible>System.HasLoginScreen | IntegerGreaterThan(System.ProfileCount,1)</visible>
				<visible>System.Loggedon</visible>
			</control>
			<control type="togglebutton" id="10">
				<description>Master mode button</description>
				<width>340</width>
				<height>40</height>
				<label>20046</label>
				<altlabel>20045</altlabel>
				<align>center</align>
				<aligny>center</aligny>
				<textwidth>290</textwidth>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
				<texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
				<usealttexture>!System.IsMaster</usealttexture>
				<alttexturefocus border="25,5,25,5">ShutdownButtonFocus.png</alttexturefocus>
				<alttexturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</alttexturenofocus>
				<onclick>mastermode</onclick>
				<pulseonselect>no</pulseonselect>
				<font>font13</font>
				<visible>System.HasLocks</visible>
			</control>
			<control type="group" id="11">
				<width>340</width>
				<height>70</height>
				<visible>System.HasAlarm(shutdowntimer)</visible>
				<control type="image">
					<description>background top image</description>
					<left>0</left>
					<top>0</top>
					<width>340</width>
					<height>70</height>
					<texture border="25,5,25,5">DialogContextMiddle.png</texture>
				</control>
				<control type="textbox">
					<left>25</left>
					<top>22</top>
					<width>290</width>
					<height>48</height>
					<font>font12</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
					<align>center</align>
					<label>$LOCALIZE[31329] [B]$INFO[System.Alarmpos][/B]</label>
				</control>
			</control>
			<control type="button" id="12">
				<description>Inhibit idle shutdown</description>
				<width>340</width>
				<height>40</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>center</align>
				<textwidth>290</textwidth>
				<texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
				<texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
				<onclick>InhibitIdleShutdown(true)</onclick>
				<pulseonselect>no</pulseonselect>
				<font>font13</font>
				<label>13017</label>
				<visible>System.HasShutdown +!System.IsInhibit</visible>
			</control>
			<control type="button" id="13">
				<description>Allow idle shutdown</description>
				<width>340</width>
				<height>40</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>center</align>
				<textwidth>290</textwidth>
				<texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
				<texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
				<onclick>InhibitIdleShutdown(false)</onclick>
				<pulseonselect>no</pulseonselect>
				<font>font13</font>
				<label>13018</label>
				<visible>System.HasShutdown + System.IsInhibit</visible>
			</control>
			<control type="image" id="14">
				<description>background bottom image</description>
				<left>0</left>
				<width>340</width>
				<height>25</height>
				<texture border="20,0,19,20">DialogContextBottom.png</texture>
			</control>
		</control>
	</controls>
</window>
