Back to index

libsfml  1.6+dfsg2
Classes | Public Types | Public Attributes
sf::Event Class Reference

Event defines a system event and its parameters /////////////////////////////////////////////////////////. More...

#include <Event.hpp>

List of all members.

Classes

struct  JoyButtonEvent
 Joystick buttons events parameters /////////////////////////////////////////////////////////. More...
struct  JoyMoveEvent
 Joystick axis move event parameters /////////////////////////////////////////////////////////. More...
struct  KeyEvent
 Keyboard event parameters /////////////////////////////////////////////////////////. More...
struct  MouseButtonEvent
 Mouse buttons events parameters /////////////////////////////////////////////////////////. More...
struct  MouseMoveEvent
 Mouse move event parameters /////////////////////////////////////////////////////////. More...
struct  MouseWheelEvent
 Mouse wheel events parameters /////////////////////////////////////////////////////////. More...
struct  SizeEvent
 Size events parameters /////////////////////////////////////////////////////////. More...
struct  TextEvent
 Text event parameters /////////////////////////////////////////////////////////. More...

Public Types

enum  EventType {
  Closed, Resized, LostFocus, GainedFocus,
  TextEntered, KeyPressed, KeyReleased, MouseWheelMoved,
  MouseButtonPressed, MouseButtonReleased, MouseMoved, MouseEntered,
  MouseLeft, JoyButtonPressed, JoyButtonReleased, JoyMoved,
  Count
}
 Enumeration of the different types of events /////////////////////////////////////////////////////////. More...

Public Attributes

EventType Type
 Type of the event.
union sf::Event.__unnamed__ 

Detailed Description

Event defines a system event and its parameters /////////////////////////////////////////////////////////.

Definition at line 197 of file Event.hpp.


Class Documentation

struct sf::Event::JoyButtonEvent

Joystick buttons events parameters /////////////////////////////////////////////////////////.

Definition at line 260 of file Event.hpp.

Class Members
unsigned int Button
unsigned int JoystickId
struct sf::Event::JoyMoveEvent

Joystick axis move event parameters /////////////////////////////////////////////////////////.

Definition at line 250 of file Event.hpp.

Class Members
Axis Axis
unsigned int JoystickId
float Position
struct sf::Event::KeyEvent

Keyboard event parameters /////////////////////////////////////////////////////////.

Definition at line 204 of file Event.hpp.

Class Members
bool Alt
Code Code
bool Control
bool Shift
struct sf::Event::MouseButtonEvent

Mouse buttons events parameters /////////////////////////////////////////////////////////.

Definition at line 232 of file Event.hpp.

Class Members
Button Button
int X
int Y
struct sf::Event::MouseMoveEvent

Mouse move event parameters /////////////////////////////////////////////////////////.

Definition at line 223 of file Event.hpp.

Class Members
int X
int Y
struct sf::Event::MouseWheelEvent

Mouse wheel events parameters /////////////////////////////////////////////////////////.

Definition at line 242 of file Event.hpp.

Class Members
int Delta
struct sf::Event::SizeEvent

Size events parameters /////////////////////////////////////////////////////////.

Definition at line 269 of file Event.hpp.

Class Members
unsigned int Height
unsigned int Width
struct sf::Event::TextEvent

Text event parameters /////////////////////////////////////////////////////////.

Definition at line 215 of file Event.hpp.

Class Members
Uint32 Unicode

Member Enumeration Documentation

Enumeration of the different types of events /////////////////////////////////////////////////////////.

Enumerator:
Closed 
Resized 
LostFocus 
GainedFocus 
TextEntered 
KeyPressed 
KeyReleased 
MouseWheelMoved 
MouseButtonPressed 
MouseButtonReleased 
MouseMoved 
MouseEntered 
MouseLeft 
JoyButtonPressed 
JoyButtonReleased 
JoyMoved 
Count 

Definition at line 278 of file Event.hpp.


Member Data Documentation

union { ... }

Type of the event.

Definition at line 303 of file Event.hpp.


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