From 8802d62cc5afd16987947ff4c0334e528141a4a4 Mon Sep 17 00:00:00 2001 From: Adi Shavit Date: Thu, 16 Jan 2014 11:25:57 +0200 Subject: [PATCH] Updated docs. --- modules/highgui/doc/user_interface.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/modules/highgui/doc/user_interface.rst b/modules/highgui/doc/user_interface.rst index 8b655a1..58b040b 100644 --- a/modules/highgui/doc/user_interface.rst +++ b/modules/highgui/doc/user_interface.rst @@ -208,6 +208,24 @@ Sets mouse handler for the specified window :param userdata: The optional parameter passed to the callback. +getMouseWheelDelta +------------------ +Gets the mouse-wheel motion delta, when handling mouse-wheel events EVENT_MOUSEWHEEL and EVENT_MOUSEHWHEEL. + +.. ocv:function:: int getMouseWheelDelta(int flags) + +.. ocv:cfunction:: CV_GET_WHEEL_DELTA(flags) + + :param flags: The mouse callback flags parameter. + + +For EVENT_MOUSEWHEEL positive and negative values mean forward and backward scrolling, respectively. +For EVENT_MOUSEHWHEEL, where available, positive and negative values mean right and left scrolling, respectively. + +.. note:: + + Mouse-wheel event are currently available only on Windows. On Windows Units are usually multiples of 120. + setTrackbarPos ------------------ Sets the trackbar position. -- 2.7.4