#include <theme.hpp>


Public Member Functions | |
| menu () | |
| menu (const config &cfg) | |
| bool | is_context () const |
| const std::string & | title () const |
| const std::string & | tooltip () const |
| const std::string & | type () const |
| const std::string & | image () const |
| const std::vector< std::string > & | items () const |
| void | set_title (const std::string &new_title) |
Private Attributes | |
| bool | context_ |
| std::string | title_ |
| std::string | tooltip_ |
| std::string | image_ |
| std::string | type_ |
| std::vector< std::string > | items_ |
Definition at line 167 of file theme.hpp.
| theme::menu::menu | ( | const config & | cfg | ) | [explicit] |
Definition at line 513 of file theme.cpp.
References hotkey::get_hotkey(), items_, and tooltip_.

| const std::string& theme::menu::image | ( | ) | const [inline] |
| bool theme::menu::is_context | ( | ) | const [inline] |
Definition at line 175 of file theme.hpp.
References context_.
Referenced by theme::add_object(), and theme::context_menu().

| const std::vector<std::string>& theme::menu::items | ( | ) | const [inline] |
Definition at line 185 of file theme.hpp.
References items_.
Referenced by editor::editor_toolkit::init_mouse_actions(), and controller_base::play_slice().

| void theme::menu::set_title | ( | const std::string & | new_title | ) | [inline] |
Definition at line 187 of file theme.hpp.
References title_.
Referenced by theme::refresh_title().

| const std::string& theme::menu::title | ( | ) | const [inline] |
Definition at line 177 of file theme.hpp.
References title_.
Referenced by hotkey::command_executor::get_menu_images().

| const std::string& theme::menu::tooltip | ( | ) | const [inline] |
| const std::string& theme::menu::type | ( | ) | const [inline] |
bool theme::menu::context_ [private] |
Definition at line 189 of file theme.hpp.
Referenced by is_context().
std::string theme::menu::image_ [private] |
std::vector<std::string> theme::menu::items_ [private] |
std::string theme::menu::title_ [private] |
Definition at line 190 of file theme.hpp.
Referenced by set_title(), and title().
std::string theme::menu::tooltip_ [private] |
std::string theme::menu::type_ [private] |
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:16:44 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |