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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
/*
* xl-surface.h
*
* Copyright (C) 2005 Jean Brefort (jean.brefort@normalesup.org)
*
* This program 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 2 of the
* License, or (at your option) version 3.
*
* This program 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, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
* USA
*/
#ifndef XL_SURFACE_H
#define XL_SURFACE_H
#include "gog-contour.h"
#include "gog-surface.h"
G_BEGIN_DECLS
void xl_y_labels_register_type (GTypeModule *plugin);
void xl_xyz_series_register_type (GTypeModule *plugin);
/*-----------------------------------------------------------------------------
*
* XLContourPlot
*
*-----------------------------------------------------------------------------
*/
typedef struct {
GogContourPlot base;
char const **y_labels;
} XLContourPlot;
#define XL_CONTOUR_PLOT_TYPE (xl_contour_plot_get_type ())
#define XL_CONTOUR_PLOT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), XL_CONTOUR_PLOT_TYPE, XLContourPlot))
#define XL_PLOT_CONTOUR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), XL_CONTOUR_PLOT_TYPE))
GType xl_contour_plot_get_type (void);
void xl_contour_plot_register_type (GTypeModule *plugin);
/*-----------------------------------------------------------------------------
*
* XLSurfacePlot
*
*-----------------------------------------------------------------------------
*/
typedef struct {
GogSurfacePlot base;
char const **y_labels;
} XLSurfacePlot;
#define XL_SURFACE_PLOT_TYPE (xl_surface_plot_get_type ())
#define XL_SURFACE_PLOT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), XL_SURFACE_PLOT_TYPE, XLSurfacePlot))
#define XL_PLOT_SURFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), XL_SURFACE_PLOT_TYPE))
GType xl_surface_plot_get_type (void);
void xl_surface_plot_register_type (GTypeModule *plugin);
G_END_DECLS
#endif /* XL_SURFACE_H */
|