Disko Forum logo Login  |  Register  |  Lost Password
<< Start < Prev 1 2 Next > End >>
Make a "scrolling" horizontal menu

andre
Posts: 35
graphgraph

Make a "scrolling" horizontal menu 5 Years, 8 Months ago  
Hello,

After figuring out the basics of the MMSMenuWidget, I am now trying something more elaborated.

Basically I am trying to implement an horizontal menu that behaves similar to the one shown in the Disko animation demo on TI DaVinci video:

- Horizontal menu
- The selected item is always in the middle of the window and the menu shifts accordingly
- Not all the items are visible at the same time, but they appear as the shifting is performed

Can anyone give me some help here please?

Thanks in advance,
André
 
  The administrator has disabled public write access.
Make a "scrolling" horizontal menu

andre
Posts: 35
graphgraph

Re:Make a "scrolling" horizontal menu 5 Years, 8 Months ago  
Hello,

I realised that I should use the setFixedPos() member function of MMSMenuWidget to get the scrolling menu effect.

But the problem now is that I cannot reach the "out-of-bounds" menu items. I have an horizontal menu with 6 items but, given their width, only 2 of them are visible at a time. But then I cannot navigate to the others because they simply do not show up.

Can anyone help me with this please?

Thanks,
André
 
  The administrator has disabled public write access.
Make a "scrolling" horizontal menu

Guido
Admin
Posts: 54
graphgraph

Re:Make a "scrolling" horizontal menu 5 Years, 8 Months ago  
Hi André,

please attach your dialog xml file and your themes file to this thread.

After that we can say more about your problems.

regards

Guido
 
  The administrator has disabled public write access.
Make a "scrolling" horizontal menu

andre
Admin
Posts: 35
graphgraph

Re:Make a "scrolling" horizontal menu 5 Years, 8 Months ago  
Hello Guido,

Thank you for your answer.

I am not using dialogs but I am using themes.

Please find the archive attached.

/home/andre/disko/tests-andre/tmp/menu-test-4.tar.bz2 [/file]

Many thanks,
André
 
  The administrator has disabled public write access.
Make a "scrolling" horizontal menu

andre
Admin
Posts: 35
graphgraph

Re:Make a "scrolling" horizontal menu 5 Years, 8 Months ago  
Problems uploading archive....

Please get it here: http://rapidshare.com/files/324980980/menu-test-4.tar.bz2.html

Thanks,
André
 
  The administrator has disabled public write access.
Make a "scrolling" horizontal menu

Guido
Admin
Posts: 54
graphgraph

Re:Make a "scrolling" horizontal menu 5 Years, 8 Months ago  
Hi André,

i can't reproduce your problem. I compiled your code successfully (against the latest disko git version) and it seems that the menu is running correctly - screenshot attached!



regards

Guido
 
  The administrator has disabled public write access.
<< Start < Prev 1 2 Next > End >>
Powered by FireBoard
get the latest posts directly to your desktop