1 /*********************************************************************** 2 Freeciv - Copyright (C) 1996-2005 - Freeciv Development 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 #ifndef FC__CANVAS_H 14 #define FC__CANVAS_H 15 16 #include <gtk/gtk.h> 17 18 #include "canvas_g.h" 19 20 struct canvas 21 { 22 cairo_surface_t *surface; 23 cairo_t *drawable; 24 float zoom; 25 }; 26 27 #define FC_STATIC_CANVAS_INIT { NULL, NULL, 1.0 } 28 29 #endif /* FC__CANVAS_H */ 30