mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
gst/gl: Add documentation for new scroll API
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/647>
This commit is contained in:
parent
ed910e6cb8
commit
101868c5d0
1 changed files with 13 additions and 0 deletions
|
@ -935,6 +935,19 @@ gst_gl_window_send_mouse_event (GstGLWindow * window, const char *event_type,
|
|||
event_type, button, posx, posy);
|
||||
}
|
||||
|
||||
/**
|
||||
* gst_gl_window_send_scroll_event:
|
||||
* @window: a #GstGLWindow
|
||||
* @posx: x position of the mouse cursor
|
||||
* @posy: y position of the mouse cursor
|
||||
* @delta_x: the x offset of the scroll event
|
||||
* @delta_y: the y offset of the scroll event
|
||||
*
|
||||
* Notify a @window about a scroll event. A scroll signal holding the event
|
||||
* coordinates will be emitted.
|
||||
*
|
||||
* Since: 1.18
|
||||
*/
|
||||
void
|
||||
gst_gl_window_send_scroll_event (GstGLWindow * window,
|
||||
double posx, double posy, double delta_x, double delta_y)
|
||||
|
|
Loading…
Reference in a new issue