VLC
4.0.0-dev
|
Window mouse event. More...
Data Fields | |
enum vout_window_mouse_event_type | type |
Event type. More... | |
int | x |
Pointer abscissa. More... | |
int | y |
Pointer ordinate. More... | |
int | button_mask |
Pressed button. More... | |
Window mouse event.
This structure describes a pointer input event on a window.
int vout_window_mouse_event_t::button_mask |
Pressed button.
See vlc_mouse_button for possible vaules.
This is set if event
does not equal VOUT_WINDOW_MOUSE_MOVED.
Referenced by vout_display_window_MouseEvent().
enum vout_window_mouse_event_type vout_window_mouse_event_t::type |
Event type.
Referenced by vout_display_window_MouseEvent().
int vout_window_mouse_event_t::x |
Pointer abscissa.
The pointer abscissa is relative to the window and expressed in pixels. Abscissa goes from left to right, such that the left-most column is at 0 and the right-most column is at width minus one.
A negative abscissa refers to pixels to the left of the window, and an abscissa of width or larger refers to pixels to the right.
This is only set if event
equals VOUT_WINDOW_MOUSE_MOVED.
Referenced by vout_display_window_MouseEvent(), and vout_window_ReportMouseMoved().
int vout_window_mouse_event_t::y |
Pointer ordinate.
The pointer ordinate is relative to the window and expressed in pixels. Ordinate goes from top to bottom, such that the top-most row is at 0 and the bottom-most column is at height minus one.
A negative ordinate refers to pixels above the window, and an ordinate of height or larger refers to pixels below the window.
This is only set if event
equals VOUT_WINDOW_MOUSE_MOVED.
Referenced by vout_display_window_MouseEvent(), and vout_window_ReportMouseMoved().