File: graphics.h

package info (click to toggle)
gfpoken 1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,944 kB
  • sloc: ansic: 2,984; sh: 1,446; makefile: 125
file content (55 lines) | stat: -rw-r--r-- 2,051 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/* graphics.h - GFingerPoken main window's widget stuff
 * Copyright 1999-2000  Martin Hock
 *
 * This file is part of Gfingerpoken.
 *
 * Gfingerpoken is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * Gfingerpoken is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */


extern GtkWidget *mainwin;
extern GtkStyle  *mainstyle;
extern GtkWidget *layoutwin, *layoutpixmap;
extern GtkWidget *winpack;
extern GtkWidget *controlpack;
extern GtkWidget *testbutton;
extern GtkWidget *leveldraw, *tooldraw;
extern GtkWidget *levelscroll, *toolscroll;
extern GtkWidget *mainbar;
extern GtkWidget *mainbarbut[NumMainIcons];
extern GtkWidget *barpixwid[NumAllIcons];
extern GtkWidget *mainstatbar;

extern GdkPixmap *tilepic[NumObjects]; /* All them object tiles.  Square. */
extern GdkPixmap *borderpix; /* The border pictures.  Square. */
extern GdkPixmap *arrowpix[4]; /* Shows where it's supposed to come out */
extern GdkPixmap *warrowpix[4]; /* White arrows for recent move */
extern GdkPixmap *markpix[NumMarks]; /* Markers for board notes */
extern GdkPixmap *barpix[NumAllIcons]; /* Icons for toolbar */
extern GdkPixmap *marblepix;

extern GdkPixmap *iconpix;
extern GdkPixmap *vdeltabuf, *hdeltabuf;

extern GdkBitmap *arrowmask[4]; /* 4 different arrows, so 4 masks. (Strip method doesn't work) */
extern GdkBitmap *markmask[NumMarks];
extern GdkBitmap *barmask[NumAllIcons];
extern GdkBitmap *trashmask;
extern GdkBitmap *marblemask;
extern GdkBitmap *iconmask;
extern GdkGC *transgc;

extern GdkPixmap *levelpixmap, *toolpixmap;