Freeciv-3.2
Loading...
Searching...
No Matches
widget_p.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_P_H
15#define FC__WIDGET_P_H
16
17#define STATE_MASK 0x03 /* 0..0000000000000011 */
18#define TYPE_MASK 0x03FC /* 0..0000001111111100 */
19#define FLAG_MASK 0xFFFFFC00 /* 1..1111110000000000 */
20
21struct widget *widget_new(void);
22
24 int *pwidth, int *height);
26
27int redraw_iconlabel(struct widget *label);
28
29#endif /* FC__WIDGET_P_H */
struct canvas int int struct sprite int int int int height
Definition canvas_g.h:44
struct canvas int int struct sprite int int int width
Definition canvas_g.h:44
char * incite_cost
Definition comments.c:75
void correct_size_bcgnd_surf(SDL_Surface *ptheme, int *pwidth, int *height)
Definition widget.c:63
int redraw_iconlabel(struct widget *label)
struct widget * widget_new(void)
SDL_Surface * get_buffer_layer(int width, int height)