Locking the menu in place? (auriga)

  Thread Rating:
  • 2 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
sentinel41 Offline
Member
Posts: 97
Joined: Feb 2009
Reputation: 0
Post: #1
Any mods or suggestions on how to prevent the menu on the home screen from moving when you press up and down?
find quote
paul Offline
Posting Freak
Posts: 2,772
Joined: Oct 2008
Reputation: 4
Location: Planet Earth
Post: #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
find quote
sentinel41 Offline
Member
Posts: 97
Joined: Feb 2009
Reputation: 0
Post: #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.
find quote
paul Offline
Posting Freak
Posts: 2,772
Joined: Oct 2008
Reputation: 4
Location: Planet Earth
Post: #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
find quote
pletopia Offline
Fan
Posts: 737
Joined: Jul 2008
Reputation: 1
Post: #5
i'll take a look at it this afternoon and when i get it to work i'll push it to my branch
find quote
pletopia Offline
Fan
Posts: 737
Joined: Jul 2008
Reputation: 1
Post: #6
http://github.com/pletopia/aeon/commit/e...087ea20c80

its on git for you guys Smile
find quote