diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-19 22:44:19 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-19 22:44:19 +0000 |
commit | 9910eae2ba950e335085a88b67930f171ea4ba32 (patch) | |
tree | cbd0a558325a5d0e80fc36e0a0998348393e465b | |
parent | eadc766b62f7b868facbe15f2c1f87ea7f8b0ca1 (diff) |
show in the osd the number of the button selected by the mouse
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19916 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | mplayer.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5162,6 +5162,7 @@ if(step_sec>0) { 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; |