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

Key state changed event. More...

#include <KeyEventArgs.h>

Inheritance diagram for sw::gui::KeyEventArgs:
sw::gui::KeyboardEventArgs sw::gui::InputEventArgs sw::gui::IEventArgs

Public Member Functions

 KeyEventArgs (input::KeyboardDevice *device, input::Keyboard::PhysicalKeys key)
 
- Public Member Functions inherited from sw::gui::KeyboardEventArgs
 KeyboardEventArgs (input::KeyboardDevice *keyboard)
 
- 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::Keyboard::PhysicalKeys Key
 
bool IsUp
 
bool IsDown
 
- Public Attributes inherited from sw::gui::KeyboardEventArgs
input::KeyboardDeviceKeyboard
 
- 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

Key state changed event.

Constructor & Destructor Documentation

sw::gui::KeyEventArgs::KeyEventArgs ( input::KeyboardDevice device,
input::Keyboard::PhysicalKeys  key 
)
inline

Member Data Documentation

bool sw::gui::KeyEventArgs::IsDown
bool sw::gui::KeyEventArgs::IsUp
input::Keyboard::PhysicalKeys sw::gui::KeyEventArgs::Key
const input::KeyState& sw::gui::KeyEventArgs::State

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