The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
handler.hpp File Reference
#include <boost/mpl/set.hpp>
#include <iosfwd>
Include dependency graph for handler.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gui2::event::tmanager
 

Namespaces

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

Macros

#define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
 
#define BOOST_MPL_LIMIT_SET_SIZE   30
 

Typedefs

typedef boost::mpl::set
< boost::mpl::int_< DRAW >
, boost::mpl::int_
< CLOSE_WINDOW >
, boost::mpl::int_
< MOUSE_ENTER >
, boost::mpl::int_
< MOUSE_LEAVE >
, boost::mpl::int_
< LEFT_BUTTON_DOWN >
, boost::mpl::int_
< LEFT_BUTTON_UP >
, boost::mpl::int_
< LEFT_BUTTON_CLICK >
, boost::mpl::int_
< LEFT_BUTTON_DOUBLE_CLICK >
, boost::mpl::int_
< MIDDLE_BUTTON_DOWN >
, boost::mpl::int_
< MIDDLE_BUTTON_UP >
, boost::mpl::int_
< MIDDLE_BUTTON_CLICK >
, boost::mpl::int_
< MIDDLE_BUTTON_DOUBLE_CLICK >
, boost::mpl::int_
< RIGHT_BUTTON_DOWN >
, boost::mpl::int_
< RIGHT_BUTTON_UP >
, boost::mpl::int_
< RIGHT_BUTTON_CLICK >
, boost::mpl::int_
< RIGHT_BUTTON_DOUBLE_CLICK > > 
gui2::event::tset_event
 Helper for catching use error of tdispatcher::connect_signal. More...
 
typedef boost::mpl::set
< boost::mpl::int_
< SDL_VIDEO_RESIZE >
, boost::mpl::int_
< SDL_MOUSE_MOTION >
, boost::mpl::int_
< MOUSE_MOTION >
, boost::mpl::int_
< SDL_LEFT_BUTTON_DOWN >
, boost::mpl::int_
< SDL_LEFT_BUTTON_UP >
, boost::mpl::int_
< SDL_MIDDLE_BUTTON_DOWN >
, boost::mpl::int_
< SDL_MIDDLE_BUTTON_UP >
, boost::mpl::int_
< SDL_RIGHT_BUTTON_DOWN >
, boost::mpl::int_
< SDL_RIGHT_BUTTON_UP >
, boost::mpl::int_
< SHOW_TOOLTIP >
, boost::mpl::int_
< SHOW_HELPTIP >
, boost::mpl::int_
< SDL_WHEEL_UP >
, boost::mpl::int_
< SDL_WHEEL_DOWN >
, boost::mpl::int_
< SDL_WHEEL_LEFT >
, boost::mpl::int_
< SDL_WHEEL_RIGHT > > 
gui2::event::tset_event_mouse
 Helper for catching use error of tdispatcher::connect_signal. More...
 
typedef boost::mpl::set
< boost::mpl::int_
< SDL_KEY_DOWN > > 
gui2::event::tset_event_keyboard
 Helper for catching use error of tdispatcher::connect_signal. More...
 
typedef boost::mpl::set
< boost::mpl::int_
< NOTIFY_REMOVAL >
, boost::mpl::int_
< NOTIFY_MODIFIED >
, boost::mpl::int_
< RECEIVE_KEYBOARD_FOCUS >
, boost::mpl::int_
< LOSE_KEYBOARD_FOCUS >
, boost::mpl::int_
< NOTIFY_REMOVE_TOOLTIP >
, boost::mpl::int_
< SDL_ACTIVATE > > 
gui2::event::tset_event_notification
 Helper for catching use error of tdispatcher::connect_signal. More...
 
typedef boost::mpl::set
< boost::mpl::int_
< MESSAGE_SHOW_TOOLTIP >
, boost::mpl::int_
< MESSAGE_SHOW_HELPTIP >
, boost::mpl::int_
< REQUEST_PLACEMENT > > 
gui2::event::tset_event_message
 Helper for catching use error of tdispatcher::connect_signal. More...
 

Enumerations

enum  gui2::event::tevent {
  gui2::event::DRAW, gui2::event::CLOSE_WINDOW, gui2::event::SDL_VIDEO_RESIZE, gui2::event::SDL_MOUSE_MOTION,
  gui2::event::MOUSE_ENTER, gui2::event::MOUSE_MOTION, gui2::event::MOUSE_LEAVE, gui2::event::SDL_LEFT_BUTTON_DOWN,
  gui2::event::SDL_LEFT_BUTTON_UP, gui2::event::LEFT_BUTTON_DOWN, gui2::event::LEFT_BUTTON_UP, gui2::event::LEFT_BUTTON_CLICK,
  gui2::event::LEFT_BUTTON_DOUBLE_CLICK, gui2::event::SDL_MIDDLE_BUTTON_DOWN, gui2::event::SDL_MIDDLE_BUTTON_UP, gui2::event::MIDDLE_BUTTON_DOWN,
  gui2::event::MIDDLE_BUTTON_UP, gui2::event::MIDDLE_BUTTON_CLICK, gui2::event::MIDDLE_BUTTON_DOUBLE_CLICK, gui2::event::SDL_RIGHT_BUTTON_DOWN,
  gui2::event::SDL_RIGHT_BUTTON_UP, gui2::event::RIGHT_BUTTON_DOWN, gui2::event::RIGHT_BUTTON_UP, gui2::event::RIGHT_BUTTON_CLICK,
  gui2::event::RIGHT_BUTTON_DOUBLE_CLICK, gui2::event::SDL_WHEEL_LEFT, gui2::event::SDL_WHEEL_RIGHT, gui2::event::SDL_WHEEL_UP,
  gui2::event::SDL_WHEEL_DOWN, gui2::event::SDL_KEY_DOWN, gui2::event::NOTIFY_REMOVAL, gui2::event::NOTIFY_MODIFIED,
  gui2::event::RECEIVE_KEYBOARD_FOCUS, gui2::event::LOSE_KEYBOARD_FOCUS, gui2::event::SHOW_TOOLTIP, gui2::event::NOTIFY_REMOVE_TOOLTIP,
  gui2::event::SDL_ACTIVATE, gui2::event::MESSAGE_SHOW_TOOLTIP, gui2::event::SHOW_HELPTIP, gui2::event::MESSAGE_SHOW_HELPTIP,
  gui2::event::REQUEST_PLACEMENT
}
 The event send to the dispatcher. More...
 

Functions

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

Macro Definition Documentation

#define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS

Definition at line 20 of file handler.hpp.

#define BOOST_MPL_LIMIT_SET_SIZE   30

Definition at line 21 of file handler.hpp.