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
This commit is contained in:
nicodvb 2006-09-19 22:44:19 +00:00
parent eadc766b62
commit 9910eae2ba
1 changed files with 1 additions and 0 deletions

View File

@ -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;