Freeciv-3.2
Loading...
Searching...
No Matches
client
gui-sdl2
widget_window.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
#ifndef FC__WIDGET_WINDOW_H
14
#define FC__WIDGET_WINDOW_H
15
16
struct
widget
*
create_window
(
struct
gui_layer
*
pdest
,
utf8_str
*
title
,
17
Uint16
w,
Uint16
h,
Uint32
flags);
18
19
struct
widget
*
create_window_skeleton
(
struct
gui_layer
*
pdest
,
20
utf8_str
*
title
,
Uint32
flags);
21
22
bool
resize_window
(
struct
widget
*pwindow,
SDL_Surface
*
bcgd
,
23
SDL_Color
*
pcolor
,
Uint16
new_w
,
Uint16
new_h
);
24
25
bool
move_window
(
struct
widget
*pwindow);
26
27
#endif
/* FC__WIDGET_WINDOW_H */
pcolor
struct canvas int int int int struct sprite *sprite struct canvas struct color * pcolor
Definition
canvas_g.h:56
incite_cost
char * incite_cost
Definition
comments.c:75
title
const char * title
Definition
repodlgs.c:1314
resize_window
bool resize_window(struct widget *pwindow, SDL_Surface *bcgd, SDL_Color *pcolor, Uint16 new_w, Uint16 new_h)
Definition
widget_window.c:255
create_window_skeleton
struct widget * create_window_skeleton(struct gui_layer *pdest, utf8_str *title, Uint32 flags)
Definition
widget_window.c:180
move_window
bool move_window(struct widget *pwindow)
Definition
widget_window.c:352
create_window
struct widget * create_window(struct gui_layer *pdest, utf8_str *title, Uint16 w, Uint16 h, Uint32 flags)
Definition
widget_window.c:231
gui_layer
Definition
graphics.h:227
utf8_str
Definition
gui_string.h:52
widget
Definition
widget.h:112
Generated on Sun Dec 22 2024 23:00:31 for Freeciv-3.2 by
1.9.8