#include <sdl_buttons.hpp>
◆ SdlButtonList()
SdlButtonList::SdlButtonList |
( |
| ) |
|
|
default |
◆ ~SdlButtonList()
virtual SdlButtonList::~SdlButtonList |
( |
| ) |
|
|
virtualdefault |
◆ clear()
void SdlButtonList::clear |
( |
| ) |
|
◆ get_selected() [1/2]
SdlButton * SdlButtonList::get_selected |
( |
const SDL_MouseButtonEvent & |
button | ) |
|
◆ get_selected() [2/2]
SdlButton * SdlButtonList::get_selected |
( |
Sint32 |
x, |
|
|
Sint32 |
y |
|
) |
| |
◆ populate()
bool SdlButtonList::populate |
( |
SDL_Renderer * |
renderer, |
|
|
const std::vector< std::string > & |
labels, |
|
|
const std::vector< int > & |
ids, |
|
|
Sint32 |
total_width, |
|
|
Sint32 |
offsetY, |
|
|
Sint32 |
width, |
|
|
Sint32 |
heigth |
|
) |
| |
◆ set_highlight()
bool SdlButtonList::set_highlight |
( |
size_t |
index | ) |
|
◆ set_highlight_next()
◆ set_mouseover()
bool SdlButtonList::set_mouseover |
( |
Sint32 |
x, |
|
|
Sint32 |
y |
|
) |
| |
◆ update()
bool SdlButtonList::update |
( |
SDL_Renderer * |
renderer | ) |
|
The documentation for this class was generated from the following files: