FreeRDP
SdlButtonList Class Reference

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)
 
SdlButtonget_selected (const SDL_MouseButtonEvent &button)
 
SdlButtonget_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
 
SdlButtonListoperator= (const SdlButtonList &other)=delete
 
SdlButtonListoperator= (SdlButtonList &&other)=delete
 
 SdlButtonList (const SdlButtonList &other)=delete
 
 SdlButtonList (SdlButtonList &&other)=delete
 
SdlButtonListoperator= (const SdlButtonList &other)=delete
 
SdlButtonListoperator= (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)
 
SdlButtonget_selected (const SDL_MouseButtonEvent &button)
 
SdlButtonget_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 ()
 

Detailed Description

Definition at line 8 of file SDL2/dialogs/sdl_buttons.hpp.


The documentation for this class was generated from the following files: