Public Member Functions | Protected Member Functions | Private Attributes

events::handler Class Reference

#include <events.hpp>

Inheritance diagram for events::handler:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void handle_event (const SDL_Event &event)=0
virtual void process_event ()
virtual void draw ()
virtual void volatile_draw ()
virtual void volatile_undraw ()
virtual bool requires_event_focus (const SDL_Event *=NULL) const
virtual void process_help_string (int, int)
virtual void join ()
virtual void leave ()

Protected Member Functions

 handler (const bool auto_join=true)
virtual ~handler ()
virtual std::vector< handler * > handler_members ()

Private Attributes

int unicode_
bool has_joined_

Detailed Description

Definition at line 40 of file events.hpp.


Constructor & Destructor Documentation

events::handler::handler ( const bool  auto_join = true  )  [protected]

Definition at line 165 of file events.cpp.

References has_joined_.

events::handler::~handler (  )  [protected, virtual]

Definition at line 175 of file events.cpp.

References leave(), and unicode_.

Here is the call graph for this function:


Member Function Documentation

virtual void events::handler::draw (  )  [inline, virtual]

Reimplemented in editor::palette_manager, editor::brush_bar, mp::gamebrowser, gui::menu, gui::scrollpane, and gui::widget.

Definition at line 45 of file events.hpp.

Referenced by gui2::event::thandler::draw(), and gui2::event::thandler::handle_event().

Here is the caller graph for this function:

virtual void events::handler::handle_event ( const SDL_Event &  event  )  [pure virtual]
virtual std::vector<handler*> events::handler::handler_members (  )  [inline, protected, virtual]

Reimplemented in gui::dialog_image, gui::dialog_textbox, dialogs::unit_preview_pane, mp::wait::leader_preview_pane, gui::preview_pane, gui::scrollarea, and gui::scrollbar.

Definition at line 60 of file events.hpp.

Referenced by join(), leave(), and gui::widget::member_handlers().

Here is the caller graph for this function:

void events::handler::join (  )  [virtual]

Definition at line 181 of file events.cpp.

References handler_members(), has_joined_, and leave().

Referenced by gui2::event::thandler::connect(), dialogs::units_list_preview_pane::get_details(), mp::ui::handle_key_event(), mp::lobby::process_event(), gui2::event::thandler::thandler(), and gui::dialog::update_widget_positions().

Here is the call graph for this function:

Here is the caller graph for this function:

void events::handler::leave (  )  [virtual]

Definition at line 199 of file events.cpp.

References handler_members(), and has_joined_.

Referenced by gui2::event::thandler::disconnect(), gui::dialog::get_menu(), join(), ~handler(), and gui2::event::thandler::~thandler().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void events::handler::process_event (  )  [inline, virtual]
virtual void events::handler::process_help_string ( int  ,
int   
) [inline, virtual]

Reimplemented in gui::menu, and gui::widget.

Definition at line 52 of file events.hpp.

virtual bool events::handler::requires_event_focus ( const SDL_Event *  = NULL  )  const [inline, virtual]

Reimplemented in gui::menu, gui::slider, and gui::textbox.

Definition at line 50 of file events.hpp.

virtual void events::handler::volatile_draw (  )  [inline, virtual]

Reimplemented in gui::widget.

Definition at line 47 of file events.hpp.

virtual void events::handler::volatile_undraw (  )  [inline, virtual]

Reimplemented in gui::widget.

Definition at line 48 of file events.hpp.


Member Data Documentation

Definition at line 67 of file events.hpp.

Referenced by handler(), join(), and leave().

Definition at line 66 of file events.hpp.

Referenced by ~handler().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:20:10 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs