XBMC Community Forum
Menu wrapping? - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Skin Help and Support (/forumdisplay.php?fid=67)
+---- Forum: XeeBo (/forumdisplay.php?fid=140)
+---- Thread: Menu wrapping? (/showthread.php?tid=118625)



Menu wrapping? - bfly - 2012-01-03 20:06

Is it possible to change the main menu to allow wrapping. (ie. if you are on 'Videos' and up arrow it goes to 'Power')?

Thanks for the great skin,
--
NM


- Hitcher - 2012-01-03 21:04

Edit those buttons to go to each other in Custom_51_Main_Menu.xml.


- bfly - 2012-01-04 02:43

Thanks a bunch for the quick reply. I wound up needing to edit includes_home_alt.xml as well as the Custom_51_Main_Menu.xml. It works like a charm now. Thanks again.

Here are the changes I made in case anyone is interested:
Code:
<control type="button" id="8101">
         <visible>!Player.HasMedia</visible>
         <posx>0</posx>
         <posy>0</posy>
         <width>220</width>
         <height>74</height>
         <texturenofocus>menu_top.png</texturenofocus>
         <texturefocus>menu_top_on.png</texturefocus>
         <onclick>SetFocus(8210)</onclick>
         <onright>56</onright>
--->     <onup>8131</onup>
         <ondown>8102</ondown>
</control>
<control type="button" id="8101">
         <visible>Player.HasMedia</visible>
         <posx>0</posx>
         <posy>0</posy>
         <width>220</width>
         <height>74</height>
         <texturenofocus>menu_center.png</texturenofocus>
         <texturefocus>menu_center_on.png</texturefocus>
         <onclick>SetFocus(8210)</onclick>
         <onright>56</onright>
         <onup>8002</onup>
         <ondown>8102</ondown>
</control>
<control type="image">
<---------------------- snip ---------------------->
         <control type="button" id="8131">
                 <description>exit button</description>
                 <posx>0</posx>
                 <posy>0</posy>
                 <width>40</width>
                 <height>40</height>
                 <texturenofocus>icon_menu_exit.png</texturenofocus>
                 <texturefocus>-</texturefocus>
                 <colordiffuse>grey</colordiffuse>
                 <onclick>ActivateWindow(111)</onclick>
                 <onleft>-</onleft>
                 <onright>8132</onright>
                 <onup>8109</onup>
--->             <ondown>8101</ondown>
         </control>
         <control type="image">
                 <visible>Control.HasFocus(8131)</visible>
                 <posx>0</posx>
                 <posy>0</posy>
                 <width>40</width>
                 <height>40</height>
                 <texture>icon_menu_exit.png</texture>
                 <colordiffuse>green</colordiffuse>
         </control>
         <control type="image">
                 <description>left dotted line</description>
                 <posx>44</posx>
                 <posy>5</posy>
                 <width>3</width>
                 <height>33</height>
                 <texture>dotted_line_divider.png</texture>
         </control>
</control>
<---------------------- snip ---------------------->
         <control type="button" id="8133">
                 <description>Eject button</description>
                 <posx>0</posx>
                 <posy>0</posy>
                 <width>40</width>
                 <height>40</height>
                 <texturenofocus>icon_menu_eject.png</texturenofocus>
                 <texturefocus>-</texturefocus>
                 <colordiffuse>grey</colordiffuse>
                 <onclick>EjectTray()</onclick>
                 <onleft>8132</onleft>
                 <onright>8134</onright>
                 <onup>8109</onup>
--->             <ondown>8101</ondown>
         </control>