2009-05-01, 23:40
g00fy1 Wrote:Hey Paul, unless a sub menu for shutdown is added in Auriga, do you want to add this to your version?Yeh no problem it will save me right thumbclicking to get to restart glad you got this one working with djh's sub menu as i prefer that one. i don't suppose you know how to fix the menu bar in one position as it's a real pain in the bum when the sod moves up the screen when you don't want it to but i will implement this mod an about another 4 ihave if i cna get it done on time, oh well better start it now
I added a sub menu for shutdown, I always do.
Open Includes_Submenu.xml and find:
Paste this after that:Code:<control type="group">
<posx>282</posx>
<posy>406</posy>
<visible>ControlGroup(942).HasFocus()</visible>
<animation effect="slide" start="0,0" end="0,225" time="400" tween="cubic" easing="inout" condition="Skin.HasSetting(lowermainmenu)">Conditional</animation>
<include>Animation_CommonFade</include>
<control type="image">
<width>717</width>
<height>33</height>
<texture>home/submenubar_tv.png</texture>
</control>
<control type="grouplist" id="942">
<posx>39</posx>
<width>655</width>
<height>33</height>
<itemgap>0</itemgap>
<onup>300</onup>
<ondown>352</ondown>
<orientation>horizontal</orientation>
<control type="button" id="40">
<include>Submenu_Button</include>
<include>TVShortcutBools</include>
<label>31920</label>
<onclick>XBMC.ActivateWindow(MyVideoLibrary,recentlyaddedepisodes,return)</onclick>
</control>
<control type="button" id="41">
<include>Submenu_Button</include>
<include>TVShortcutBools</include>
<label>31933</label>
<onclick>XBMC.ActivateWindow(MyVideoLibrary,tvshowtitles,return)</onclick>
</control>
<control type="button" id="42">
<include>Submenu_Button</include>
<include>TVShortcutBools</include>
<label>31922</label>
<onclick>XBMC.ActivateWindow(MyVideoLibrary,tvshowgenres,return)</onclick>
</control>
<control type="button" id="43">
<include>Submenu_Button</include>
<include>TVShortcutBools</include>
<label>31924</label>
<onclick>XBMC.ActivateWindow(MyVideoLibrary,tvshowactors,return)</onclick>
</control>
<control type="button" id="44">
<include>Submenu_Button</include>
<include>TVShortcutBools</include>
<label>31923</label>
<onclick>XBMC.ActivateWindow(MyVideoLibrary,tvshowyears,return)</onclick>
</control>
</control>
</control>
(forgive the downsized screentshots)Code:<!-- MOD: SHUTDOWN -->
<control type="group">
<posx>282</posx>
<posy>406</posy>
<visible>ControlGroup(943).HasFocus()</visible>
<animation effect="slide" start="0,0" end="0,225" time="400" tween="cubic" easing="inout" condition="Skin.HasSetting(lowermainmenu)">Conditional</animation>
<include>Animation_CommonFade</include>
<control type="image">
<width>717</width>
<height>33</height>
<texture>home/submenubar_tv.png</texture>
</control>
<control type="grouplist" id="943">
<posx>39</posx>
<width>655</width>
<height>33</height>
<itemgap>0</itemgap>
<onup>300</onup>
<ondown>352</ondown>
<orientation>horizontal</orientation>
<control type="button" id="45">
<include>Submenu_Button</include>
<label>Restart</label>
<onclick>XBMC.Reset()</onclick>
</control>
<control type="button" id="46">
<include>Submenu_Button</include>
<label>Reload</label>
<onclick>XBMC.RestartApp()</onclick>
</control>
<control type="button" id="47">
<include>Submenu_Button</include>
<label>Refresh</label>
<onclick>XBMC.ReloadSkin()</onclick>
</control>
<control type="button" id="48">
<include>Submenu_Button</include>
<label>Dashboard</label>
<onclick>XBMC.Dashboard()</onclick>
</control>
<control type="button" id="49">
<include>Submenu_Button</include>
<label>Timer</label>
<onclick>AlarmClock($LOCALIZE[20144],XBMC.Shutdown(),)</onclick>
</control>
</control>
</control>
Results are this:
Oh and I've been working with the dark images. This is using your latest rev and making a few changes: