#include <theme.hpp>

Public Member Functions | |
| action () | |
| action (const config &cfg) | |
| bool | is_context () const |
| const std::string & | title () const |
| const std::string | tooltip (size_t index) const |
| const std::string & | type () 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 | context_ |
| bool | auto_tooltip_ |
| bool | tooltip_name_prepend_ |
| std::string | title_ |
| std::string | tooltip_ |
| std::string | image_ |
| std::string | overlay_ |
| std::string | type_ |
| std::vector< std::string > | items_ |
Additional Inherited Members | |
Public Types inherited from theme::object | |
| enum | ANCHORING { FIXED, TOP_ANCHORED, PROPORTIONAL, BOTTOM_ANCHORED } |
|
inline |
|
inline |
|
inline |
Definition at line 194 of file theme.hpp.
References items_.
Referenced by controller_base::play_slice().
|
inline |
|
inline |
|
inline |
Definition at line 184 of file theme.hpp.
References title_.
Referenced by hotkey::command_executor::get_menu_images().
| const std::string theme::action::tooltip | ( | size_t | index | ) | const |
Definition at line 593 of file theme.cpp.
References _(), hotkey::get_description(), hotkey::get_names(), hotkey::get_tooltip(), and items_.
|
inline |
|
private |
Definition at line 198 of file theme.hpp.
Referenced by is_context().
|
private |
|
private |
|
private |
|
private |
Definition at line 199 of file theme.hpp.
Referenced by set_title(), and title().
|
private |
|
private |
1.8.8