#include <theme.hpp>

Public Member Functions | |
| menu () | |
| menu (const config &cfg) | |
| bool | is_button () const |
| bool | is_context () const |
| const std::string & | title () const |
| const std::string & | tooltip () const |
| const std::string & | image () const |
| const std::string & | overlay () const |
| const std::vector< std::string > & | items () const |
| void | set_title (const std::string &new_title) |
Public Member Functions inherited from theme::object | |
| object () | |
| object (const config &cfg) | |
| virtual | ~object () |
| SDL_Rect & | location (const SDL_Rect &screen) const |
| const SDL_Rect & | get_location () const |
| const std::string & | get_id () const |
| void | modify_location (const _rect &rect) |
| void | modify_location (std::string rect_str, SDL_Rect rect_ref) |
Private Attributes | |
| bool | button_ |
| bool | context_ |
| std::string | title_ |
| std::string | tooltip_ |
| std::string | image_ |
| std::string | overlay_ |
| std::vector< std::string > | items_ |
Additional Inherited Members | |
Public Types inherited from theme::object | |
| enum | ANCHORING { FIXED, TOP_ANCHORED, PROPORTIONAL, BOTTOM_ANCHORED } |
|
explicit |
Definition at line 554 of file theme.cpp.
References hotkey::get_description(), hotkey::get_names(), hotkey::get_tooltip(), items_, and tooltip_.
|
inline |
|
inline |
|
inline |
Definition at line 237 of file theme.hpp.
References context_.
Referenced by theme::add_object(), theme::context_menu(), and hotkey::command_executor::show_menu().
|
inline |
Definition at line 247 of file theme.hpp.
References items_.
Referenced by controller_base::play_slice(), and hotkey::command_executor::show_menu().
|
inline |
|
inline |
|
inline |
Definition at line 239 of file theme.hpp.
References title_.
Referenced by hotkey::command_executor::get_menu_images().
|
inline |
|
private |
Definition at line 251 of file theme.hpp.
Referenced by is_button().
|
private |
Definition at line 252 of file theme.hpp.
Referenced by is_context().
|
private |
|
private |
|
private |
|
private |
Definition at line 253 of file theme.hpp.
Referenced by set_title(), and title().
|
private |
1.8.8