Mercurial > libdvdnav.hg
diff dvdnav.h @ 98:457f35f43ba6 src
Improved DVD menu selection.
The application using libdvdnav has to supply the nav_pci info.
The nav_pci info in libdvdnav is not parsed correctly, and is also not insync with the
display.
author | jcdutton |
---|---|
date | Wed, 18 Sep 2002 04:21:45 +0000 |
parents | e7ebabe059b9 |
children | b6834e6359cf |
line wrap: on
line diff
--- a/dvdnav.h Tue Sep 17 11:00:25 2002 +0000 +++ b/dvdnav.h Wed Sep 18 04:21:45 2002 +0000 @@ -534,31 +534,31 @@ * * \param self Pointer to dvdnav_t associated with this operation. */ -dvdnav_status_t dvdnav_upper_button_select(dvdnav_t *self); +dvdnav_status_t dvdnav_upper_button_select(dvdnav_t *self, pci_t *pci); /** * Move button highlight around as suggested by function name (e.g. with arrow keys). * * \param self Pointer to dvdnav_t associated with this operation. */ -dvdnav_status_t dvdnav_lower_button_select(dvdnav_t *self); +dvdnav_status_t dvdnav_lower_button_select(dvdnav_t *self, pci_t *pci); /** * Move button highlight around as suggested by function name (e.g. with arrow keys). * * \param self Pointer to dvdnav_t associated with this operation. */ -dvdnav_status_t dvdnav_right_button_select(dvdnav_t *self); +dvdnav_status_t dvdnav_right_button_select(dvdnav_t *self, pci_t *pci); /** * Move button highlight around as suggested by function name (e.g. with arrow keys). * * \param self Pointer to dvdnav_t associated with this operation. */ -dvdnav_status_t dvdnav_left_button_select(dvdnav_t *self); +dvdnav_status_t dvdnav_left_button_select(dvdnav_t *self, pci_t *pci); /** * Activate (press) the currently highlighted button. * \param self Pointer to dvdnav_t associated with this operation. */ -dvdnav_status_t dvdnav_button_activate(dvdnav_t *self); +dvdnav_status_t dvdnav_button_activate(dvdnav_t *self, pci_t *pci); /** * Highlight a specific button. @@ -566,7 +566,7 @@ * \param self Pointer to dvdnav_t associated with this operation. * \param button 1..39 -- Button number to activate. */ -dvdnav_status_t dvdnav_button_select(dvdnav_t *self, int button); +dvdnav_status_t dvdnav_button_select(dvdnav_t *self, pci_t *pci, int button); /** * Activate (press) specified button. @@ -574,7 +574,7 @@ * \param self Pointer to dvdnav_t associated with this operation. * \param button 1..39 -- Button number to activate. */ -dvdnav_status_t dvdnav_button_select_and_activate(dvdnav_t *self, int button); +dvdnav_status_t dvdnav_button_select_and_activate(dvdnav_t *self, pci_t *pci, int button); /** * Activate (press) a button and execute specified command. @@ -591,7 +591,7 @@ * \param x X co-ordinate in image. * \param y Y xo-ordinate in image. */ -dvdnav_status_t dvdnav_mouse_select(dvdnav_t *self, int x, int y); +dvdnav_status_t dvdnav_mouse_select(dvdnav_t *self, pci_t *pci, int x, int y); /** * Activate (press) button at specified co-ordinates. @@ -600,7 +600,7 @@ * \param x X co-ordinate in image. * \param y Y xo-ordinate in image. */ -dvdnav_status_t dvdnav_mouse_activate(dvdnav_t *self, int x, int y); +dvdnav_status_t dvdnav_mouse_activate(dvdnav_t *self, pci_t *pci, int x, int y); /** * @}