Locking the menu in place? (auriga)
#1
Any mods or suggestions on how to prevent the menu on the home screen from moving when you press up and down?
Reply
#2
sentinel41 Wrote:Any mods or suggestions on how to prevent the menu on the home screen from moving when you press up and down?
Yes it can be done easily, if you download Cf2009 mod pack it comes with that.
If you just want the code to add to your own files then i remember gOOfy1 wrote and posted
the code in my Auriga_lite thread either way works just fine and it gives you the option to enable or disable itSmileSmile
XBMC Frodo 12 - Windows 7 - Asrock Ion 330HT - Aeon Nox
Reply
#3
Thanks, I'll repost the code here in case anyone else is looking for it.

g00fy1 Wrote:@Paul:

Here's the lock menu bar mod with a setting in Settings -> Customize -> Advanced -> Home:

In Includes_MainMenu.xml find this:
Code:
<include name="PushForSub">
    <ondown>Skin.SetBool(lowermainmenu)</ondown>
    <onup>Skin.Reset(lowermainmenu)</onup>
</include>

<include name="DownForSub">
    <onup>Skin.Reset(lowermainmenu)</onup>
    <ondown>351</ondown>
</include>

Paste this under that:
Code:
<!-- MOD: Lock Menu Bar -->
<include name="DownForSub2">
    <onup>300</onup>
    <ondown>351</ondown>
</include>
<!-- END MOD: Lock Menu Bar -->

Also in Includes_MainMenu.xml find this:
Code:
        <include condition="!Skin.HasSetting(onetouch)">DownForSub</include>
        <include condition="Skin.HasSetting(onetouch)">PushForSub</include>

And replace that with this:
Code:
<!-- MOD: Lock Menu Bar -->
<!-- Old code
        <include condition="!Skin.HasSetting(onetouch)">DownForSub</include>
        <include condition="Skin.HasSetting(onetouch)">PushForSub</include>
-->
        <include condition="!Skin.HasSetting(onetouch) + !Skin.HasSetting(HomeMenuBarAnimation)">DownForSub2</include>
        <include condition="!Skin.HasSetting(onetouch) + Skin.HasSetting(HomeMenuBarAnimation)">DownForSub</include>
        <include condition="Skin.HasSetting(onetouch) + Skin.HasSetting(HomeMenuBarAnimation)">PushForSub</include>
<!-- END MOD: Lock Menu Bar -->

In Includes_Submenu.xml find this:
Code:
        <control type="button" id="352">
            <onfocus>Skin.SetBool(lowermainmenu)</onfocus>
            <onfocus>SetFocus(300)</onfocus>
        </control>

Replace that with this this:
Code:
<!-- MOD: Lock Menu Bar -->
<!-- Old code
        <control type="button" id="352">
            <onfocus>Skin.SetBool(lowermainmenu)</onfocus>
            <onfocus>SetFocus(300)</onfocus>
        </control>
-->
        <control type="button" id="352">
            <visible>Skin.HasSetting(HomeMenuBarAnimation)</visible>
            <onfocus>Skin.SetBool(lowermainmenu)</onfocus>
            <onfocus>SetFocus(300)</onfocus>
        </control>
<!-- END MOD: Lock Menu Bar -->

Let me know if you have any problems with it.
Reply
#4
sentinel41 Wrote:Thanks, I'll repost the code here in case anyone else is looking for it.
Have you tried it yet? this mod is allway's the first mod i install into every version of auriga and it's a must in my oppinion and it should be added to the GithubSmile
XBMC Frodo 12 - Windows 7 - Asrock Ion 330HT - Aeon Nox
Reply
#5
i'll take a look at it this afternoon and when i get it to work i'll push it to my branch
Reply
#6
http://github.com/pletopia/aeon/commit/e...087ea20c80

its on git for you guys Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Locking the menu in place? (auriga)2