<?xml version="1.0" encoding="UTF-8"?>
<window type="buttonMenu">
	<defaultcontrol>9000</defaultcontrol>
	<include>dialogeffect</include>
	<coordinates>
		<system>1</system>
		<left>0</left>
		<top>0</top>
	</coordinates>
	<controls>
		<control type="grouplist" id="9000">
			<left>705</left>
			<top>0</top>
			<width>510</width>
			<height>1080</height>
			<onleft>9000</onleft>
			<onright>9000</onright>
			<onup>9000</onup>
			<ondown>9000</ondown>
			<itemgap>0</itemgap>
			<align>center</align>
			<control type="image" id="1">
				<description>background image</description>
				<width>510</width>
				<height>34</height>
				<texture border="30,20,30,2">dialog_top2.png</texture>
			</control>
			<control type="button" id="2">
				<description>Exit button</description>
				<width>510</width>
				<height>60</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>left</align>
				<textwidth>435</textwidth>
				<textoffsetx>45</textoffsetx>
				<texturefocus border="35,2,35,2">button_shutdown_focus.png</texturefocus>
				<texturenofocus border="35,2,35,2">button_shutdown_nofocus.png</texturenofocus>
				<onclick>Quit()</onclick>
				<font>font14</font>
				<label>13012</label>
				<visible>System.ShowExitButton</visible>
			</control>
			<control type="button" id="3">
				<description>Shutdown button</description>
				<width>510</width>
				<height>60</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>left</align>
				<textwidth>435</textwidth>
				<textoffsetx>45</textoffsetx>
				<texturefocus border="35,2,35,2">button_shutdown_focus.png</texturefocus>
				<texturenofocus border="35,2,35,2">button_shutdown_nofocus.png</texturenofocus>
				<onclick>Powerdown()</onclick>
				<visible>System.CanPowerDown</visible>
				<font>font14</font>
				<label>13016</label>
			</control>
			<control type="button" id="4">
				<description>Custom Shutdown Timer</description>
				<width>510</width>
				<height>60</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>left</align>
				<textwidth>435</textwidth>
				<textoffsetx>45</textoffsetx>
				<texturefocus border="35,2,35,2">button_shutdown_focus.png</texturefocus>
				<texturenofocus border="35,2,35,2">button_shutdown_nofocus.png</texturenofocus>
				<onclick>AlarmClock(shutdowntimer,Shutdown())</onclick>
				<font>font14</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>510</width>
				<height>60</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>left</align>
				<textwidth>435</textwidth>
				<textoffsetx>45</textoffsetx>
				<texturefocus border="35,2,35,2">button_shutdown_focus.png</texturefocus>
				<texturenofocus border="35,2,35,2">button_shutdown_nofocus.png</texturenofocus>
				<onclick>CancelAlarm(shutdowntimer)</onclick>
				<font>font14</font>
				<label>$LOCALIZE[20151]$INFO[System.Alarmpos, (,)]</label>
				<visible>System.HasAlarm(shutdowntimer)</visible>
			</control>
			<control type="button" id="6">
				<description>Suspend button</description>
				<width>510</width>
				<height>60</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>left</align>
				<textwidth>435</textwidth>
				<textoffsetx>45</textoffsetx>
				<texturefocus border="35,2,35,2">button_shutdown_focus.png</texturefocus>
				<texturenofocus border="35,2,35,2">button_shutdown_nofocus.png</texturenofocus>
				<onclick>Suspend()</onclick>
				<visible>System.CanSuspend</visible>
				<font>font14</font>
				<label>13011</label>
			</control>
			<control type="button" id="7">
				<description>Hibernate button</description>
				<width>510</width>
				<height>60</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>left</align>
				<textwidth>435</textwidth>
				<textoffsetx>45</textoffsetx>
				<texturefocus border="35,2,35,2">button_shutdown_focus.png</texturefocus>
				<texturenofocus border="35,2,35,2">button_shutdown_nofocus.png</texturenofocus>
				<onclick>Hibernate()</onclick>
				<visible>System.CanHibernate</visible>
				<font>font14</font>
				<label>13010</label>
			</control>
			<control type="button" id="8">
				<description>Reboot button</description>
				<width>510</width>
				<height>60</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>left</align>
				<textwidth>435</textwidth>
				<textoffsetx>45</textoffsetx>
				<texturefocus border="35,2,35,2">button_shutdown_focus.png</texturefocus>
				<texturenofocus border="35,2,35,2">button_shutdown_nofocus.png</texturenofocus>
				<onclick>Reset()</onclick>
				<visible>System.CanReboot</visible>
				<font>font14</font>
				<label>13013</label>
			</control>
			<control type="button" id="9">
				<description>Logoff button</description>
				<width>510</width>
				<height>60</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>left</align>
				<textwidth>435</textwidth>
				<textoffsetx>45</textoffsetx>
				<texturefocus border="35,2,35,2">button_shutdown_focus.png</texturefocus>
				<texturenofocus border="35,2,35,2">button_shutdown_nofocus.png</texturenofocus>
				<onclick>dialog.close(all,true)</onclick>
				<onclick>System.LogOff</onclick>
				<font>font14</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>510</width>
				<height>60</height>
				<label>20046</label>
				<altlabel>20045</altlabel>
				<align>left</align>
				<aligny>center</aligny>
				<textwidth>435</textwidth>
				<textoffsetx>45</textoffsetx>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<texturefocus border="35,2,35,2">button_shutdown_focus.png</texturefocus>
				<texturenofocus border="35,2,35,2">button_shutdown_nofocus.png</texturenofocus>
				<usealttexture>!System.IsMaster</usealttexture>
				<alttexturefocus border="35,2,35,2">button_shutdown_focus.png</alttexturefocus>
				<alttexturenofocus border="35,2,35,2">button_shutdown_nofocus.png</alttexturenofocus>
				<onclick>xbmc.mastermode</onclick>
				<font>font14</font>
				<visible>System.HasLocks</visible>
			</control>
			<control type="button" id="12">
				<description>Inhibit idle shutdown</description>
				<width>510</width>
				<height>60</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>left</align>
				<textwidth>435</textwidth>
				<textoffsetx>45</textoffsetx>
				<texturefocus border="35,2,35,2">button_shutdown_focus.png</texturefocus>
				<texturenofocus border="35,2,35,2">button_shutdown_nofocus.png</texturenofocus>
				<onclick>InhibitIdleShutdown(true)</onclick>
				<font>font14</font>
				<label>13017</label>
				<visible>System.HasShutdown +!System.IsInhibit</visible>
			</control>
			<control type="button" id="13">
				<description>Allow idle shutdown</description>
				<width>510</width>
				<height>60</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>left</align>
				<textwidth>435</textwidth>
				<textoffsetx>45</textoffsetx>
				<texturefocus border="35,2,35,2">button_shutdown_focus.png</texturefocus>
				<texturenofocus border="35,2,35,2">button_shutdown_nofocus.png</texturenofocus>
				<onclick>InhibitIdleShutdown(false)</onclick>
				<font>font14</font>
				<label>13018</label>
				<visible>System.HasShutdown + System.IsInhibit</visible>
			</control>
			<control type="button" id="14">
				<description>Settings</description>
				<width>510</width>
				<height>60</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>left</align>
				<textwidth>435</textwidth>
				<textoffsetx>45</textoffsetx>
				<texturefocus border="35,2,35,2">button_shutdown_focus.png</texturefocus>
				<texturenofocus border="35,2,35,2">button_shutdown_nofocus.png</texturenofocus>
				<onclick>Dialog.Close(all,true)</onclick>
				<onclick>ActivateWindow(settings)</onclick>
				<font>font14</font>
				<label>$LOCALIZE[5]</label>
			</control>
			<control type="button" id="15">
				<description>Favorites</description>
				<width>510</width>
				<height>60</height>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<align>left</align>
				<textwidth>435</textwidth>
				<textoffsetx>45</textoffsetx>
				<texturefocus border="35,2,35,2">button_shutdown_focus.png</texturefocus>
				<texturenofocus border="35,2,35,2">button_shutdown_nofocus.png</texturenofocus>
				<onclick>ActivateWindow(favourites)</onclick>
				<font>font14</font>
				<label>1036</label>
			</control>
			<control type="image" id="16">
				<description>background image</description>
				<left>0</left>
				<top>0</top>
				<width>510</width>
				<height>34</height>
				<texture border="30,2,30,20">dialog_bottom2.png</texture>
			</control>
		</control>
	</controls>
</window>