Mercurial > mplayer.hg
diff stream/stream_dvdnav.h @ 21200:c7b5dd2b2291
better nav highlight handling
author | ben |
---|---|
date | Sat, 25 Nov 2006 13:03:51 +0000 |
parents | 92977b0a5515 |
children | 8258747951d7 |
line wrap: on
line diff
--- a/stream/stream_dvdnav.h Sat Nov 25 12:37:47 2006 +0000 +++ b/stream/stream_dvdnav.h Sat Nov 25 13:03:51 2006 +0000 @@ -10,6 +10,11 @@ } dvdnav_event_t; typedef struct { + uint16_t sx, sy; + uint16_t ex, ey; +} nav_highlight_t; + +typedef struct { dvdnav_t * dvdnav; /* handle to libdvdnav stuff */ char * filename; /* path */ int ignore_timers; /* should timers be skipped? */ @@ -26,5 +31,6 @@ int dvdnav_sid_from_lang(stream_t *stream, unsigned char *language); int mp_dvdnav_handle_input(stream_t *stream, int cmd, int *button); void mp_dvdnav_update_mouse_pos(stream_t *stream, int32_t x, int32_t y, int* button); +void mp_dvdnav_get_highlight (nav_highlight_t *hl); #endif