1 /* abstract base class for graphic views, ie. things we can display as part of
2  * the graphic component of a rhsview
3  */
4 
5 /*
6 
7     Copyright (C) 1991-2003 The National Gallery
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 along
20     with this program; if not, write to the Free Software Foundation, Inc.,
21     51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
22 
23  */
24 
25 /*
26 
27     These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
28 
29 */
30 
31 #define TYPE_GRAPHICVIEW (graphicview_get_type())
32 #define GRAPHICVIEW( obj ) \
33 	(GTK_CHECK_CAST( (obj), TYPE_GRAPHICVIEW, Graphicview ))
34 #define GRAPHICVIEW_CLASS( klass ) \
35 	(GTK_CHECK_CLASS_CAST( (klass), TYPE_GRAPHICVIEW, GraphicviewClass ))
36 #define IS_GRAPHICVIEW( obj ) (GTK_CHECK_TYPE( (obj), TYPE_GRAPHICVIEW ))
37 #define IS_GRAPHICVIEW_CLASS( klass ) \
38 	(GTK_CHECK_CLASS_TYPE( (klass), TYPE_GRAPHICVIEW ))
39 
40 typedef struct _Graphicview {
41 	View view;
42 
43 	/* My instance vars.
44 	 */
45 	Subcolumnview *sview;		/* Enclosing subc. */
46 } Graphicview;
47 
48 typedef struct _GraphicviewClass {
49 	ViewClass parent_class;
50 
51 	/* My methods.
52 	 */
53 } GraphicviewClass;
54 
55 GtkType graphicview_get_type( void );
56