#include <help_button.hpp>
Private Member Functions | |
void | show_help () |
bool | can_execute_command (const hotkey::hotkey_command &command, int=-1) const |
Private Attributes | |
CVideo & | video_ |
const std::string | topic_ |
hotkey::basic_handler * | help_hand_ |
Additional Inherited Members | |
![]() | |
enum | TYPE { TYPE_PRESS, TYPE_CHECK, TYPE_TURBO, TYPE_IMAGE, TYPE_RADIO } |
enum | SPACE_CONSUMPTION { DEFAULT_SPACE, MINIMUM_SPACE } |
![]() | |
class dialog * | dialog () const |
![]() | |
virtual void | handle_event (const SDL_Event &event) |
virtual void | mouse_motion (const SDL_MouseMotionEvent &event) |
virtual void | mouse_down (const SDL_MouseButtonEvent &event) |
virtual void | mouse_up (const SDL_MouseButtonEvent &event) |
virtual void | draw_contents () |
![]() | |
widget (widget const &o) | |
widget (CVideo &video, const bool auto_join=true) | |
virtual | ~widget () |
void | bg_register (SDL_Rect const &rect) |
void | bg_restore () const |
void | bg_restore (SDL_Rect const &rect) const |
void | bg_update () |
void | bg_cancel () |
CVideo & | video () const |
virtual void | draw () |
virtual void | update_location (SDL_Rect const &rect) |
const SDL_Rect * | clip_rect () const |
virtual sdl_handler_vector | member_handlers () |
virtual void | handle_window_event (SDL_Event const &event) |
bool | mouse_locked () const |
void | aquire_mouse_lock () |
void | free_mouse_lock () |
![]() | |
sdl_handler (const bool auto_join=true) | |
virtual | ~sdl_handler () |
virtual std::vector < sdl_handler * > | handler_members () |
![]() | |
virtual | ~command_executor () |
![]() | |
const int | simple_result_ |
![]() | |
TYPE | type_ |
![]() | |
bool | focus_ |
Definition at line 26 of file help_button.hpp.
help::help_button::help_button | ( | CVideo & | video, |
const std::string & | help_topic | ||
) |
Definition at line 27 of file help_button.cpp.
help::help_button::~help_button | ( | ) |
Definition at line 31 of file help_button.cpp.
References help_hand_.
|
virtual |
Reimplemented from gui::dialog_button.
Definition at line 35 of file help_button.cpp.
References gui::dialog_process_info::clear_buttons(), gui::CONTINUE_DIALOG, show_help(), and topic_.
|
privatevirtual |
Implements hotkey::command_executor.
Definition at line 48 of file help_button.cpp.
References hotkey::HOTKEY_HELP, hotkey::HOTKEY_SCREENSHOT, hotkey::hotkey_command::id, and topic_.
|
inlineoverridevirtual |
Implements hotkey::command_executor.
Definition at line 34 of file help_button.hpp.
References video_.
|
virtual |
Reimplemented from events::sdl_handler.
Definition at line 54 of file help_button.cpp.
References help_hand_, and utils::join().
|
virtual |
Reimplemented from events::sdl_handler.
Definition at line 62 of file help_button.cpp.
References help_hand_.
|
privatevirtual |
Reimplemented from hotkey::command_executor.
Definition at line 43 of file help_button.cpp.
References help::show_help(), topic_, and video_.
Referenced by action().
|
inline |
Definition at line 31 of file help_button.hpp.
References topic_.
|
private |
Definition at line 41 of file help_button.hpp.
Referenced by join(), leave(), and ~help_button().
|
private |
Definition at line 40 of file help_button.hpp.
Referenced by action(), can_execute_command(), show_help(), and topic().
|
private |
Definition at line 39 of file help_button.hpp.
Referenced by get_video(), and show_help().