#include <Event.hpp>
Public Types | |
enum | EventType { Close, Resize, LostFocus, GainedFocus, KeyPressed, KeyReleased, ButtonPressed, ButtonReleased, MouseMove } |
Public Attributes | |
EventType | Type |
Type of the event. | |
union { | |
struct { | |
sfKey::Code Code | |
bool Alt | |
bool Control | |
bool Shift | |
} Key | |
struct { | |
sfButton::Code Button | |
unsigned int X | |
unsigned int Y | |
} Mouse | |
struct { | |
unsigned int Width | |
unsigned int Height | |
} Size | |
}; |
Definition at line 71 of file Event.hpp.
enum sfEvent::EventType |
struct { ... } sfEvent::Key |
Keyboard events parameters
struct { ... } sfEvent::Mouse |
Mouse events parameters
struct { ... } sfEvent::Size |
Size events parameters