#include <menu.hpp>
|
| imgsel_style (const std::string &img_base, bool has_bg, int normal_rgb, int selected_rgb, double normal_alpha, double selected_alpha) |
|
virtual | ~imgsel_style () |
|
virtual SDL_Rect | item_size (const indented_menu_item &imi) const |
|
virtual void | draw_row_bg (menu &menu_ref, const std::size_t row_index, const SDL_Rect &rect, ROW_TYPE type) |
|
virtual void | draw_row (menu &menu_ref, const std::size_t row_index, const SDL_Rect &rect, ROW_TYPE type) |
|
virtual void | init () |
|
bool | load_images () |
|
void | unload_images () |
|
Definition at line 75 of file menu.hpp.
◆ imgsel_style()
gui::menu::imgsel_style::imgsel_style |
( |
const std::string & |
img_base, |
|
|
bool |
has_bg, |
|
|
int |
normal_rgb, |
|
|
int |
selected_rgb, |
|
|
double |
normal_alpha, |
|
|
double |
selected_alpha |
|
) |
| |
◆ ~imgsel_style()
gui::menu::imgsel_style::~imgsel_style |
( |
| ) |
|
|
virtual |
◆ draw_row()
void gui::menu::imgsel_style::draw_row |
( |
menu & |
menu_ref, |
|
|
const std::size_t |
row_index, |
|
|
const SDL_Rect & |
rect, |
|
|
ROW_TYPE |
type |
|
) |
| |
|
virtual |
◆ draw_row_bg()
void gui::menu::imgsel_style::draw_row_bg |
( |
menu & |
menu_ref, |
|
|
const std::size_t |
row_index, |
|
|
const SDL_Rect & |
rect, |
|
|
ROW_TYPE |
type |
|
) |
| |
|
virtual |
◆ init()
virtual void gui::menu::imgsel_style::init |
( |
| ) |
|
|
inlinevirtual |
◆ item_size()
◆ load_image()
bool gui::menu::imgsel_style::load_image |
( |
const std::string & |
img_sub | ) |
|
|
private |
◆ load_images()
bool gui::menu::imgsel_style::load_images |
( |
| ) |
|
◆ unload_images()
void gui::menu::imgsel_style::unload_images |
( |
| ) |
|
◆ has_background_
bool gui::menu::imgsel_style::has_background_ |
|
private |
◆ img_base_
const std::string gui::menu::imgsel_style::img_base_ |
|
protected |
◆ img_map_
std::map<std::string,texture> gui::menu::imgsel_style::img_map_ |
|
protected |
◆ initialized_
bool gui::menu::imgsel_style::initialized_ |
|
private |
◆ load_failed_
bool gui::menu::imgsel_style::load_failed_ |
|
private |
◆ normal_alpha2_
double gui::menu::imgsel_style::normal_alpha2_ |
|
private |
◆ normal_rgb2_
int gui::menu::imgsel_style::normal_rgb2_ |
|
private |
◆ selected_alpha2_
double gui::menu::imgsel_style::selected_alpha2_ |
|
private |
◆ selected_rgb2_
int gui::menu::imgsel_style::selected_rgb2_ |
|
private |
The documentation for this class was generated from the following files: