Freeciv-3.3: /fast/freeciv/nightly/main/client/gui-sdl2/widget_p.h Source File

Freeciv-3.3

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
23void correct_size_bcgnd_surf(SDL_Surface *ptheme,
24 int *pwidth, int *height);
25 SDL_Surface *get_buffer_layer(int width, int height);
26
27int redraw_iconlabel(struct widget *label);
28
29#endif /* FC__WIDGET_P_H */
height
struct canvas int int struct sprite int int int int height
Definition canvas_g.h:44
width
struct canvas int int struct sprite int int int width
Definition canvas_g.h:44
incite_cost
char * incite_cost
Definition comments.c:74
correct_size_bcgnd_surf
void correct_size_bcgnd_surf(SDL_Surface *ptheme, int *pwidth, int *height)
Definition widget.c:63
redraw_iconlabel
int redraw_iconlabel(struct widget *label)
Definition widget_label.c:436
widget_new
struct widget * widget_new(void)
Definition widget_core.c:252
get_buffer_layer
SDL_Surface * get_buffer_layer(int width, int height)
widget
Definition widget.h:112