Freeciv-3.2
Loading...
Searching...
No Matches
client
gui-sdl3
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
21
struct
widget
*
widget_new
(
void
);
22
23
void
correct_size_bcgnd_surf
(
SDL_Surface
*
ptheme
,
24
int
*
pwidth
,
int
*
height
);
25
SDL_Surface
*
get_buffer_layer
(
int
width
,
int
height
);
26
27
int
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:75
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:390
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
Generated on Sun Dec 22 2024 23:00:31 for Freeciv-3.2 by
1.9.8