mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
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:
parent
eadc766b62
commit
9910eae2ba
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user