Re: Buggy menu

Peter Koeleman <[email protected]>
Newsgroups gmane.comp.multimedia.dvdauthor.user
Message-ID <[email protected]>
Op vrijdag 12 november 2010 15:14:52 schreef José Jorge:
> Le vendredi 12 novembre 2010 12:26:00, Peter Koeleman a écrit :
> > Hello José,
> > 
> > Could it be that you didn't specify the button order correctly? If you
> > navigate the menu with your mouse in a graphical display then that's not
> > a problem, but if you rely on the up, down, left and right buttons on a
> > remote then you need to be able to go from the first button to the next.
> > 
> > For spumux, you can specify in the input xml a <button> tag, as you
> > probably know, and those tags take the "up", "down", "left" and "right"
> > parameters that refer to the "name" parameter of the button tags.
> 
> This must be the problem.
> So I must rework the menus with this tags (a line in example please)?
> Or just reordering them will do the trick?

To be honest, I just looked at http://dvdauthor.sourceforge.net/doc/spumux.html which I assume has the latest documentation.

An example with 4 buttons in a vertical row would then look like this:

<?xml version="1.0"?>
<subpictures>
  <stream>
    <spu start="00:00:00.0" end="00:00:00.0" highlight="MenuHighlight.png" select="MenuSelect.png" force="yes">
      <button name="button1" x0="130" y0="200" x1="580" y1="250" up="button4" down="button2" left="button4" right="button2"/>
      <button name="button2" x0="130" y0="300" x1="580" y1="350" up="button1" down="button3" left="button1" right="button3"/>
      <button name="button3" x0="130" y0="400" x1="580" y1="450" up="button2" down="button4" left="button2" right="button4"/>
      <button name="button4" x0="130" y0="500" x1="580" y1="550" up="button3" down="button1" left="button3" right="button1"/>
    </spu>
  </stream>
</subpictures>

Note that when you navigate to the left and right, which may not make sense in a vertical row, I decided to make right be the same direction as down and left 
the same as up. The buttons also wrap around.

In your XML file for dvdauthor you must also call your buttons "button1" to "button4"!

Hope this helps.

Peter

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.