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.
Referenced by popup_connection_dialog().
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.
Referenced by add_global_worklist(), add_target_to_worklist(), create_tech_info(), create_textcheckbox(), economy_report_dialog_popup(), option_dialog_worklist(), popup_advanced_terrain_dialog(), popup_city_cma_dialog(), popup_connection_dialog(), popup_find_dialog(), popup_impr_info(), popup_join_game_dialog(), popup_load_del_presets_dialog(), popup_load_game_dialog(), popup_new_user_passwd_dialog(), popup_newcity_dialog(), popup_players_nations_dialog(), popup_races_dialog(), popup_sabotage_dialog(), popup_spaceship_dialog(), popup_terrain_info_dialog(), popup_unit_info(), popup_user_passwd_dialog(), popup_worklist_editor(), real_activeunits_report_dialog_update(), real_info_city_report_dialog_update(), real_meswin_dialog_update(), rebuild_imprm_list(), sell_imprvm_dlg_callback(), set_global_worklist(), show_game_page(), units_orders_city_dlg_callback(), update_clauses_list(), update_diplomacy_dialog(), and update_goto_dialog().
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.
Referenced by real_city_dialog_popup().
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.
Referenced by add_to_chat_list(), popup_conn_list_dialog(), and real_conn_list_dialog_update().
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.
Referenced by change_nation_label(), create_iconlabel(), create_themelabel(), create_themelabel2(), option_widget_new(), real_economy_report_dialog_update(), refresh_production_label(), and refresh_worklist_count_label().