1 <window type="buttonMenu" id="111">
2 <defaultcontrol always="true">13</defaultcontrol>
3 <include>dialogeffect</include>
10 <control type="image">
15 <texture>black-back.png</texture>
17 <control type="image">
22 <texture>black-back.png</texture>
23 <colordiffuse>99FFFFFF</colordiffuse>
25 <control type="group">
28 <control type="image">
33 <texture border="20">OverlayDialogBackground.png</texture>
34 <visible>!System.HasAlarm(shutdowntimer)</visible>
36 <control type="image">
41 <texture border="20">OverlayDialogBackground.png</texture>
42 <visible>System.HasAlarm(shutdowntimer)</visible>
44 <control type="image">
49 <aspectratio>stretch</aspectratio>
50 <texture>GlassTitleBar.png</texture>
52 <control type="button">
53 <description>Close Window button</description>
60 <onclick>PreviousMenu</onclick>
61 <texturefocus>DialogCloseButton-focus.png</texturefocus>
62 <texturenofocus>DialogCloseButton.png</texturenofocus>
67 <visible>system.getbool(input.enablemouse)</visible>
69 <control type="label" id="3100">
70 <description>Label control</description>
77 <aligny>center</aligny>
78 <font>font24_title</font>
79 <textcolor>white</textcolor>
80 <shadowcolor>black</shadowcolor>
82 <control type="image">
87 <aspectratio>stretch</aspectratio>
88 <texture>GlassTitleBar.png</texture>
89 <colordiffuse>99FFFFFF</colordiffuse>
91 <control type="grouplist">
97 <orientation>Horizontal</orientation>
98 <control type="togglebutton" id="9">
99 <description>Master mode button</description>
103 <altlabel>20045</altlabel>
104 <texturefocus>ButtonMenuMasterFO.png</texturefocus>
105 <texturenofocus>ButtonMenuMasterNF.png</texturenofocus>
106 <usealttexture>!System.IsMaster</usealttexture>
107 <alttexturefocus>ButtonMenuNoMasterFO.png</alttexturefocus>
108 <alttexturenofocus>ButtonMenuNoMasterNF.png</alttexturenofocus>
109 <onclick>xbmc.mastermode</onclick>
110 <pulseonselect>no</pulseonselect>
112 <visible>System.HasLocks</visible>
114 <control type="button" id="10">
115 <description>LogOff Profile</description>
118 <texturefocus>ButtonMenuLogOffFO.png</texturefocus>
119 <texturenofocus>ButtonMenuLogOffNF.png</texturenofocus>
120 <onclick>dialog.close(all,true)</onclick>
121 <onclick>System.LogOff</onclick>
122 <pulseonselect>no</pulseonselect>
124 <label>$LOCALIZE[20126] $INFO[system.profilename]</label>
125 <visible>System.HasLoginScreen | IntegerGreaterThan(System.ProfileCount,1)</visible>
126 <visible>System.Loggedon</visible>
128 <control type="button" id="11">
129 <description>Exit xbmc</description>
132 <texturefocus>ButtonMenuExitFO.png</texturefocus>
133 <texturenofocus>ButtonMenuExitNF.png</texturenofocus>
134 <onclick>XBMC.Quit()</onclick>
135 <pulseonselect>no</pulseonselect>
137 <label>$LOCALIZE[13012]</label>
139 <control type="group" id="13">
141 <defaultcontrol always="true">15</defaultcontrol>
142 <control type="button" id="17">
143 <description>Cancel Shutdown Timer button</description>
148 <texturefocus>-</texturefocus>
149 <texturenofocus>-</texturenofocus>
150 <onclick>XBMC.CancelAlarm(shutdowntimer)</onclick>
151 <pulseonselect>no</pulseonselect>
155 <onright>12</onright>
158 <visible>System.HasAlarm(shutdowntimer)</visible>
160 <control type="button" id="16">
161 <description>Custom Shutdown Timer button</description>
166 <texturefocus>-</texturefocus>
167 <texturenofocus>-</texturenofocus>
168 <onclick>XBMC.AlarmClock(shutdowntimer,XBMC.Powerdown())</onclick>
169 <pulseonselect>no</pulseonselect>
173 <onright>12</onright>
177 <control type="button" id="15">
178 <description>Shutdown button</description>
183 <texturefocus>-</texturefocus>
184 <texturenofocus>ButtonMenuShutdownNF.png</texturenofocus>
185 <onclick>XBMC.Powerdown()</onclick>
186 <pulseonselect>no</pulseonselect>
190 <onright>12</onright>
194 <control type="image">
195 <description>Shutdown focus image</description>
200 <texture>ButtonMenuShutdownFO.png</texture>
201 <visible>Control.HasFocus(15) | Control.HasFocus(16) | Control.HasFocus(17)</visible>
204 <control type="button" id="12">
205 <description>Suspend xbmc</description>
208 <texturefocus>ButtonMenuSleepFO.png</texturefocus>
209 <texturenofocus>ButtonMenuSleepNF.png</texturenofocus>
210 <onclick>XBMC.Suspend()</onclick>
211 <pulseonselect>no</pulseonselect>
213 <label>$LOCALIZE[13011]</label>
215 <control type="button" id="14">
216 <description>Reboot button</description>
219 <texturefocus>ButtonMenuRestartFO.png</texturefocus>
220 <texturenofocus>ButtonMenuRestartNF.png</texturenofocus>
221 <onclick>XBMC.Reset()</onclick>
222 <pulseonselect>no</pulseonselect>
227 <control type="group">
230 <visible>ControlGroup(13).HasFocus</visible>
231 <include>VisibleFadeEffect</include>
232 <animation effect="slide" start="0,0" end="55,0" time="0" condition="System.HasLocks">Conditional</animation>
233 <animation effect="slide" start="0,0" end="55,0" time="0" condition="[System.HasLoginScreen | IntegerGreaterThan(System.ProfileCount,1)] + System.LoggedOn">Conditional</animation>
234 <control type="image">
235 <description>Shutdown Arrow Up image</description>
240 <texture>ArrowUp.png</texture>
242 <control type="image">
243 <description>Shutdown Arrow Down image</description>
248 <texture>ArrowDown.png</texture>
251 <control type="label">
257 <textcolor>white</textcolor>
258 <shadowcolor>black</shadowcolor>
259 <align>center</align>
260 <aligny>center</aligny>
261 <label>$LOCALIZE[31329] [B]$INFO[System.Alarmpos][/B]</label>
262 <visible>System.HasAlarm(shutdowntimer)</visible>