Removed silencing of gtk warning logs from gtk3.22-client.
[freeciv.git] / client / gui-xaw / canvasp.h
blobf992fd37a4ea5e1a05035cc609c49d34106679b7
1 /*
3 CanvasP.h - private header file for the Canvas Widget
4 - a widget that allows programmer-specified refresh procedures.
5 Copyright (C) 1990,93,94 Robert H. Forsman Jr.
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version.
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Library General Public License for more details.
17 You should have received a copy of the GNU Library General Public
18 License along with this library; if not, write to the Free
19 Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 #ifndef _CanvasP_h
24 #define _CanvasP_h
26 #include <X11/IntrinsicP.h>
27 #include <X11/CoreP.h>
28 #include <X11/Xaw/SimpleP.h>
30 #include "canvas.h"
32 typedef struct {
33 char dummy; /* some stupid compilers barf on empty structures */
34 } CanvasClassPart;
37 typedef struct _PixlabelClassRec {
38 CoreClassPart core_class;
39 SimpleClassPart simple_class;
40 CanvasClassPart canvas_class;
41 } CanvasClassRec;
43 extern CanvasClassRec canvasClassRec;
46 typedef struct {
47 XfwfCanvasExposeProc redraw;
48 XtPointer redraw_data;
49 XfwfCanvasResizeProc resize;
50 XtPointer resize_data;
51 Pixmap pixmap;
52 Visual *visual;
53 int is_visible;
54 } CanvasPart;
56 typedef struct _CanvasRec {
57 CorePart core;
58 SimplePart simple;
59 CanvasPart canvas;
60 } CanvasRec;
62 #endif /* _CanvasP_h */