19#ifdef SDL2_PLAIN_INCLUDE
52 src.y = label->
size.h;
68 ret = (*baseclass_redraw)(label);
437 y = (label->
size.h - text->h) / 2;
500 y = (label->
size.h - text->h) / 2;
504 x = (label->
size.w - text->w) / 2;
531 label->
size.x = start_x;
static QString bold(QString text)
SDL_Color * get_theme_color(enum theme_color themecolor)
Uint32 get_pixel(SDL_Surface *surf, Sint16 x, Sint16 y)
int fill_rect_alpha(SDL_Surface *surf, SDL_Rect *prect, SDL_Color *pcolor)
struct gui_layer * gui_layer_new(int x, int y, SDL_Surface *surface)
int alphablit(SDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect, unsigned char alpha_mod)
SDL_Surface * create_surf(int width, int height, Uint32 flags)
#define map_rgba(format, color)
void utf8_str_size(utf8_str *pstr, SDL_Rect *fill)
SDL_Surface * create_text_surf_from_utf8(utf8_str *pstr)
#define FREEUTF8STR(pstr)
@ COLOR_THEME_THEMELABEL2_BG