Freeciv-3.3
|
#include "fcintl.h"
#include "mem.h"
#include "support.h"
#include "canvas_g.h"
#include "sprite_g.h"
#include "svgflag.h"
Go to the source code of this file.
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 = FALSE |
static const char ** | ordered_extensions = NULL |
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().
Definition at line 30 of file svgflag.c.
Referenced by ordered_gfx_fextensions(), and svg_flag_enable().
Definition at line 32 of file svgflag.c.
Referenced by free_svg_flag_API(), and ordered_gfx_fextensions().