Freeciv-3.1
Loading...
Searching...
No Matches
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
18 Uint16 w, Uint16 h, Uint32 flags);
19
21 utf8_str *title, Uint32 flags);
22
23int resize_window(struct widget *pwindow, SDL_Surface *bcgd,
25
26bool move_window(struct widget *pwindow);
27
28#endif /* FC__WIDGET_WINDOW_H */
struct canvas int int struct sprite bool int int fog_y struct canvas struct sprite struct color * pcolor
Definition canvas_g.h:57
const char * title
Definition repodlgs.c:1313
struct container * cont
Definition widget.h:127
int resize_window(struct widget *pwindow, SDL_Surface *bcgd, SDL_Color *pcolor, Uint16 new_w, Uint16 new_h)
struct widget * create_window_skeleton(struct gui_layer *pdest, utf8_str *title, Uint32 flags)
bool move_window(struct widget *pwindow)
struct widget * create_window(struct gui_layer *pdest, utf8_str *title, Uint16 w, Uint16 h, Uint32 flags)