(Temporarily) set "animate" to "none" by default (broken feature).
[gf1.git] / drawgif.h
blobad02af407e1b8784409b131a0f06bf6ffef2fd4e
1 /*
2 ** $Id$
3 **
4 ** include file for the drawgif-class
5 */
6 /*
7 ** Copyright (C) 1998 Kurt Van den Branden
8 **
9 ** This program is free software; you can redistribute it and/or modify
10 ** it under the terms of the GNU General Public License as published by
11 ** the Free Software Foundation; either version 2 of the License, or
12 ** (at your option) any later version.
13 **
14 ** This program is distributed in the hope that it will be useful,
15 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ** GNU General Public License for more details.
18 **
19 ** You should have received a copy of the GNU General Public License
20 ** along with this program; if not, write to the Free Software
21 ** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 #ifndef _DRAWGIF_H_
25 #define _DRAWGIF_H_
27 #include "board.h"
28 #include "linklist.h"
30 class drawgif {
31 private:
32 char * filen;
33 int size;
34 int colour;
35 board * gipfb;
36 listheader * extratext;
38 double base;
40 void pos2coor (const position *pos, int& x, int& y);
41 int splitline (listheader * llist, char * string, int maxchar);
43 public:
44 drawgif ();
45 ~drawgif ();
47 void filename (const char * fn);
48 void gifsize (int gs) { size = gs; };
49 void gifcolour (int gc) { colour = gc; };
50 void gifboard (board * gb);
51 void addtext (const char * text);
53 int draw ();
56 #endif