#include <theme.hpp>
Public Member Functions | |
panel (std::size_t sw, std::size_t sh, const config &cfg) | |
const std::string & | image () const |
virtual rect & | location (const SDL_Rect &screen) const |
Public Member Functions inherited from theme::object | |
object () | |
object (std::size_t sw, std::size_t sh, const config &cfg) | |
virtual | ~object () |
virtual rect & | location (const SDL_Rect &screen) const |
const 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 | |
std::string | image_ |
Additional Inherited Members | |
Public Types inherited from theme::object | |
enum | ANCHORING { FIXED , TOP_ANCHORED , PROPORTIONAL , BOTTOM_ANCHORED } |
|
explicit |
|
inline |
rect & theme::object::location |
Definition at line 53 of file theme.cpp.
Referenced by display::draw_panel().
|
private |