enum cv::MouseEventFlags

Overview

Mouse Event Flags see cv::MouseCallback. Moreā€¦

#include <highgui.hpp>

enum MouseEventFlags
{
    EVENT_FLAG_LBUTTON  = 1,
    EVENT_FLAG_RBUTTON  = 2,
    EVENT_FLAG_MBUTTON  = 4,
    EVENT_FLAG_CTRLKEY  = 8,
    EVENT_FLAG_SHIFTKEY = 16,
    EVENT_FLAG_ALTKEY   = 32,
};

Detailed Documentation

Mouse Event Flags see cv::MouseCallback.

Enum Values

EVENT_FLAG_LBUTTON

indicates that the left mouse button is down.

EVENT_FLAG_RBUTTON

indicates that the right mouse button is down.

EVENT_FLAG_MBUTTON

indicates that the middle mouse button is down.

EVENT_FLAG_CTRLKEY

indicates that CTRL Key is pressed.

EVENT_FLAG_SHIFTKEY

indicates that SHIFT Key is pressed.

EVENT_FLAG_ALTKEY

indicates that ALT Key is pressed.