Back to index

libsfml  1.6+dfsg2
Classes | Namespaces | Enumerations
Event.hpp File Reference
#include <SFML/Config.hpp>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sf::Event
 Event defines a system event and its parameters /////////////////////////////////////////////////////////. More...
struct  sf::Event::KeyEvent
 Keyboard event parameters /////////////////////////////////////////////////////////. More...
struct  sf::Event::TextEvent
 Text event parameters /////////////////////////////////////////////////////////. More...
struct  sf::Event::MouseMoveEvent
 Mouse move event parameters /////////////////////////////////////////////////////////. More...
struct  sf::Event::MouseButtonEvent
 Mouse buttons events parameters /////////////////////////////////////////////////////////. More...
struct  sf::Event::MouseWheelEvent
 Mouse wheel events parameters /////////////////////////////////////////////////////////. More...
struct  sf::Event::JoyMoveEvent
 Joystick axis move event parameters /////////////////////////////////////////////////////////. More...
struct  sf::Event::JoyButtonEvent
 Joystick buttons events parameters /////////////////////////////////////////////////////////. More...
struct  sf::Event::SizeEvent
 Size events parameters /////////////////////////////////////////////////////////. More...
union  sf::Event.__unnamed__

Namespaces

namespace  sf
namespace  sf::Key
 Definition of key codes for keyboard events /////////////////////////////////////////////////////////.
namespace  sf::Mouse
 Definition of button codes for mouse events /////////////////////////////////////////////////////////.
namespace  sf::Joy
 Definition of joystick axis for joystick events /////////////////////////////////////////////////////////.

Enumerations

enum  sf::Key::Code {
  sf::Key::A = 'a', sf::Key::B = 'b', sf::Key::C = 'c', sf::Key::D = 'd',
  sf::Key::E = 'e', sf::Key::F = 'f', sf::Key::G = 'g', sf::Key::H = 'h',
  sf::Key::I = 'i', sf::Key::J = 'j', sf::Key::K = 'k', sf::Key::L = 'l',
  sf::Key::M = 'm', sf::Key::N = 'n', sf::Key::O = 'o', sf::Key::P = 'p',
  sf::Key::Q = 'q', sf::Key::R = 'r', sf::Key::S = 's', sf::Key::T = 't',
  sf::Key::U = 'u', sf::Key::V = 'v', sf::Key::W = 'w', sf::Key::X = 'x',
  sf::Key::Y = 'y', sf::Key::Z = 'z', sf::Key::Num0 = '0', sf::Key::Num1 = '1',
  sf::Key::Num2 = '2', sf::Key::Num3 = '3', sf::Key::Num4 = '4', sf::Key::Num5 = '5',
  sf::Key::Num6 = '6', sf::Key::Num7 = '7', sf::Key::Num8 = '8', sf::Key::Num9 = '9',
  sf::Key::Escape = 256, sf::Key::LControl, sf::Key::LShift, sf::Key::LAlt,
  sf::Key::LSystem, sf::Key::RControl, sf::Key::RShift, sf::Key::RAlt,
  sf::Key::RSystem, sf::Key::Menu, sf::Key::LBracket, sf::Key::RBracket,
  sf::Key::SemiColon, sf::Key::Comma, sf::Key::Period, sf::Key::Quote,
  sf::Key::Slash, sf::Key::BackSlash, sf::Key::Tilde, sf::Key::Equal,
  sf::Key::Dash, sf::Key::Space, sf::Key::Return, sf::Key::Back,
  sf::Key::Tab, sf::Key::PageUp, sf::Key::PageDown, sf::Key::End,
  sf::Key::Home, sf::Key::Insert, sf::Key::Delete, sf::Key::Add,
  sf::Key::Subtract, sf::Key::Multiply, sf::Key::Divide, sf::Key::Left,
  sf::Key::Right, sf::Key::Up, sf::Key::Down, sf::Key::Numpad0,
  sf::Key::Numpad1, sf::Key::Numpad2, sf::Key::Numpad3, sf::Key::Numpad4,
  sf::Key::Numpad5, sf::Key::Numpad6, sf::Key::Numpad7, sf::Key::Numpad8,
  sf::Key::Numpad9, sf::Key::F1, sf::Key::F2, sf::Key::F3,
  sf::Key::F4, sf::Key::F5, sf::Key::F6, sf::Key::F7,
  sf::Key::F8, sf::Key::F9, sf::Key::F10, sf::Key::F11,
  sf::Key::F12, sf::Key::F13, sf::Key::F14, sf::Key::F15,
  sf::Key::Pause, sf::Key::Count
}
enum  sf::Mouse::Button {
  sf::Mouse::Left, sf::Mouse::Right, sf::Mouse::Middle, sf::Mouse::XButton1,
  sf::Mouse::XButton2, sf::Mouse::ButtonCount
}
enum  sf::Joy::Axis {
  sf::Joy::AxisX, sf::Joy::AxisY, sf::Joy::AxisZ, sf::Joy::AxisR,
  sf::Joy::AxisU, sf::Joy::AxisV, sf::Joy::AxisPOV, sf::Joy::AxisCount
}
enum  { sf::Joy::Count = 4, sf::Joy::ButtonCount = 32 }

Class Documentation

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::TextEvent

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

Definition at line 215 of file Event.hpp.

Class Members
Uint32 Unicode
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::MouseButtonEvent

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

Definition at line 232 of file Event.hpp.

Class Members
Button Button
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::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::JoyButtonEvent

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

Definition at line 260 of file Event.hpp.

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

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

Definition at line 269 of file Event.hpp.

Class Members
unsigned int Height
unsigned int Width
union sf::Event.__unnamed__

Definition at line 305 of file Event.hpp.

Class Members
JoyButtonEvent JoyButton
JoyMoveEvent JoyMove
KeyEvent Key
MouseButtonEvent MouseButton
MouseMoveEvent MouseMove
MouseWheelEvent MouseWheel
SizeEvent Size
TextEvent Text