Sleeping Wombat GUI  0.100
swGUI
Public Member Functions | Public Attributes | List of all members
sw::gui::MouseButtonEventArgs Struct Reference

Mouse button clicked event. More...

#include <MouseButtonEventArgs.h>

Inheritance diagram for sw::gui::MouseButtonEventArgs:
sw::gui::MouseEventArgs sw::gui::InputEventArgs sw::gui::IEventArgs

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::KeyStateState
 
input::Mouse::PhysicalButtons Button
 
bool IsUp
 
bool IsDown
 
- Public Attributes inherited from sw::gui::MouseEventArgs
input::MouseDeviceMouse
 Mouse device. You can get current mouse state here. More...
 
const input::KeyStateRightButton
 State of right button in moment of sending this event. More...
 
const input::KeyStateLeftButton
 State of left button in moment of sending this event. More...
 
const input::KeyStateMiddleButton
 State of middle button in moment of sending this event. More...
 
const input::KeyStateXButton1
 State of first extended button in moment of sending this event. More...
 
const input::KeyStateXButton2
 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::DeviceDevice
 Device which produced this event. More...
 
- Public Attributes inherited from sw::gui::IEventArgs
bool Handled
 Mark event as handled to stop further processing. More...
 

Detailed Description

Mouse button clicked event.

Constructor & Destructor Documentation

sw::gui::MouseButtonEventArgs::MouseButtonEventArgs ( input::MouseDevice device,
input::Mouse::PhysicalButtons  button 
)
inlineexplicit

Member Data Documentation

input::Mouse::PhysicalButtons sw::gui::MouseButtonEventArgs::Button
bool sw::gui::MouseButtonEventArgs::IsDown
bool sw::gui::MouseButtonEventArgs::IsUp
const input::KeyState& sw::gui::MouseButtonEventArgs::State

The documentation for this struct was generated from the following file: