view_mouse_event_t Struct Reference
Information about a mouse action within a view. More...
#include <kernwin.hpp>
Public Types | |
typedef view_mouse_event_location_t | location_t |
Public Attributes | |
tcc_renderer_type_t | rtype |
type of renderer that received the event | |
uint32 | x |
screen x coordinate | |
uint32 | y |
screen y coordinate | |
location_t | location |
location where event was generated | |
view_event_state_t | state |
contains information about what buttons are CURRENTLY pressed on the keyboard and mouse. More... | |
vme_button_t | button |
represents which mouse button was responsible for generating the event. More... | |
renderer_pos_info_t | renderer_pos |
position where event was generated, relative to the renderer | |
Detailed Description
Information about a mouse action within a view.
Member Data Documentation
◆ state
view_event_state_t view_mouse_event_t::state |
contains information about what buttons are CURRENTLY pressed on the keyboard and mouse.
view_mouse_event_t instances created in functions like mouseReleaseEvent() won't contain any information about the mouse, because it has been released.
◆ button
vme_button_t view_mouse_event_t::button |
represents which mouse button was responsible for generating the event.
This field does not care about the current state of the mouse.
The documentation for this struct was generated from the following file:
Generated by 1.9.3