Mercurial > libdvdnav.hg
comparison dvdnav.h @ 91:df9712507b30 src
Add a new API function, to allow for more flexible menu button control.
The current menu button control code relies on wrong NAV PCI packet information which is
out of sync with what is actually being displayed.
author | jcdutton |
---|---|
date | Wed, 04 Sep 2002 11:41:52 +0000 |
parents | eeabf5a51b2b |
children | e7ebabe059b9 |
comparison
equal
deleted
inserted
replaced
90:eeabf5a51b2b | 91:df9712507b30 |
---|---|
39 | 39 |
40 /* Various useful types */ | 40 /* Various useful types */ |
41 #include "dvd_types.h" | 41 #include "dvd_types.h" |
42 | 42 |
43 #include <dvdread/dvd_reader.h> | 43 #include <dvdread/dvd_reader.h> |
44 #include <dvdread/ifo_types.h> /* For vm_cmd_t */ | |
44 | 45 |
45 /** | 46 /** |
46 * Opaque data-type can be viewed as a 'DVD handle'. You should get | 47 * Opaque data-type can be viewed as a 'DVD handle'. You should get |
47 * a pointer to a dvdnav_t from the dvdnav_open() function. | 48 * a pointer to a dvdnav_t from the dvdnav_open() function. |
48 * \sa dvdnav_open() | 49 * \sa dvdnav_open() |
573 * \param button 1..39 -- Button number to activate. | 574 * \param button 1..39 -- Button number to activate. |
574 */ | 575 */ |
575 dvdnav_status_t dvdnav_button_select_and_activate(dvdnav_t *self, int button); | 576 dvdnav_status_t dvdnav_button_select_and_activate(dvdnav_t *self, int button); |
576 | 577 |
577 /** | 578 /** |
579 * Activate (press) a button and execute specified command. | |
580 * | |
581 * \param self Pointer to dvdnav_t associated with this operation. | |
582 * \param cmd DVD Command to execute. | |
583 */ | |
584 dvdnav_status_t dvdnav_button_activate_cmd(dvdnav_t *self, int32_t button, vm_cmd_t *cmd); | |
585 | |
586 /** | |
578 * Select button at specified (image) co-ordinates. | 587 * Select button at specified (image) co-ordinates. |
579 * | 588 * |
580 * \param self Pointer to dvdnav_t associated with this operation. | 589 * \param self Pointer to dvdnav_t associated with this operation. |
581 * \param x X co-ordinate in image. | 590 * \param x X co-ordinate in image. |
582 * \param y Y xo-ordinate in image. | 591 * \param y Y xo-ordinate in image. |