1 /*
2  * gog-contour.h
3  *
4  * Copyright (C) 2004-2007 Jean Brefort (jean.brefort@normalesup.org)
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; either version 2 of the
9  * License, or (at your option) version 3.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
19  * USA
20  */
21 
22 #ifndef GOG_CONTOUR_H
23 #define GOG_CONTOUR_H
24 
25 #include "gog-xyz.h"
26 
27 G_BEGIN_DECLS
28 
29 /*-----------------------------------------------------------------------------
30  *
31  * GogContourPlot
32  *
33  *-----------------------------------------------------------------------------
34  */
35 
36 typedef struct {
37 	GogXYZPlot base;
38 	unsigned max_colors;
39 } GogContourPlot;
40 typedef GogXYZPlotClass GogContourPlotClass;
41 
42 #define GOG_TYPE_CONTOUR_PLOT	(gog_contour_plot_get_type ())
43 #define GOG_CONTOUR_PLOT(o)	(G_TYPE_CHECK_INSTANCE_CAST ((o), GOG_TYPE_CONTOUR_PLOT, GogContourPlot))
44 #define GOG_IS_CONTOUR_PLOT(o)	(G_TYPE_CHECK_INSTANCE_TYPE ((o), GOG_TYPE_CONTOUR_PLOT))
45 
46 GType gog_contour_plot_get_type (void);
47 void  gog_contour_plot_register_type   (GTypeModule *module);
48 
49 void  gog_contour_view_register_type   (GTypeModule *module);
50 
51 G_END_DECLS
52 
53 #endif /* GOG_CONTOUR_H */
54