FreeRDP
|
Public Member Functions | |
bool | populate (SDL_Renderer *renderer, const std::vector< std::string > &labels, const std::vector< int > &ids, Sint32 total_width, Sint32 offsetY, Sint32 width, Sint32 height) |
bool | update (SDL_Renderer *renderer) |
SdlButton * | get_selected (const SDL_MouseButtonEvent &button) |
SdlButton * | get_selected (Sint32 x, Sint32 y) |
bool | set_highlight_next (bool reset=false) |
bool | set_highlight (size_t index) |
bool | set_mouseover (Sint32 x, Sint32 y) |
void | clear () |
SdlButtonList (const SdlButtonList &other)=delete | |
SdlButtonList (SdlButtonList &&other)=delete | |
SdlButtonList & | operator= (const SdlButtonList &other)=delete |
SdlButtonList & | operator= (SdlButtonList &&other)=delete |
SdlButtonList (const SdlButtonList &other)=delete | |
SdlButtonList (SdlButtonList &&other)=delete | |
SdlButtonList & | operator= (const SdlButtonList &other)=delete |
SdlButtonList & | operator= (SdlButtonList &&other)=delete |
bool | populate (SDL_Renderer *renderer, const std::vector< std::string > &labels, const std::vector< int > &ids, Sint32 total_width, Sint32 offsetY, Sint32 width, Sint32 height) |
bool | update (SDL_Renderer *renderer) |
SdlButton * | get_selected (const SDL_MouseButtonEvent &button) |
SdlButton * | get_selected (float x, float y) |
bool | set_highlight_next (bool reset=false) |
bool | set_highlight (size_t index) |
bool | set_mouseover (float x, float y) |
void | clear () |
Definition at line 8 of file SDL2/dialogs/sdl_buttons.hpp.
void SdlButtonList::clear | ( | ) |
Definition at line 88 of file SDL2/dialogs/sdl_buttons.cpp.
SdlButton * SdlButtonList::get_selected | ( | const SDL_MouseButtonEvent & | button | ) |
Definition at line 36 of file SDL2/dialogs/sdl_buttons.cpp.
SdlButton * SdlButtonList::get_selected | ( | float | x, |
float | y | ||
) |
Definition at line 41 of file SDL3/dialogs/sdl_buttons.cpp.
SdlButton * SdlButtonList::get_selected | ( | Sint32 | x, |
Sint32 | y | ||
) |
Definition at line 44 of file SDL2/dialogs/sdl_buttons.cpp.
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 | height | ||
) |
Definition at line 12 of file SDL2/dialogs/sdl_buttons.cpp.
bool SdlButtonList::set_highlight | ( | size_t | index | ) |
Definition at line 69 of file SDL2/dialogs/sdl_buttons.cpp.
bool SdlButtonList::set_highlight_next | ( | bool | reset = false | ) |
Definition at line 55 of file SDL2/dialogs/sdl_buttons.cpp.
bool SdlButtonList::set_mouseover | ( | float | x, |
float | y | ||
) |
Definition at line 79 of file SDL3/dialogs/sdl_buttons.cpp.
bool SdlButtonList::set_mouseover | ( | Sint32 | x, |
Sint32 | y | ||
) |
Definition at line 82 of file SDL2/dialogs/sdl_buttons.cpp.
bool SdlButtonList::update | ( | SDL_Renderer * | renderer | ) |
Definition at line 96 of file SDL2/dialogs/sdl_buttons.cpp.