Diff of /skin.rapier/720p/DialogButtonMenu.xml [000000] .. [d0227f]  Maximize  Restore

  Switch to side-by-side view

--- a
+++ b/skin.rapier/720p/DialogButtonMenu.xml
@@ -0,0 +1,300 @@
+<window type="buttonMenu" id="111">
+	<defaultcontrol always="false">103</defaultcontrol>
+	<allowoverlay>no</allowoverlay>
+
+	<coordinates>
+		<system>1</system>
+		<origin x="468" y="120">true</origin>
+	</coordinates>
+	
+	<controls>
+		<control type="group">
+			<include>DialogOpenCloseAnim</include>
+			
+			<control type="grouplist">
+				<itemgap>0</itemgap>
+				<control type="image">
+					<width>344</width>
+					<height>32</height>
+					<texture border="40,30,40,0">gui/context-menu-top.png</texture>	
+				</control>
+				<control type="image">
+					<width>344</width>
+					<height>37</height>
+					<texture border="40,2,40,2">gui/context-menu-middle.png</texture>
+				</control>
+				<control type="image">
+					<width>344</width>
+					<height>37</height>
+					<texture border="40,2,40,2">gui/context-menu-middle.png</texture>	
+					<visible>System.CanSuspend</visible>
+				</control>
+				<control type="image">
+					<width>344</width>
+					<height>37</height>
+					<texture border="40,2,40,2">gui/context-menu-middle.png</texture>
+					<visible>System.CanHibernate</visible>	
+				</control>
+				<control type="image">
+					<width>344</width>
+					<height>37</height>
+					<texture border="40,2,40,2">gui/context-menu-middle.png</texture>
+					<visible>System.CanReboot</visible>
+				</control>
+				<control type="image">
+					<width>344</width>
+					<height>37</height>
+					<texture border="40,2,40,2">gui/context-menu-middle.png</texture>	
+				</control>
+				<control type="image">
+					<width>344</width>
+					<height>37</height>
+					<texture border="40,2,40,2">gui/context-menu-middle.png</texture>	
+				</control>
+				<control type="image">
+					<width>344</width>
+					<height>37</height>
+					<texture border="40,2,40,2">gui/context-menu-middle.png</texture>	
+					<visible>System.HasLoginScreen</visible>
+				</control>
+				<control type="image">
+					<width>344</width>
+					<height>37</height>
+					<texture border="40,2,40,2">gui/context-menu-middle.png</texture>	
+				</control>
+				<control type="image">
+					<width>344</width>
+					<height>37</height>
+					<texture border="40,2,40,2">gui/context-menu-middle.png</texture>
+					<visible>System.HasLocks</visible>	
+				</control>
+				<control type="image">
+					<width>344</width>
+					<height>37</height>
+					<texture border="40,2,40,2">gui/context-menu-middle.png</texture>
+					<enable>System.HasMediaDVD</enable>	
+				</control>
+				<control type="image">
+					<width>344</width>
+					<height>37</height>
+					<texture border="40,2,40,2">gui/context-menu-middle.png</texture>	
+				</control>
+				<control type="image">
+					<width>344</width>
+					<height>37</height>
+					<texture border="40,2,40,2">gui/context-menu-middle.png</texture>
+					<visible>Skin.HasSetting(HideSystemCategory)</visible>
+				</control>
+				<control type="image">
+					<width>344</width>
+					<height>37</height>
+					<texture border="40,2,40,2">gui/context-menu-middle.png</texture>
+					<visible>Skin.HasSetting(HideSystemCategory)</visible>
+				</control>
+				<control type="image">
+					<width>344</width>
+					<height>37</height>
+					<texture border="40,2,40,2">gui/context-menu-middle.png</texture>
+					<visible>Skin.HasSetting(HideSystemCategory)</visible>
+				</control>
+				<control type="image">
+					<width>344</width>
+					<height>32</height>
+					<texture flipy="true" border="40,0,40,30">gui/context-menu-top.png</texture>	
+				</control>
+			</control>
+			
+			<control type="group" id="307">
+				<posx>32</posx>
+				<posy>32</posy>
+				<defaultcontrol always="true">201</defaultcontrol>
+				
+				<control type="button" id="202">
+					<description>30min Shutdown Timer</description>
+					<include>ShutdownContextMenuBtn</include>
+					<label>$LOCALIZE[20147]</label>
+					<onclick>AlarmClock(ShutdownTimer,Shutdown(),30)</onclick>	
+					<visible allowhiddenfocus="true">Control.HasFocus(202)</visible>
+					<onup>110</onup>
+					<ondown>100</ondown>
+					<onleft>201</onleft>
+					<onright>203</onright>
+				</control>
+				<control type="button" id="203">
+					<description>60min Shutdown Timer</description>
+					<include>ShutdownContextMenuBtn</include>
+					<label>$LOCALIZE[20148]</label>
+					<onclick>AlarmClock(ShutdownTimer,Shutdown(),60)</onclick>
+					<visible allowhiddenfocus="true">Control.HasFocus(203)</visible>
+					<onup>110</onup>
+					<ondown>100</ondown>
+					<onleft>202</onleft>
+					<onright>204</onright>
+				</control>
+				<control type="button" id="204">
+					<description>120min Shutdown Timer</description>
+					<include>ShutdownContextMenuBtn</include>
+					<label>$LOCALIZE[20149]</label>
+					<onclick>AlarmClock(ShutdownTimer,Shutdown(),120)</onclick>
+					<visible allowhiddenfocus="true">Control.HasFocus(204)</visible>
+					<onup>110</onup>
+					<ondown>100</ondown>
+					<onleft>203</onleft>
+					<onright>205</onright>
+				</control>
+				<control type="button" id="205">
+					<description>Custom Shutdown Timer</description>
+					<include>ShutdownContextMenuBtn</include>
+					<label>$LOCALIZE[20150]</label>
+					<onclick>AlarmClock(ShutdownTimer,Shutdown())</onclick>
+					<visible allowhiddenfocus="true">Control.HasFocus(205)</visible>
+					<onup>110</onup>
+					<ondown>100</ondown>
+					<onleft>204</onleft>
+					<onright>201</onright>
+				</control>
+				<control type="button" id="201">
+					<description>Shutdown</description>
+					<include>ShutdownContextMenuBtn</include>
+					<label>$LOCALIZE[13005]</label>
+					<onclick>Dialog.Close(all,true)</onclick>
+					<onclick>Shutdown()</onclick>
+					<visible allowhiddenfocus="true">!Control.HasFocus(202) + !Control.HasFocus(203) + !Control.HasFocus(204) + !Control.HasFocus(205)</visible>
+					<onup>110</onup>
+					<ondown>100</ondown>
+					<onleft>205</onleft>
+					<onright>202</onright>	
+				</control>
+				
+				<control type="image">
+					<posx>5</posx>
+					<posy>5</posy>
+					<width>16</width>
+					<height>23</height>
+					<texture>controls/arrow-scroll-left-focus.png</texture>
+					<visible>Control.HasFocus(201) | Control.HasFocus(202) | Control.HasFocus(203) | Control.HasFocus(204) | Control.HasFocus(205)</visible>
+				</control>
+				
+				<control type="image">
+					<posx>259</posx>
+					<posy>5</posy>
+					<width>16</width>
+					<height>23</height>
+					<texture flipx="true">controls/arrow-scroll-left-focus.png</texture>
+					<visible>Control.HasFocus(201) | Control.HasFocus(202) | Control.HasFocus(203) | Control.HasFocus(204) | Control.HasFocus(205)</visible>
+				</control>
+			</control>
+
+			<control type="grouplist" id="301">
+				<posx>32</posx>
+				<posy>69</posy>
+				<itemgap>2</itemgap>
+				<onup>201</onup>
+				<ondown>201</ondown>
+				<visible>System.LoggedOn</visible>
+				<control type="button" id="100">
+					<description>Suspend</description>
+					<include>ContextMenuBtn</include>
+					<label>$LOCALIZE[13011]</label>
+					<onclick>Dialog.Close(all,true)</onclick>
+					<onclick>Suspend()</onclick>
+					<visible>System.CanSuspend</visible>
+				</control>	
+				<control type="button" id="101">
+					<description>Hibernate</description>
+					<include>ContextMenuBtn</include>
+					<label>$LOCALIZE[13010]</label>
+					<onclick>Dialog.Close(all,true)</onclick>
+					<onclick>Hibernate()</onclick>
+					<visible>System.CanHibernate</visible>
+				</control>
+				<control type="button" id="102">
+					<description>Reboot</description>
+					<include>ContextMenuBtn</include>
+					<label>$LOCALIZE[13013]</label>
+					<onclick>Dialog.Close(all,true)</onclick>
+					<onclick>Reset()</onclick>
+					<visible>System.CanReboot</visible>
+				</control>
+				<control type="button" id="103">
+					<description>Quit XBMC</description>
+					<include>ContextMenuBtn</include>
+					<label>$LOCALIZE[13009] XBMC</label>
+					<onclick>Dialog.Close(all,true)</onclick>
+					<onclick>Quit()</onclick>
+				</control>
+				<control type="button" id="104">
+					<description>Restart XBMC</description>
+					<include>ContextMenuBtn</include>
+					<label>$LOCALIZE[13313] XBMC</label>
+					<onclick>Dialog.Close(all,true)</onclick>
+					<onclick>RestartApp()</onclick>
+				</control>		
+				<control type="button" id="105">
+					<description>Log Off</description>
+					<include>ContextMenuBtn</include>
+					<label>$LOCALIZE[20126]</label>
+					<onclick>Dialog.Close(all,true)</onclick>
+					<onclick>System.LogOff</onclick>
+					<visible>System.HasLoginScreen</visible>
+				</control>
+				<control type="button" id="106">
+					<description>Reload Skin</description>
+					<include>ContextMenuBtn</include>
+					<label>$LOCALIZE[20183]</label>
+					<onclick>Dialog.Close(all,true)</onclick>
+					<onclick>ReloadSkin()</onclick>
+					<include>ReloadSkinNotification</include>
+				</control>	
+				<control type="togglebutton" id="108">
+					<description>Master Mode</description>
+					<include>ContextMenuBtn</include>
+					<usealttexture>System.IsMaster</usealttexture>
+					<label>$LOCALIZE[20045]</label>
+					<altlabel>$LOCALIZE[20046]</altlabel>
+					<onclick>MasterMode</onclick>
+					<visible>System.HasLocks</visible>
+				</control>
+				<control type="button" id="109">
+					<description>Play Disc</description>
+					<include>ContextMenuBtn</include>
+					<label>$LOCALIZE[341]</label>
+					<onclick>PlayDVD()</onclick>
+					<enable>System.HasMediaDVD</enable>
+				</control>
+				<control type="button" id="110">
+					<description>Eject/Load Disc</description>
+					<include>ContextMenuBtn</include>
+					<label>$LOCALIZE[13391]</label>
+					<onclick>EjectTray()</onclick>
+				</control>
+				<control type="button" id="111">
+					<description>Settings</description>
+					<include>ContextMenuBtn</include>
+					<label>$LOCALIZE[5]</label>
+					<onclick>ActivateWindow(AppearanceSettings)</onclick>
+					<visible>Skin.HasSetting(HideSystemCategory)</visible>
+				</control>
+				<control type="button" id="112">
+					<description>Settings</description>
+					<include>ContextMenuBtn</include>
+					<label>$LOCALIZE[20077]</label>
+					<onclick>ActivateWindow(3001)</onclick>
+					<visible>Skin.HasSetting(HideSystemCategory)</visible>
+				</control>
+				<control type="button" id="113">
+					<description>Add-ons</description>
+					<include>ContextMenuBtn</include>
+					<label>$LOCALIZE[24001]</label>
+					<onclick>ActivateWindow(AddonBrowser)</onclick>
+					<visible>Skin.HasSetting(HideSystemCategory)</visible>
+				</control>
+			</control>
+				
+			<control type="button">
+				<posx>284</posx>
+				<include>DialogCloseBtn</include>
+			</control>
+		</control>
+	</controls>
+</window>

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks