|
FreeRDP
|

Public Member Functions | |
| 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 | |
| SdlWidget & | operator= (const SdlWidget &other)=delete |
| SdlWidget & | operator= (SdlWidget &&other)=delete |
| SdlWidget (std::shared_ptr< SDL_Renderer > &renderer, const SDL_FRect &rect) | |
| SdlWidget (const SdlWidget &other)=delete | |
| SdlWidget (SdlWidget &&other) noexcept | |
| SdlWidget & | operator= (const SdlWidget &other)=delete |
| SdlWidget & | operator= (SdlWidget &&other)=delete |
| bool | fill (SDL_Color color) const |
| bool | fill (const std::vector< SDL_Color > &colors) const |
| bool | update_text (const std::string &text) |
| bool | wrap () const |
| bool | set_wrap (bool wrap=true, size_t width=0) |
| const SDL_FRect & | rect () const |
| bool | update () |
Static Public Member Functions | |
| static bool | error_ex (Sint32 res, const char *what, const char *file, size_t line, const char *fkt) |
| static bool | error_ex (bool success, const char *what, const char *file, size_t line, const char *fkt) |
Protected Member Functions | |
| virtual bool | clear () const |
| virtual bool | updateInternal () |
Protected Attributes | |
| std::shared_ptr< SDL_Renderer > | _renderer |
| SDL_Color | _backgroundcolor = { 0x56, 0x56, 0x56, 0xff } |
| SDL_Color | _fontcolor = { 0xd1, 0xcf, 0xcd, 0xff } |
| std::string | _text |
Definition at line 48 of file SDL2/dialogs/sdl_widget.hpp.
| SdlWidget::SdlWidget | ( | SDL_Renderer * | renderer, |
| SDL_Rect | rect, | ||
| bool | input | ||
| ) |
Definition at line 45 of file SDL2/dialogs/sdl_widget.cpp.
|
noexcept |
Definition at line 74 of file SDL2/dialogs/sdl_widget.cpp.
|
virtualdefault |
Definition at line 173 of file SDL2/dialogs/sdl_widget.cpp.
| SdlWidget::SdlWidget | ( | std::shared_ptr< SDL_Renderer > & | renderer, |
| const SDL_FRect & | rect | ||
| ) |
Definition at line 44 of file SDL3/dialogs/sdl_widget.cpp.
|
protectedvirtual |
Definition at line 274 of file SDL3/dialogs/sdl_widget.cpp.
|
static |
Definition at line 204 of file SDL3/dialogs/sdl_widget.cpp.
|
static |
Definition at line 180 of file SDL2/dialogs/sdl_widget.cpp.
| bool SdlWidget::fill | ( | const std::vector< SDL_Color > & | colors | ) | const |
Definition at line 241 of file SDL3/dialogs/sdl_widget.cpp.
| bool SdlWidget::fill | ( | SDL_Color | color | ) | const |
Definition at line 235 of file SDL3/dialogs/sdl_widget.cpp.
| bool SdlWidget::fill | ( | SDL_Renderer * | renderer, |
| const std::vector< SDL_Color > & | colors | ||
| ) |
Definition at line 205 of file SDL2/dialogs/sdl_widget.cpp.
| bool SdlWidget::fill | ( | SDL_Renderer * | renderer, |
| SDL_Color | color | ||
| ) |
Definition at line 199 of file SDL2/dialogs/sdl_widget.cpp.
| const SDL_FRect & SdlWidget::rect | ( | ) | const |
Definition at line 242 of file SDL2/dialogs/sdl_widget.cpp.
| bool SdlWidget::set_wrap | ( | bool | wrap = true, |
| size_t | width = 0 |
||
| ) |
Definition at line 235 of file SDL2/dialogs/sdl_widget.cpp.
| bool SdlWidget::update | ( | ) |
Definition at line 290 of file SDL3/dialogs/sdl_widget.cpp.
| bool SdlWidget::update_text | ( | const std::string & | text | ) |
Definition at line 298 of file SDL3/dialogs/sdl_widget.cpp.
| bool SdlWidget::update_text | ( | SDL_Renderer * | renderer, |
| const std::string & | text, | ||
| SDL_Color | fgcolor | ||
| ) |
Definition at line 247 of file SDL2/dialogs/sdl_widget.cpp.
| bool SdlWidget::update_text | ( | SDL_Renderer * | renderer, |
| const std::string & | text, | ||
| SDL_Color | fgcolor, | ||
| SDL_Color | bgcolor | ||
| ) |
Definition at line 220 of file SDL2/dialogs/sdl_widget.cpp.
|
protectedvirtual |
Definition at line 220 of file SDL3/dialogs/sdl_widget.cpp.
| bool SdlWidget::wrap | ( | ) | const |
Definition at line 230 of file SDL2/dialogs/sdl_widget.cpp.
|
protected |
Definition at line 78 of file SDL3/dialogs/sdl_widget.hpp.
|
protected |
Definition at line 79 of file SDL3/dialogs/sdl_widget.hpp.
|
protected |
Definition at line 77 of file SDL3/dialogs/sdl_widget.hpp.
|
mutableprotected |
Definition at line 80 of file SDL3/dialogs/sdl_widget.hpp.