summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvdnav.h
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-25 13:03:51 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-25 13:03:51 +0000
commit42eecb4f1b879a85bc93ef5b45eeed21326359bb (patch)
tree8ce3ddd1082358fc805d2f761ac2f6034f2b0a96 /stream/stream_dvdnav.h
parentf313243ca1a718b990f0a83923d05d32d6591f3c (diff)
downloadmpv-42eecb4f1b879a85bc93ef5b45eeed21326359bb.tar.bz2
mpv-42eecb4f1b879a85bc93ef5b45eeed21326359bb.tar.xz
better nav highlight handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21216 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_dvdnav.h')
-rw-r--r--stream/stream_dvdnav.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/stream/stream_dvdnav.h b/stream/stream_dvdnav.h
index b6c60dbfe8..dea847ba38 100644
--- a/stream/stream_dvdnav.h
+++ b/stream/stream_dvdnav.h
@@ -10,6 +10,11 @@ typedef struct {
} 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_number_of_subs(stream_t *stream);
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