SDL++
C++wrapperfortheSDLlibrary.

event/KeyboardEvents.h File Reference

#include <SDL.h>
#include "sdlpp/event/Components.h"
#include "sdlpp/event/MultiComparator.h"
#include "sdlpp/event/SimpleComparator.h"
#include "sdlpp/event/Event.h"
Include dependency graph for KeyboardEvents.h:

Go to the source code of this file.

Classes

struct  sdl::event::KeyBase
 Base for keyboard events that exposes the SDL_KeyboardEvent structure. More...
struct  sdl::event::KeyPress< Keys >
 Represents a key press event. More...
struct  sdl::event::KeyRelease< Keys >
 Represents a key release event. More...

Namespaces

namespace  sdl
namespace  sdl::event

Typedefs

typedef Event
< SimpleComparator
< SDL_KEYDOWN >, KeyBase > 
sdl::event::AnyKeyPress
 Represents an any key press.
typedef Event
< SimpleComparator< SDL_KEYUP >
, KeyBase > 
sdl::event::AnyKeyRelease
 Represents an any key release event.

Detailed Description

Contains the keyboard event classes.

Copyright (C) 2005 Thomas P. Lahoda

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Definition in file KeyboardEvents.h.

 All Classes Namespaces Files Functions Variables Typedefs