#include "gui/auxiliary/event/handler.hpp"#include "hotkeys.hpp"#include <boost/function.hpp>#include <boost/mpl/int.hpp>#include <boost/utility/enable_if.hpp>#include <map>

Go to the source code of this file.
Classes | |
| class | gui2::event::tdispatcher |
| Base class for event handling. More... | |
| struct | gui2::event::tdispatcher::tsignal< T > |
| Helper struct to generate the various signal types. More... | |
| struct | gui2::event::tdispatcher::tsignal_queue< T > |
| Helper struct to generate the various event queues. More... | |
Namespaces | |
| namespace | gui2 |
A class inherited from ttext_box that displays its input as stars. | |
| namespace | gui2::event |
Typedefs | |
| typedef boost::function< void(tdispatcher &dispatcher, const tevent event, bool &handled, bool &halt)> | gui2::event::tsignal_function |
| Callback function signature. | |
| typedef boost::function< void(tdispatcher &dispatcher, const tevent event, bool &handled, bool &halt, const tpoint &coordinate)> | gui2::event::tsignal_mouse_function |
| Callback function signature. | |
| typedef boost::function< void(tdispatcher &dispatcher, const tevent event, bool &handled, bool &halt, const SDLKey key, const SDLMod modifier, const Uint16 unicode) > | gui2::event::tsignal_keyboard_function |
| Callback function signature. | |
| typedef boost::function< void(tdispatcher &dispatcher, const tevent event, bool &handled, bool &halt, void *) | gui2::event::tsignal_notification_function ) |
| Callback function signature. | |
| typedef boost::function< void(tdispatcher &dispatcher, const tevent event, bool &handled, bool &halt, tmessage &message)> | gui2::event::tsignal_message_function |
| Callback function signature. | |
| typedef boost::function< bool(tdispatcher &dispatcher, hotkey::HOTKEY_COMMAND id)> | gui2::event::thotkey_function |
| Hotkey function handler signature. | |
Functions | |
| void | gui2::event::connect_signal_pre_key_press (tdispatcher &dispatcher, const tsignal_keyboard_function &signal) |
| Connects the signal for 'snooping' on the keypress. | |
| void | gui2::event::connect_signal_mouse_left_click (tdispatcher &dispatcher, const tsignal_function &signal) |
| Connects a signal handler for a left mouse button click. | |
| void | gui2::event::disconnect_signal_mouse_left_click (tdispatcher &dispatcher, const tsignal_function &signal) |
| Disconnects a signal handler for a left mouse button click. | |
| void | gui2::event::connect_signal_notify_modified (tdispatcher &dispatcher, const tsignal_notification_function &signal) |
| Connects a signal handler for getting a notification upon modification. | |
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:04:45 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |