Freeciv-3.3
Loading...
Searching...
No Matches
widget_icon.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 2006 - The Freeciv Project
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13
14#ifndef FC__WIDGET_ICON_H
15#define FC__WIDGET_ICON_H
16
17/* ICON */
22 struct gui_layer *pdest, Uint32 flags);
24 Uint8 state);
26 struct gui_layer *pdest, Sint16 start_x,
28int draw_icon(struct widget *icon, Sint16 start_x, Sint16 start_y);
29
30/* ICON2 */
32 bool free_old_theme);
33struct widget *create_icon2(SDL_Surface *icon, struct gui_layer *pdest,
34 Uint32 flags);
35
36#endif /* FC__WIDGET_ICON_H */
char * incite_cost
Definition comments.c:76
struct widget * create_themeicon(SDL_Surface *icon_theme, struct gui_layer *pdest, Uint32 flags)
struct widget * create_icon2(SDL_Surface *icon, struct gui_layer *pdest, Uint32 flags)
void set_new_icon2_theme(struct widget *icon_widget, SDL_Surface *new_theme, bool free_old_theme)
SDL_Surface * create_icon_theme_surf(SDL_Surface *icon)
SDL_Surface * create_icon_from_theme(SDL_Surface *icon_theme, Uint8 state)
int draw_icon_from_theme(SDL_Surface *icon_theme, Uint8 state, struct gui_layer *pdest, Sint16 start_x, Sint16 start_y)
void set_new_icon_theme(struct widget *icon_widget, SDL_Surface *new_theme)
int draw_icon(struct widget *icon, Sint16 start_x, Sint16 start_y)