#include <events.hpp>

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

| 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().

| 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().

| 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().


| 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().


| virtual void events::handler::process_event | ( | ) | [inline, virtual] |
Reimplemented in dialogs::unit_preview_pane, dialogs::units_list_preview_pane, dialogs::unit_types_preview_pane, help::help_browser, mp::wait::leader_preview_pane, gui::combo, gui::scrollarea, and gui::scrollbar.
Definition at line 44 of file events.hpp.
| 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.
bool events::handler::has_joined_ [private] |
Definition at line 67 of file events.hpp.
int events::handler::unicode_ [private] |
Definition at line 66 of file events.hpp.
Referenced by ~handler().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:20:10 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |