#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 36 of file events.hpp.
events::handler::handler | ( | const bool | auto_join = true |
) | [protected] |
events::handler::~handler | ( | ) | [protected, virtual] |
virtual void events::handler::handle_event | ( | const SDL_Event & | event | ) | [pure virtual] |
Implemented in help::help_browser, hotkey::basic_handler, mp::gamebrowser, mp::ui, play_controller, map_editor::map_editor, map_editor::terrain_palette, map_editor::brush_bar, gui::button, gui::file_menu, gui::menu, gui::scrollarea, gui::scrollbar, gui::slider, gui::textbox, gui::widget, and gui2::tevent_handler.
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::connect, mp::create, mp::lobby, mp::ui, mp::wait, mp::wait::leader_preview_pane, gui::combo, gui::scrollarea, and gui::scrollbar.
Definition at line 40 of file events.hpp.
virtual void events::handler::draw | ( | ) | [inline, virtual] |
Reimplemented in mp::gamebrowser, map_editor::terrain_palette, map_editor::brush_bar, gui::menu, gui::scrollpane, and gui::widget.
Definition at line 41 of file events.hpp.
Referenced by gui2::twindow::show().
virtual void events::handler::volatile_draw | ( | ) | [inline, virtual] |
virtual void events::handler::volatile_undraw | ( | ) | [inline, virtual] |
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] |
void events::handler::join | ( | ) | [virtual] |
Reimplemented in help::help_button.
Definition at line 179 of file events.cpp.
References events::event_contexts, handler_members(), has_joined_, and leave().
Referenced by mp::lobby::process_event(), gui2::tevent_handler::tevent_handler(), and gui::dialog::update_widget_positions().
void events::handler::leave | ( | ) | [virtual] |
Reimplemented in help::help_button.
Definition at line 197 of file events.cpp.
References events::event_contexts, handler_members(), and has_joined_.
Referenced by gui::dialog::get_menu(), join(), ~handler(), and gui2::tevent_handler::~tevent_handler().
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 56 of file events.hpp.
Referenced by gui::preview_pane::handler_members(), join(), and leave().
int events::handler::unicode_ [private] |
bool events::handler::has_joined_ [private] |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |