#include <sdl_widget.hpp>
|
| SdlWidget (SDL_Renderer *renderer, const SDL_Rect &rect, bool input) |
|
| SdlWidget (SDL_Renderer *renderer, const SDL_Rect &rect, SDL_RWops *ops) |
|
| SdlWidget (SdlWidget &&other) noexcept |
|
virtual | ~SdlWidget () |
|
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 |
|
|
static bool | error_ex (Uint32 res, const char *what, const char *file, size_t line, const char *fkt) |
|
◆ SdlWidget() [1/3]
SdlWidget::SdlWidget |
( |
SDL_Renderer * |
renderer, |
|
|
const SDL_Rect & |
rect, |
|
|
bool |
input |
|
) |
| |
◆ SdlWidget() [2/3]
SdlWidget::SdlWidget |
( |
SDL_Renderer * |
renderer, |
|
|
const SDL_Rect & |
rect, |
|
|
SDL_RWops * |
ops |
|
) |
| |
◆ SdlWidget() [3/3]
◆ ~SdlWidget()
SdlWidget::~SdlWidget |
( |
| ) |
|
|
virtual |
◆ error_ex()
bool SdlWidget::error_ex |
( |
Uint32 |
res, |
|
|
const char * |
what, |
|
|
const char * |
file, |
|
|
size_t |
line, |
|
|
const char * |
fkt |
|
) |
| |
|
static |
◆ fill() [1/2]
bool SdlWidget::fill |
( |
SDL_Renderer * |
renderer, |
|
|
const std::vector< SDL_Color > & |
colors |
|
) |
| |
◆ fill() [2/2]
bool SdlWidget::fill |
( |
SDL_Renderer * |
renderer, |
|
|
SDL_Color |
color |
|
) |
| |
◆ rect()
const SDL_Rect & SdlWidget::rect |
( |
| ) |
const |
◆ set_wrap()
bool SdlWidget::set_wrap |
( |
bool |
wrap = true , |
|
|
size_t |
width = 0 |
|
) |
| |
◆ update_text() [1/2]
bool SdlWidget::update_text |
( |
SDL_Renderer * |
renderer, |
|
|
const std::string & |
text, |
|
|
SDL_Color |
fgcolor |
|
) |
| |
◆ update_text() [2/2]
bool SdlWidget::update_text |
( |
SDL_Renderer * |
renderer, |
|
|
const std::string & |
text, |
|
|
SDL_Color |
fgcolor, |
|
|
SDL_Color |
bgcolor |
|
) |
| |
◆ wrap()
bool SdlWidget::wrap |
( |
| ) |
const |
The documentation for this class was generated from the following files: