Freeciv-3.1: /fast/freeciv/nightly/S3_1/client/gui-sdl2/canvas.h Source File

Freeciv-3.1

Loading...
Searching...
No Matches
canvas.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 2005 The Freeciv Team
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__CANVAS_H
15#define FC__CANVAS_H
16
17/* SDL2 */
18#ifdef SDL2_PLAIN_INCLUDE
19#include <SDL.h>
20#else /* SDL2_PLAIN_INCLUDE */
21#include <SDL2/SDL.h>
22#endif /* SDL2_PLAIN_INCLUDE */
23
24#include "canvas_g.h"
25
26struct canvas {
27 SDL_Surface *surf;
28};
29
30#endif /* FC__CANVAS_H */
canvas_g.h
canvas
Definition canvas.h:21
canvas::surf
SDL_Surface * surf
Definition canvas.h:27