Freeciv-3.2
|
Go to the source code of this file.
Data Structures | |
struct | area_rect |
Macros | |
#define | is_svg_flag_enabled() _prefer_svg |
Functions | |
bool | svg_flag_enable (void) |
const char ** | ordered_gfx_fextensions (void) |
void | free_svg_flag_API (void) |
void | get_flag_dimensions (struct sprite *flag, struct area_rect *rect, int svg_height) |
void | canvas_put_flag_sprite (struct canvas *pcanvas, int canvas_x, int canvas_y, int canvas_w, int canvas_h, struct sprite *flag) |
Variables | |
bool | _prefer_svg |
#define is_svg_flag_enabled | ( | ) | _prefer_svg |
void canvas_put_flag_sprite | ( | struct canvas * | pcanvas, |
int | canvas_x, | ||
int | canvas_y, | ||
int | canvas_w, | ||
int | canvas_h, | ||
struct sprite * | flag | ||
) |
Put flag sprite to canvas.
Definition at line 137 of file svgflag.c.
Referenced by show_full_citybar().
Free resources allocated for the svgflag module.
Definition at line 109 of file svgflag.c.
Referenced by client_exit().
Fill flag dimensions to rect.
Definition at line 123 of file svgflag.c.
Referenced by show_full_citybar().
Return gfx file extensions, in adjusted order.
Definition at line 53 of file svgflag.c.
Referenced by load_gfx_file().
Try to enable svg flag features.
Definition at line 39 of file svgflag.c.
Referenced by qtg_ui_main().
|
extern |
Definition at line 30 of file svgflag.c.
Referenced by ordered_gfx_fextensions(), and svg_flag_enable().