Auto-action buttons can have spatial extents too
Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
| Newsgroups | gmane.comp.multimedia.dvdauthor.user |
|---|---|
| Message-ID | <[email protected]> |
The DVD spec allows for buttons in a menu to be of the “auto-action”
type. That means as soon as you move to such a button, it will perform
its action. Such buttons are useful, for example, to implement “next
screen” and “previous screen” functions where a menu would too many
items to fit them all on one screen.
The current official version of dvdauthor does not allow you to define
spatial extents for auto-action buttons. Actually there is a bug in
dvdunauthor where it does not implement this consistently, which leads
to a failure trying to run spuunmux on its output.
I have done a test involving both VLC and my DVD player, to confirm that
dvdauthor is wrong not to allow spatial extents for auto-action buttons:
both players do indeed briefly highlight the visible area of the button
before actually performing its action. Therefore I have implemented a
patch to my version of dvdauthor to remove this distinction completely.
This means a corresponding change to the spumux XML syntax, to allow all
the same spatial attributes on the “action” tag as on the “button” tag:
<button [ name="name" ] [ x0="x0" ] [ y0="y0" ] [ x1="x1" ]
[ y1="y1" ] [ up="name" ] [ down="name" ]
[ left="name" ] [ right="name" ] />
<action [ name="name" ] [ x0="x0" ] [ y0="y0" ] [ x1="x1" ]
[ y1="y1" ] />
Though I have yet to update the man page to reflect this. :)
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Dvdauthor-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users