Make highgui.hpp independent from C API
This commit is contained in:
@@ -28,7 +28,7 @@ bool addRemovePt = false;
|
||||
|
||||
static void onMouse( int event, int x, int y, int /*flags*/, void* /*param*/ )
|
||||
{
|
||||
if( event == CV_EVENT_LBUTTONDOWN )
|
||||
if( event == EVENT_LBUTTONDOWN )
|
||||
{
|
||||
point = Point2f((float)x,(float)y);
|
||||
addRemovePt = true;
|
||||
|
Reference in New Issue
Block a user