#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.
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::string& theme::menu::title | ( | ) | const [inline] |
const std::string& theme::menu::tooltip | ( | ) | const [inline] |
const std::string& theme::menu::type | ( | ) | const [inline] |
const std::string& theme::menu::image | ( | ) | const [inline] |
const std::vector<std::string>& theme::menu::items | ( | ) | const [inline] |
Definition at line 185 of file theme.hpp.
References items_.
Referenced by map_editor::handle_mouse_button_event(), map_editor::is_left_button_func_menu(), map_editor::main_loop(), and play_controller::play_slice().
void theme::menu::set_title | ( | const std::string | new_title | ) | [inline] |
bool theme::menu::context_ [private] |
std::string theme::menu::title_ [private] |
std::string theme::menu::tooltip_ [private] |
std::string theme::menu::image_ [private] |
std::string theme::menu::type_ [private] |
std::vector<std::string> theme::menu::items_ [private] |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |