Mouse call back always give 0for x and y coordinates in Opengl window (Bug #4338)


Added by Laurent Berger almost 10 years ago. Updated over 9 years ago.


Status:New Start date:2015-05-14
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:highgui-gui
Target version:3.0
Affected version:branch 'master' (3.0-dev) Operating System:Windows
Difficulty:Medium HW Platform:x64
Pull request:

Description

in file window_w32.cpp at line 1617
window->on_mouse( event, pt.x*size.cx/MAX,
pt.y*size.cy/MAX, flags,
window->on_mouse_param );

size seems always (0,0) in a window when window->flags &cv::WINDOW_OPENGL is not zero


History

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4990

Also available in: Atom PDF