[MPlayer-cvslog] r19916 - trunk/mplayer.c

nicodvb subversion at mplayerhq.hu
Wed Sep 20 00:44:19 CEST 2006


Author: nicodvb
Date: Wed Sep 20 00:44:19 2006
New Revision: 19916

Modified:
   trunk/mplayer.c

Log:
show in the osd the number of the button selected by the mouse

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Wed Sep 20 00:44:19 2006
@@ -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;



More information about the MPlayer-cvslog mailing list