Classes | Namespaces | Defines | Functions | Variables

gui/auxiliary/event/handler.cpp File Reference

#include "gui/auxiliary/event/handler.hpp"
#include "clipboard.hpp"
#include "foreach.hpp"
#include "gui/auxiliary/event/dispatcher.hpp"
#include "gui/auxiliary/timer.hpp"
#include "gui/auxiliary/log.hpp"
#include "gui/widgets/helper.hpp"
#include "gui/widgets/widget.hpp"
#include "gui/widgets/window.hpp"
#include "hotkeys.hpp"
#include "video.hpp"
#include <cassert>
Include dependency graph for handler.cpp:

Go to the source code of this file.

Classes

class  gui2::event::thandler
 This singleton class handles all events. More...

Namespaces

namespace  gui2
 

A class inherited from ttext_box that displays its input as stars.


namespace  gui2::event

Defines

#define GETTEXT_DOMAIN   "wesnoth-lib"

Functions

void gui2::event::connect_dispatcher (tdispatcher *dispatcher)
 Connects a dispatcher to the event handler.
void gui2::event::disconnect_dispatcher (tdispatcher *dispatcher)
 Disconnects a dispatcher to the event handler.
void gui2::event::init_mouse_location ()
 Initializes the location of the mouse.
void gui2::event::capture_mouse (tdispatcher *dispatcher)
 Captures the mouse.
void gui2::event::release_mouse (tdispatcher *dispatcher)
 Releases a captured mouse.
void gui2::event::capture_keyboard (tdispatcher *dispatcher)
 Captures the keyboard.
std::ostream & gui2::event::operator<< (std::ostream &stream, const tevent event)
bool gui2::is_in_dialog ()
 Is a dialog open?

Variables

static thandler * gui2::event::handler = NULL
static events::event_contextgui2::event::event_context = NULL

Define Documentation

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 16 of file handler.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:04:32 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs