Diff of /skin.xeebo/720p/DialogButtonMenu.xml [956e6e] .. [a27474] Maximize Restore

  Switch to side-by-side view

--- a/skin.xeebo/720p/DialogButtonMenu.xml
+++ b/skin.xeebo/720p/DialogButtonMenu.xml
@@ -1,5 +1,5 @@
 ďťż<window type="buttonMenu" id="111">
-	<defaultcontrol always="true">8001</defaultcontrol>
+	<defaultcontrol always="true">8000</defaultcontrol>
 	<controls>
 		<control type="image">
 			<description>background image overlay</description>
@@ -15,14 +15,15 @@
 			<height>720</height>
 			<texture>black.png</texture>
 		</control>
-		<control type="grouplist">
+		<control type="grouplist" id="8000">
 			<include>Dialog_Popup_Animation</include>
 			<posx>490</posx>
-			<posy>113</posy>
+			<posy>76</posy>
 			<width>300</width>
-			<height>504</height>
+			<height>578</height>
 			<itemgap>0</itemgap>
 			<align>center</align>
+			<aligny>center</aligny>
 			<pagecontrol>-</pagecontrol>
 			<orientation>vertical</orientation>
 			<onup>-</onup>
@@ -34,18 +35,20 @@
 				<posy>0</posy>
 				<width>300</width>
 				<height>10</height>
-				<texture>shutdown_top.png</texture>
-			</control>
-			<control type="group">
-				<width>300</width>
-				<height>74</height>
+				<texture>menu/shutdown_top.png</texture>
+			</control>
+			<control type="group">
+				<width>300</width>
+				<height>74</height>
+				<description>Quit XBMC</description>
+				<visible>System.ShowExitButton</visible>
 				<control type="button" id="8001">
 					<posx>0</posx>
 					<posy>0</posy>
 					<width>300</width>
 					<height>74</height>
-					<texturenofocus>shutdown_center.png</texturenofocus>
-					<texturefocus>shutdown_center_on.png</texturefocus>
+					<texturenofocus>menu/shutdown_center.png</texturenofocus>
+					<texturefocus>menu/shutdown_center_on.png</texturefocus>
 					<onclick>Quit</onclick>
 					<onup>-</onup>
 					<ondown>8002</ondown>
@@ -57,7 +60,7 @@
 					<posy>12</posy>
 					<width>50</width>
 					<height>50</height>
-					<texture>icon_close.png</texture>
+					<texture>icons/icon_close.png</texture>
 					<colordiffuse>grey</colordiffuse>
 				</control>
 				<control type="image">
@@ -66,7 +69,7 @@
 					<posy>12</posy>
 					<width>50</width>
 					<height>50</height>
-					<texture>icon_close_on.png</texture>
+					<texture>icons/icon_close_on.png</texture>
 				</control>
 				<control type="label">
 					<visible>!Control.HasFocus(8001)</visible>
@@ -94,13 +97,14 @@
 			<control type="group">
 				<width>300</width>
 				<height>74</height>
+				<description>Toggle Fullscreen</description>
 				<control type="button" id="8002">
 					<posx>0</posx>
 					<posy>0</posy>
 					<width>300</width>
 					<height>74</height>
-					<texturenofocus>shutdown_center.png</texturenofocus>
-					<texturefocus>shutdown_center_on.png</texturefocus>
+					<texturenofocus>menu/shutdown_center.png</texturenofocus>
+					<texturefocus>menu/shutdown_center_on.png</texturefocus>
 					<onclick>ToggleFullscreen</onclick>
 					<onup>8001</onup>
 					<ondown>8003</ondown>
@@ -112,7 +116,7 @@
 					<posy>12</posy>
 					<width>50</width>
 					<height>50</height>
-					<texture>icon_windowed.png</texture>
+					<texture>icons/icon_windowed.png</texture>
 					<colordiffuse>grey</colordiffuse>
 				</control>
 				<control type="image">
@@ -121,7 +125,7 @@
 					<posy>12</posy>
 					<width>50</width>
 					<height>50</height>
-					<texture>icon_windowed_on.png</texture>
+					<texture>icons/icon_windowed_on.png</texture>
 				</control>
 				<control type="label">
 					<visible>!Control.HasFocus(8002) + StringCompare(System.ScreenMode,windowed)</visible>
@@ -171,14 +175,16 @@
 			<control type="group">
 				<width>300</width>
 				<height>74</height>
+				<description>Shutdown XBMC</description>
+				<visible>System.CanPowerDown</visible>
 				<control type="button" id="8003">
 					<posx>0</posx>
 					<posy>0</posy>
 					<width>300</width>
 					<height>74</height>
-					<texturenofocus>shutdown_center.png</texturenofocus>
-					<texturefocus>shutdown_center_on.png</texturefocus>
-					<onclick>ShutDown()</onclick>
+					<texturenofocus>menu/shutdown_center.png</texturenofocus>
+					<texturefocus>menu/shutdown_center_on.png</texturefocus>
+					<onclick>Powerdown()</onclick>
 					<onup>8002</onup>
 					<ondown>8004</ondown>
 					<onleft>Close</onleft>
@@ -189,7 +195,7 @@
 					<posy>12</posy>
 					<width>50</width>
 					<height>50</height>
-					<texture>icon_poweroff.png</texture>
+					<texture>icons/icon_poweroff.png</texture>
 					<colordiffuse>grey</colordiffuse>
 				</control>
 				<control type="image">
@@ -198,7 +204,7 @@
 					<posy>12</posy>
 					<width>50</width>
 					<height>50</height>
-					<texture>icon_poweroff_on.png</texture>
+					<texture>icons/icon_poweroff_on.png</texture>
 				</control>
 				<control type="label">
 					<visible>!Control.HasFocus(8003)</visible>
@@ -226,14 +232,16 @@
 			<control type="group">
 				<width>300</width>
 				<height>74</height>
+				<description>Shutdown XBMC Timer</description>
+				<visible>System.CanPowerDown</visible>
 				<control type="button" id="8004">
 					<visible>!System.HasAlarm(shutdowntimer)</visible>
 					<posx>0</posx>
 					<posy>0</posy>
 					<width>300</width>
 					<height>74</height>
-					<texturenofocus>shutdown_center.png</texturenofocus>
-					<texturefocus>shutdown_center_on.png</texturefocus>
+					<texturenofocus>menu/shutdown_center.png</texturenofocus>
+					<texturefocus>menu/shutdown_center_on.png</texturefocus>
 					<onclick>XBMC.AlarmClock(shutdowntimer,XBMC.Shutdown())</onclick>
 					<onup>8003</onup>
 					<ondown>8005</ondown>
@@ -245,8 +253,8 @@
 					<posy>0</posy>
 					<width>300</width>
 					<height>74</height>
-					<texturenofocus>shutdown_center.png</texturenofocus>
-					<texturefocus>shutdown_center_on.png</texturefocus>
+					<texturenofocus>menu/shutdown_center.png</texturenofocus>
+					<texturefocus>menu/shutdown_center_on.png</texturefocus>
 					<onclick>XBMC.CancelAlarm(shutdowntimer)</onclick>
 					<onup>8003</onup>
 					<ondown>8005</ondown>
@@ -258,7 +266,7 @@
 					<posy>12</posy>
 					<width>50</width>
 					<height>50</height>
-					<texture>icon_clock.png</texture>
+					<texture>icons/icon_clock.png</texture>
 					<colordiffuse>grey</colordiffuse>
 				</control>
 				<control type="image">
@@ -267,7 +275,7 @@
 					<posy>12</posy>
 					<width>50</width>
 					<height>50</height>
-					<texture>icon_clock_on.png</texture>
+					<texture>icons/icon_clock_on.png</texture>
 				</control>
 				<control type="label">
 					<visible>!Control.HasFocus(8004) + !System.HasAlarm(shutdowntimer)</visible>
@@ -317,15 +325,16 @@
 			<control type="group">
 				<width>300</width>
 				<height>74</height>
+				<description>Suspend XBMC</description>
 				<visible>System.CanSuspend</visible>
 				<control type="button" id="8005">
 					<posx>0</posx>
 					<posy>0</posy>
 					<width>300</width>
 					<height>74</height>
-					<texturenofocus>shutdown_center.png</texturenofocus>
-					<texturefocus>shutdown_center_on.png</texturefocus>
-					<onclick>XBMC.Suspend()</onclick>
+					<texturenofocus>menu/shutdown_center.png</texturenofocus>
+					<texturefocus>menu/shutdown_center_on.png</texturefocus>
+					<onclick>Suspend</onclick>
 					<onup>8004</onup>
 					<ondown>8006</ondown>
 					<onleft>Close</onleft>
@@ -336,7 +345,7 @@
 					<posy>12</posy>
 					<width>50</width>
 					<height>50</height>
-					<texture>icon_shutdown.png</texture>
+					<texture>icons/icon_shutdown.png</texture>
 					<colordiffuse>grey</colordiffuse>
 				</control>
 				<control type="image">
@@ -345,7 +354,7 @@
 					<posy>12</posy>
 					<width>50</width>
 					<height>50</height>
-					<texture>icon_shutdown_on.png</texture>
+					<texture>icons/icon_shutdown_on.png</texture>
 				</control>
 				<control type="label">
 					<visible>!Control.HasFocus(8005)</visible>
@@ -373,38 +382,96 @@
 			<control type="group">
 				<width>300</width>
 				<height>74</height>
-				<visible>System.CanSuspend</visible>
+				<description>Hibernate XBMC</description>
+				<visible>System.CanHibernate</visible>
 				<control type="button" id="8006">
 					<posx>0</posx>
 					<posy>0</posy>
 					<width>300</width>
 					<height>74</height>
-					<texturenofocus>shutdown_center.png</texturenofocus>
-					<texturefocus>shutdown_center_on.png</texturefocus>
-					<onclick>XBMC.Reset()</onclick>
+					<texturenofocus>menu/shutdown_center.png</texturenofocus>
+					<texturefocus>menu/shutdown_center_on.png</texturefocus>
+					<onclick>Hibernate</onclick>
 					<onup>8005</onup>
+					<ondown>8007</ondown>
+					<onleft>Close</onleft>
+				</control>
+				<control type="image">
+					<visible>!Control.HasFocus(8006)</visible>
+					<posx>20</posx>
+					<posy>12</posy>
+					<width>50</width>
+					<height>50</height>
+					<texture>icons/icon_shutdown.png</texture>
+					<colordiffuse>grey</colordiffuse>
+				</control>
+				<control type="image">
+					<visible>Control.HasFocus(8006)</visible>
+					<posx>20</posx>
+					<posy>12</posy>
+					<width>50</width>
+					<height>50</height>
+					<texture>icons/icon_shutdown_on.png</texture>
+				</control>
+				<control type="label">
+					<visible>!Control.HasFocus(8006)</visible>
+					<posx>90</posx>
+					<posy>0</posy>
+					<width>190</width>
+					<height>74</height>
+					<aligny>center</aligny>
+					<label>13010</label>
+					<font>light28</font>
+					<textcolor>grey</textcolor>
+				</control>
+				<control type="label">
+					<visible>Control.HasFocus(8006)</visible>
+					<posx>90</posx>
+					<posy>0</posy>
+					<width>190</width>
+					<height>74</height>
+					<aligny>center</aligny>
+					<label>13010</label>
+					<font>light28</font>
+					<textcolor>green</textcolor>
+				</control>
+			</control>
+			<control type="group">
+				<width>300</width>
+				<height>74</height>
+				<visible>System.CanReboot</visible>
+				<description>Reboot XBMC</description>
+				<control type="button" id="8007">
+					<posx>0</posx>
+					<posy>0</posy>
+					<width>300</width>
+					<height>74</height>
+					<texturenofocus>menu/shutdown_center.png</texturenofocus>
+					<texturefocus>menu/shutdown_center_on.png</texturefocus>
+					<onclick>Reboot</onclick>
+					<onup>8006</onup>
 					<ondown>-</ondown>
 					<onleft>Close</onleft>
 				</control>
 				<control type="image">
-					<visible>!Control.HasFocus(8006)</visible>
-					<posx>20</posx>
-					<posy>12</posy>
-					<width>50</width>
-					<height>50</height>
-					<texture>icon_restart.png</texture>
-					<colordiffuse>grey</colordiffuse>
-				</control>
-				<control type="image">
-					<visible>Control.HasFocus(8006)</visible>
-					<posx>20</posx>
-					<posy>12</posy>
-					<width>50</width>
-					<height>50</height>
-					<texture>icon_restart_on.png</texture>
-				</control>
-				<control type="label">
-					<visible>!Control.HasFocus(8006)</visible>
+					<visible>!Control.HasFocus(8007)</visible>
+					<posx>20</posx>
+					<posy>12</posy>
+					<width>50</width>
+					<height>50</height>
+					<texture>icons/icon_restart.png</texture>
+					<colordiffuse>grey</colordiffuse>
+				</control>
+				<control type="image">
+					<visible>Control.HasFocus(8007)</visible>
+					<posx>20</posx>
+					<posy>12</posy>
+					<width>50</width>
+					<height>50</height>
+					<texture>icons/icon_restart_on.png</texture>
+				</control>
+				<control type="label">
+					<visible>!Control.HasFocus(8007)</visible>
 					<posx>90</posx>
 					<posy>0</posy>
 					<width>190</width>
@@ -415,7 +482,7 @@
 					<textcolor>grey</textcolor>
 				</control>
 				<control type="label">
-					<visible>Control.HasFocus(8006)</visible>
+					<visible>Control.HasFocus(8007)</visible>
 					<posx>90</posx>
 					<posy>0</posy>
 					<width>190</width>
@@ -431,7 +498,7 @@
 				<posy>0</posy>
 				<width>300</width>
 				<height>10</height>
-				<texture>shutdown_bottom.png</texture>
+				<texture>menu/shutdown_bottom.png</texture>
 				<visible>!Skin.HasSetting(RemoteCloseMessage) + !Skin.HasSetting(MouseCloseMessage)</visible>
 			</control>
 			<control type="group">
@@ -443,7 +510,7 @@
 					<posy>0</posy>
 					<width>300</width>
 					<height>50</height>
-					<texture>shutdown_bottom_close.png</texture>
+					<texture>menu/shutdown_bottom_close.png</texture>
 				</control>
 				<control type="button">
 					<posx>0</posx>