From: Adi Shavit Date: Thu, 16 Jan 2014 14:30:54 +0000 (+0200) Subject: Doc fix. X-Git-Tag: submit/tizen_ivi/20141117.190038~2^2~723^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8fd0fd538d567828bfd12861493c69f407b9dc23;p=profile%2Fivi%2Fopencv.git Doc fix. --- diff --git a/modules/highgui/doc/user_interface.rst b/modules/highgui/doc/user_interface.rst index 2be7a67..0d0ccde 100644 --- a/modules/highgui/doc/user_interface.rst +++ b/modules/highgui/doc/user_interface.rst @@ -214,8 +214,6 @@ Gets the mouse-wheel motion delta, when handling mouse-wheel events EVENT_MOUSEW .. ocv:function:: int getMouseWheelDelta(int flags) -.. ocv:cfunction:: CV_GET_WHEEL_DELTA(flags) - :param flags: The mouse callback flags parameter. For regular mice with a scroll-wheel, delta will be a multiple of 120. The value 120 corresponds to a one notch rotation of the wheel or the threshold for action to be taken and one such action should occur for each delta. @@ -224,6 +222,8 @@ Some high-precision mice with higher-resolution freely-rotating wheels may gener 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. +With the C API, the macro CV_GET_WHEEL_DELTA(flags) can be used alternatively. + .. note:: Mouse-wheel events are currently supported only on Windows.