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 36 of file events.hpp.


Constructor & Destructor Documentation

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

Definition at line 164 of file events.cpp.

References events::event_contexts, and has_joined_.

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

Definition at line 173 of file events.cpp.

References leave(), and unicode_.


Member Function Documentation

virtual void events::handler::handle_event ( const SDL_Event &  event  )  [pure virtual]

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

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

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

Reimplemented in gui::widget.

Definition at line 43 of file events.hpp.

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

Reimplemented in gui::widget.

Definition at line 44 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 46 of file events.hpp.

Referenced by events::has_focus().

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

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

Definition at line 48 of file events.hpp.

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

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

virtual std::vector<handler*> events::handler::handler_members (  )  [inline, protected, virtual]


Member Data Documentation

Definition at line 59 of file events.hpp.

Referenced by ~handler().

Definition at line 60 of file events.hpp.

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


The documentation for this class was generated from the following files:

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs