DVDBuilder for C++
3.4
DVD Authoring Software Development Kit
|
Defines a highlight area and a navigation command, that can be selected, and activated by the viewer. There can be up to 36 buttons per one menu.
<button left="num" top="num" width="num" height="num" navigate="Menu=id;|Title=id;|Title=id; Chapter=num;" />
Attribute | Option | Description |
left | 1 to 720 (NTSC) 1 to 720 (PAL) | Specifies the left position of the button rectangle. |
top | 1 to 480 (NTSC) 1 to 576 (PAL) | Specifies the top position of the button rectangle. |
width | 1 to 720 (NTSC) 1 to 720 (PAL) | Specifies the width of the button rectangle. |
height | 1 to 480 (NTSC) 1 to 576 (PAL) | Specifies the height of the button rectangle. |
navigate | Menu=id; | Navigates to a menu with ID "id". Example: Menu=50001; |
Title=id; | Navigates to a title with ID "id". Example: Title=1; | |
Title=id; Chapter=num; | Navigates to Chapter with number "num" from Title with ID "id". This navigation command can be used onlyin titleSet (VTS) menus. Example: Title=1;Chapter=1; |
Element | Description |
<command> | Specifies the VM command to be executed when the button is activated. |
When a button is selected, the portion of the mask enclosed in button's rectangular area is shown with certain colors and opacity, as defined in the <selection> element. The DVD specification allows up to 36 buttons per menu.
If <command> child element is specified then the attribute "navigate" is not required. If both <command> child element and attribute "navigate" are specified then the program will use only the <command> child element.
The following example shows a DVD that has a VMG Title menu with one button. When the button is activated the DVD player will play the contents of chapter 1 from title 1.