Freeciv-3.1: /fast/freeciv/nightly/S3_1/client/gui-gtk-4.0/graphics.h Source File

Freeciv-3.1

Loading...
Searching...
No Matches
graphics.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
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__GRAPHICS_H
14#define FC__GRAPHICS_H
15
16#include <gtk/gtk.h>
17
18/* client */
19#include "graphics_g.h"
20#include "mapview_common.h"
21
22/* client/gui-gtk-4.0 */
23#include "canvas.h"
24#include "sprite.h"
25
26extern struct sprite *intro_gfx_sprite;
27
28/* This name is to avoid a naming conflict with a global 'cursors'
29 * variable in GTK+-2.6. See PR#12459. */
30extern GdkCursor *fc_cursors[CURSOR_LAST][NUM_CURSOR_FRAMES];
31
32#endif /* FC__GRAPHICS_H */
graphics_g.h
intro_gfx_sprite
struct sprite * intro_gfx_sprite
fc_cursors
GdkCursor * fc_cursors[CURSOR_LAST][NUM_CURSOR_FRAMES]
Definition graphics.c:48
canvas.h
sprite.h
mapview_common.h
sprite
Definition sprite.h:22
NUM_CURSOR_FRAMES
#define NUM_CURSOR_FRAMES
Definition tilespec.h:300
CURSOR_LAST
@ CURSOR_LAST
Definition tilespec.h:296