Freeciv-3.1
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
14
#ifndef FC__WIDGET_WINDOW_H
15
#define FC__WIDGET_WINDOW_H
16
17
struct
widget
*
create_window
(
struct
gui_layer
*
pdest
,
utf8_str
*
title
,
18
Uint16
w,
Uint16
h
,
Uint32
flags);
19
20
struct
widget
*
create_window_skeleton
(
struct
gui_layer
*
pdest
,
21
utf8_str
*
title
,
Uint32
flags);
22
23
int
resize_window
(
struct
widget
*pwindow,
SDL_Surface
*
bcgd
,
24
SDL_Color
*
pcolor
,
Uint16
new_w
,
Uint16
new_h
);
25
26
bool
move_window
(
struct
widget
*pwindow);
27
28
#endif
/* FC__WIDGET_WINDOW_H */
pcolor
struct canvas int int struct sprite bool int int fog_y struct canvas struct sprite struct color * pcolor
Definition
canvas_g.h:57
title
const char * title
Definition
repodlgs.c:1313
gui_layer
Definition
graphics.h:227
utf8_str
Definition
gui_string.h:52
widget
Definition
widget.h:112
widget::cont
struct container * cont
Definition
widget.h:127
resize_window
int 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
Generated on Sun Jan 5 2025 22:00:34 for Freeciv-3.1 by
1.9.8