From b0bd93cbc18032dde6abb42cbc3068e906622e48 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 13 Dec 2013 00:19:17 +0100 Subject: dvdnav: support mouse interaction --- sub/osd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sub/osd.h') diff --git a/sub/osd.h b/sub/osd.h index 75536f6692..6399804288 100644 --- a/sub/osd.h +++ b/sub/osd.h @@ -235,6 +235,9 @@ void osd_draw_on_image_p(struct osd_state *osd, struct mp_osd_res res, void osd_object_get_scale_factor(struct osd_state *osd, struct osd_object *obj, double *sw, double *sh); +void osd_coords_to_video(struct osd_state *osd, int frame_w, int frame_h, + int *x, int *y); + void osd_rescale_bitmaps(struct sub_bitmaps *imgs, int frame_w, int frame_h, struct mp_osd_res res, double compensate_par); -- cgit v1.2.3