FreeRDP
SdlButton Class Reference
Inheritance diagram for SdlButton:
Collaboration diagram for SdlButton:

Public Member Functions

 SdlButton (SDL_Renderer *renderer, std::string label, int id, SDL_Rect rect)
 
 SdlButton (const SdlButton &other)=delete
 
 SdlButton (SdlButton &&other) noexcept
 
SdlButtonoperator= (const SdlButton &other)=delete
 
SdlButtonoperator= (SdlButton &&other)=delete
 
bool highlight (SDL_Renderer *renderer)
 
bool mouseover (SDL_Renderer *renderer)
 
bool update (SDL_Renderer *renderer)
 
int id () const
 
 SdlButton (SDL_Renderer *renderer, std::string label, int id, const SDL_FRect &rect)
 
 SdlButton (SdlButton &&other) noexcept
 
 SdlButton (const SdlButton &other)=delete
 
SdlButtonoperator= (const SdlButton &other)=delete
 
SdlButtonoperator= (SdlButton &&other)=delete
 
bool highlight (SDL_Renderer *renderer)
 
bool mouseover (SDL_Renderer *renderer)
 
bool update (SDL_Renderer *renderer)
 
int id () const
 
- Public Member Functions inherited from SdlWidget
 SdlWidget (SDL_Renderer *renderer, SDL_Rect rect, bool input)
 
 SdlWidget (SdlWidget &&other) noexcept
 
bool fill (SDL_Renderer *renderer, SDL_Color color)
 
bool fill (SDL_Renderer *renderer, const std::vector< SDL_Color > &colors)
 
bool update_text (SDL_Renderer *renderer, const std::string &text, SDL_Color fgcolor)
 
bool update_text (SDL_Renderer *renderer, const std::string &text, SDL_Color fgcolor, SDL_Color bgcolor)
 
bool wrap () const
 
bool set_wrap (bool wrap=true, size_t width=0)
 
const SDL_Rect & rect () const
 
 SdlWidget (const SdlWidget &other)=delete
 
SdlWidgetoperator= (const SdlWidget &other)=delete
 
SdlWidgetoperator= (SdlWidget &&other)=delete
 
 SdlWidget (SDL_Renderer *renderer, const SDL_FRect &rect, bool input)
 
 SdlWidget (SDL_Renderer *renderer, const SDL_FRect &rect, SDL_IOStream *ops)
 
 SdlWidget (const SdlWidget &other)=delete
 
 SdlWidget (SdlWidget &&other) noexcept
 
SdlWidgetoperator= (const SdlWidget &other)=delete
 
SdlWidgetoperator= (SdlWidget &&other)=delete
 
bool fill (SDL_Renderer *renderer, SDL_Color color)
 
bool fill (SDL_Renderer *renderer, const std::vector< SDL_Color > &colors)
 
bool update_text (SDL_Renderer *renderer, const std::string &text, SDL_Color fgcolor)
 
bool update_text (SDL_Renderer *renderer, const std::string &text, SDL_Color fgcolor, SDL_Color bgcolor)
 
bool wrap () const
 
bool set_wrap (bool wrap=true, size_t width=0)
 
const SDL_FRect & rect () const
 

Additional Inherited Members

- Static Public Member Functions inherited from SdlWidget
static bool error_ex (Uint32 res, const char *what, const char *file, size_t line, const char *fkt)
 
static bool error_ex (Uint32 res, const char *what, const char *file, size_t line, const char *fkt)
 

Detailed Description

Definition at line 7 of file SDL2/dialogs/sdl_button.hpp.


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