diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-06-02 06:36:30 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-06-02 06:36:30 +0000 |
commit | 4b2bf6fdebc77fca044d9aa043dd56726d10e7d1 (patch) | |
tree | 21fe7b3fd1e5e2885f9d5686795121e83f9929a1 /src/input/libdvdnav | |
parent | 620c5284eda213c0b7d0596ea405de5fd4e22aa0 (diff) | |
download | xine-lib-4b2bf6fdebc77fca044d9aa043dd56726d10e7d1.tar.gz xine-lib-4b2bf6fdebc77fca044d9aa043dd56726d10e7d1.tar.bz2 |
new event which inform UI when the mouse pointer enter and leave a spu button (DVD navigation)
CVS patchset: 4997
CVS date: 2003/06/02 06:36:30
Diffstat (limited to 'src/input/libdvdnav')
-rw-r--r-- | src/input/libdvdnav/highlight.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/input/libdvdnav/highlight.c b/src/input/libdvdnav/highlight.c index c85f59e2c..f8dc4aaba 100644 --- a/src/input/libdvdnav/highlight.c +++ b/src/input/libdvdnav/highlight.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: highlight.c,v 1.15 2003/05/16 09:56:50 mroi Exp $ + * $Id: highlight.c,v 1.16 2003/06/02 06:36:33 f1rmb Exp $ * */ @@ -213,7 +213,8 @@ dvdnav_status_t dvdnav_get_current_highlight(dvdnav_t *this, int32_t *button) { } /* Simply return the appropriate value based on the SPRM */ - (*button) = this->position_current.button; + if(((*button) = this->position_current.button) == -1) + (*button) = this->vm->state.HL_BTNN_REG >> 10; return DVDNAV_STATUS_OK; } |