Mercurial > libdvdnav.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
97:c1dff1899bda | 98:457f35f43ba6 |
---|---|
532 /** | 532 /** |
533 * Move button highlight around as suggested by function name (e.g. with arrow keys). | 533 * Move button highlight around as suggested by function name (e.g. with arrow keys). |
534 * | 534 * |
535 * \param self Pointer to dvdnav_t associated with this operation. | 535 * \param self Pointer to dvdnav_t associated with this operation. |
536 */ | 536 */ |
537 dvdnav_status_t dvdnav_upper_button_select(dvdnav_t *self); | 537 dvdnav_status_t dvdnav_upper_button_select(dvdnav_t *self, pci_t *pci); |
538 /** | 538 /** |
539 * Move button highlight around as suggested by function name (e.g. with arrow keys). | 539 * Move button highlight around as suggested by function name (e.g. with arrow keys). |
540 * | 540 * |
541 * \param self Pointer to dvdnav_t associated with this operation. | 541 * \param self Pointer to dvdnav_t associated with this operation. |
542 */ | 542 */ |
543 dvdnav_status_t dvdnav_lower_button_select(dvdnav_t *self); | 543 dvdnav_status_t dvdnav_lower_button_select(dvdnav_t *self, pci_t *pci); |
544 /** | 544 /** |
545 * Move button highlight around as suggested by function name (e.g. with arrow keys). | 545 * Move button highlight around as suggested by function name (e.g. with arrow keys). |
546 * | 546 * |
547 * \param self Pointer to dvdnav_t associated with this operation. | 547 * \param self Pointer to dvdnav_t associated with this operation. |
548 */ | 548 */ |
549 dvdnav_status_t dvdnav_right_button_select(dvdnav_t *self); | 549 dvdnav_status_t dvdnav_right_button_select(dvdnav_t *self, pci_t *pci); |
550 /** | 550 /** |
551 * Move button highlight around as suggested by function name (e.g. with arrow keys). | 551 * Move button highlight around as suggested by function name (e.g. with arrow keys). |
552 * | 552 * |
553 * \param self Pointer to dvdnav_t associated with this operation. | 553 * \param self Pointer to dvdnav_t associated with this operation. |
554 */ | 554 */ |
555 dvdnav_status_t dvdnav_left_button_select(dvdnav_t *self); | 555 dvdnav_status_t dvdnav_left_button_select(dvdnav_t *self, pci_t *pci); |
556 | 556 |
557 /** | 557 /** |
558 * Activate (press) the currently highlighted button. | 558 * Activate (press) the currently highlighted button. |
559 * \param self Pointer to dvdnav_t associated with this operation. | 559 * \param self Pointer to dvdnav_t associated with this operation. |
560 */ | 560 */ |
561 dvdnav_status_t dvdnav_button_activate(dvdnav_t *self); | 561 dvdnav_status_t dvdnav_button_activate(dvdnav_t *self, pci_t *pci); |
562 | 562 |
563 /** | 563 /** |
564 * Highlight a specific button. | 564 * Highlight a specific button. |
565 * | 565 * |
566 * \param self Pointer to dvdnav_t associated with this operation. | 566 * \param self Pointer to dvdnav_t associated with this operation. |
567 * \param button 1..39 -- Button number to activate. | 567 * \param button 1..39 -- Button number to activate. |
568 */ | 568 */ |
569 dvdnav_status_t dvdnav_button_select(dvdnav_t *self, int button); | 569 dvdnav_status_t dvdnav_button_select(dvdnav_t *self, pci_t *pci, int button); |
570 | 570 |
571 /** | 571 /** |
572 * Activate (press) specified button. | 572 * Activate (press) specified button. |
573 * | 573 * |
574 * \param self Pointer to dvdnav_t associated with this operation. | 574 * \param self Pointer to dvdnav_t associated with this operation. |
575 * \param button 1..39 -- Button number to activate. | 575 * \param button 1..39 -- Button number to activate. |
576 */ | 576 */ |
577 dvdnav_status_t dvdnav_button_select_and_activate(dvdnav_t *self, int button); | 577 dvdnav_status_t dvdnav_button_select_and_activate(dvdnav_t *self, pci_t *pci, int button); |
578 | 578 |
579 /** | 579 /** |
580 * Activate (press) a button and execute specified command. | 580 * Activate (press) a button and execute specified command. |
581 * | 581 * |
582 * \param self Pointer to dvdnav_t associated with this operation. | 582 * \param self Pointer to dvdnav_t associated with this operation. |
589 * | 589 * |
590 * \param self Pointer to dvdnav_t associated with this operation. | 590 * \param self Pointer to dvdnav_t associated with this operation. |
591 * \param x X co-ordinate in image. | 591 * \param x X co-ordinate in image. |
592 * \param y Y xo-ordinate in image. | 592 * \param y Y xo-ordinate in image. |
593 */ | 593 */ |
594 dvdnav_status_t dvdnav_mouse_select(dvdnav_t *self, int x, int y); | 594 dvdnav_status_t dvdnav_mouse_select(dvdnav_t *self, pci_t *pci, int x, int y); |
595 | 595 |
596 /** | 596 /** |
597 * Activate (press) button at specified co-ordinates. | 597 * Activate (press) button at specified co-ordinates. |
598 * | 598 * |
599 * \param self Pointer to dvdnav_t associated with this operation. | 599 * \param self Pointer to dvdnav_t associated with this operation. |
600 * \param x X co-ordinate in image. | 600 * \param x X co-ordinate in image. |
601 * \param y Y xo-ordinate in image. | 601 * \param y Y xo-ordinate in image. |
602 */ | 602 */ |
603 dvdnav_status_t dvdnav_mouse_activate(dvdnav_t *self, int x, int y); | 603 dvdnav_status_t dvdnav_mouse_activate(dvdnav_t *self, pci_t *pci, int x, int y); |
604 | 604 |
605 /** | 605 /** |
606 * @} | 606 * @} |
607 */ | 607 */ |
608 | 608 |