fecd5c994b
To be used in the mouse callback like this: if (CV_EVENT_MOUSEWHEEL == CV_GET_MOUSEWHEEL_EVENT(event)) { int delta= CV_GET_WHEEL_DELTA(event); // use delta... }