diff mplayer.c @ 19910:8e3785c20752

show in the osd the number of the button selected by the mouse
author nicodvb
date Tue, 19 Sep 2006 22:44:19 +0000
parents b6aa47caeb72
children ef30bef09385
line wrap: on
line diff
--- a/mplayer.c	Tue Sep 19 22:01:27 2006 +0000
+++ b/mplayer.c	Tue Sep 19 22:44:19 2006 +0000
@@ -5162,6 +5162,7 @@
             pointer_x = (int) (dx * (double) sh_video->disp_w);
             pointer_y = (int) (dy * (double) sh_video->disp_h);
             mp_dvdnav_update_mouse_pos(stream, pointer_x, pointer_y, &button);
+            if(button>0) set_osd_msg(OSD_MSG_TEXT, 1, osd_duration, "Selected button number %d", button);
         }
 #endif
         break;