Sleeping Wombat GUI
0.100
swGUI
|
Mouse button clicked event. More...
#include <MouseButtonEventArgs.h>
Public Member Functions | |
MouseButtonEventArgs (input::MouseDevice *device, input::Mouse::PhysicalButtons button) | |
Public Member Functions inherited from sw::gui::MouseEventArgs | |
MouseEventArgs (input::MouseDevice *device) | |
Public Member Functions inherited from sw::gui::InputEventArgs | |
InputEventArgs (input::Device *device) | |
Public Member Functions inherited from sw::gui::IEventArgs | |
IEventArgs () | |
Public Attributes | |
const input::KeyState & | State |
input::Mouse::PhysicalButtons | Button |
bool | IsUp |
bool | IsDown |
Public Attributes inherited from sw::gui::MouseEventArgs | |
input::MouseDevice * | Mouse |
Mouse device. You can get current mouse state here. More... | |
const input::KeyState * | RightButton |
State of right button in moment of sending this event. More... | |
const input::KeyState * | LeftButton |
State of left button in moment of sending this event. More... | |
const input::KeyState * | MiddleButton |
State of middle button in moment of sending this event. More... | |
const input::KeyState * | XButton1 |
State of first extended button in moment of sending this event. More... | |
const input::KeyState * | XButton2 |
State of second extended button in moment of sending this event. More... | |
float | WindowPosX |
Position of mouse in window space. More... | |
float | WindowPosY |
Position of mouse in window space. More... | |
Public Attributes inherited from sw::gui::InputEventArgs | |
input::Device * | Device |
Device which produced this event. More... | |
Public Attributes inherited from sw::gui::IEventArgs | |
bool | Handled |
Mark event as handled to stop further processing. More... | |
Mouse button clicked event.
|
inlineexplicit |
input::Mouse::PhysicalButtons sw::gui::MouseButtonEventArgs::Button |
bool sw::gui::MouseButtonEventArgs::IsDown |
bool sw::gui::MouseButtonEventArgs::IsUp |
const input::KeyState& sw::gui::MouseButtonEventArgs::State |