Request ::: Multi level basic home (1 Viewer)

trevor

Portal Pro
October 17, 2006
1,600
950
Chelmsford
Home Country
United Kingdom United Kingdom
The main menu move is down to basic design issue in the way the scolling menu works, there are 2 buttons for each item 1 for up the other for down. When you move off one of these buttons the animation is triggerd and the menu does a little jump - thats the problem, how to solve it is a bigger issue.

Hi,

My menu doesn't move when you open a submenu. But it will move when you step back.
To be honest, in the original xml this issue was solved perfectly, but I just got lost somewhere in the middle, so I left it this way. That was more than a year ago, maybe I should try again.

Here: https://forum.team-mediaportal.com/...-mods-bug-fixes-49484/index12.html#post354641

Hi,

This is intresting, I will have a look at this as maybe something was lost when I put the new editor together, must admit to never really looking at it in detail at the problem.

thx
 

vrm42

Portal Pro
April 24, 2007
131
28
Home Country
Hungary Hungary
Hey,

I added back ~500 lines from the original xml, now menu stills when you return from submenu. However when you press UP, menu animation will be wrong. It moves from top to bottom instead of the opposite. Going DOWN is fine. Can't find the reason... :confused:
 

Attachments

  • Basichome.xml
    167.5 KB

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
Thanks vrm42 for helping out here, awesome, we'll get there eventually with the 3 of us trying to figure it out :)
I'll try and see if I have sometime to have a look @ it as well again.
 

vrm42

Portal Pro
April 24, 2007
131
28
Home Country
Hungary Hungary
Finally!

For change, this time I didn't only do deleting, copying and pasting but some thinking and creating :)
I guess....

I noticed references to non-existing IDs (1901-06) and since 1900 has function, that gave me an idea.
I created labels and controls for home menu items that are shown when you return from a sub-menu.
Those new labels are basically dupes, however they have no defined animations so they slide up and down as they should.
Or something like that. Take a look!

Now the code has over 5000 lines, but at least it's pretty complicated to add any new home menu items :D
 

Attachments

  • Basichome.xml
    193 KB

trevor

Portal Pro
October 17, 2006
1,600
950
Chelmsford
Home Country
United Kingdom United Kingdom
Finally!

For change, this time I didn't only do deleting, copying and pasting but some thinking and creating :)
I guess....

I noticed references to non-existing IDs (1901-06) and since 1900 has function, that gave me an idea.
I created labels and controls for home menu items that are shown when you return from a sub-menu.
Those new labels are basically dupes, however they have no defined animations so they slide up and down as they should.
Or something like that. Take a look!

Now the code has over 5000 lines, but at least it's pretty complicated to add any new home menu items :D

The 190x ID created as a buuton for the crowding fix code, it will be default item ID + 900, so for a default item of say 1002 a crowding fox button of 1902 will be created.

This said there is a bug that this has thrown up in that the visible statements, for every item the editor was generating the visiable statement that contained ID + 900 when it should be for the default item only, hence you seeing unused control IDs.

That said this is a good solution to the problem of returning to a menu item from a submenu and will also solve a few other issues.

I have started the process of intergrating this into the editor, it does mean a major redesign of the code (but that is overdue), will take me a couple of weeks I guess as on holiday next week and the wife seems to think I should not be hunched over the laptop :)


Thanks for your work on this.
 

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
Is it possible to create a package with submenus for the aeon mod ? Would be great :D

Sure it's possible but I think it won't be easy and likely a lot of work.
Trevor said he's gonna tackle the vertical first and then maybe look @ horizontal
 

MeMeMe

Portal Pro
August 4, 2010
71
2
I have the exact same issue of wanting a few too many plugins on the basic home screen, and this approach looks like an excellent solution.
 

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
Have to make a little note here cause this might be an issue for some of you;
The basichome (how I implemented it at least) takes a lot of CPU power. Normally I had around 10% CPU usage but now I have 1 core going crazy on 25% CPU usage overall (quad core)
 

Users who are viewing this thread

Top Bottom