Freeciv-3.3
|
Go to the source code of this file.
Macros | |
#define | create_iconlabel_from_chars(picon, pdest, chars, ptsize, flags) create_iconlabel(picon, pdest, create_utf8_from_char(chars, ptsize), flags) |
#define | create_iconlabel_from_chars_fonto(picon, pdest, chars, fonto, flags) create_iconlabel(picon, pdest, create_utf8_from_char_fonto(chars, fonto), flags) |
#define | create_active_iconlabel(buf, pdest, pstr, pstring, cb) |
Functions | |
struct widget * | create_themelabel (SDL_Surface *icon, struct gui_layer *pdest, utf8_str *pstr, Uint16 w, Uint16 h, Uint32 flags) |
struct widget * | create_themelabel2 (SDL_Surface *icon, struct gui_layer *pdest, utf8_str *pstr, Uint16 w, Uint16 h, Uint32 flags) |
struct widget * | create_iconlabel (SDL_Surface *icon, struct gui_layer *pdest, utf8_str *text, Uint32 flags) |
struct widget * | convert_iconlabel_to_themeiconlabel2 (struct widget *icon_label) |
int | draw_label (struct widget *label, Sint16 start_x, Sint16 start_y) |
int | redraw_iconlabel (struct widget *label) |
void | remake_label_size (struct widget *label) |
Definition at line 23 of file widget_label.h.
#define create_iconlabel_from_chars | ( | picon, | |
pdest, | |||
chars, | |||
ptsize, | |||
flags | |||
) | create_iconlabel(picon, pdest, create_utf8_from_char(chars, ptsize), flags) |
Definition at line 17 of file widget_label.h.
#define create_iconlabel_from_chars_fonto | ( | picon, | |
pdest, | |||
chars, | |||
fonto, | |||
flags | |||
) | create_iconlabel(picon, pdest, create_utf8_from_char_fonto(chars, fonto), flags) |
Definition at line 20 of file widget_label.h.
Make themeiconlabel2 widget out of iconlabel widget.
Definition at line 321 of file widget_label.c.
struct widget * create_iconlabel | ( | SDL_Surface * | icon, |
struct gui_layer * | pdest, | ||
utf8_str * | pstr, | ||
Uint32 | flags | ||
) |
This Label is UTF8 string with Icon.
Definition at line 215 of file widget_label.c.
struct widget * create_themelabel | ( | SDL_Surface * | icon, |
struct gui_layer * | pdest, | ||
utf8_str * | pstr, | ||
Uint16 | w, | ||
Uint16 | h, | ||
Uint32 | flags | ||
) |
Theme label is utf8_str with Background ( icon ).
Definition at line 180 of file widget_label.c.
struct widget * create_themelabel2 | ( | SDL_Surface * | icon, |
struct gui_layer * | pdest, | ||
utf8_str * | pstr, | ||
Uint16 | w, | ||
Uint16 | h, | ||
Uint32 | flags | ||
) |
Theme label is UTF8 string with Background ( icon ).
Definition at line 241 of file widget_label.c.
Draw the label widget.
Definition at line 529 of file widget_label.c.
Blit iconlabel gfx to surface its on.
Definition at line 390 of file widget_label.c.
Calculate new size for a label.
Definition at line 118 of file widget_label.c.