"Fossies" - the Fresh Open Source Software Archive 
Member "gtkdatabox-1.0.0/gtk/gtkdatabox_cross_simple.h" (31 Mar 2021, 3641 Bytes) of package /linux/privat/gtkdatabox-1.0.0.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "gtkdatabox_cross_simple.h" see the
Fossies "Dox" file reference documentation and the latest
Fossies "Diffs" side-by-side code changes report:
0.9.3.1_vs_1.0.0.
1 /* $Id: gtkdatabox_cross_simple.h 4 2008-06-22 09:19:11Z rbock $ */
2 /* GtkDatabox - An extension to the gtk+ library
3 * Copyright (C) 1998 - 2008 Dr. Roland Bock
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public License
7 * as published by the Free Software Foundation; either version 2.1
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20 /**
21 * SECTION:gtkdatabox_cross_simple
22 * @short_description: A #GtkDataboxGraph used for displaying a simple coordinate cross.
23 * @include: gtkdatabox_cross_simple.h
24 * @see_also: #GtkDatabox, #GtkDataboxGraph, #GtkDataboxPoints, #GtkDataboxLines, #GtkDataboxBars, #GtkDataboxMarkers
25 *
26 * #GtkDataboxCrossSimple is a #GtkDataboxGraph class for displaying a simple coordinate cross (a vertical line
27 * at x=0 and a horizontal line at y=0).
28 *
29 * A more sophisticated coordinate cross would be welcome :-)
30 *
31 */
32
33 #ifndef __GTK_DATABOX_CROSS_SIMPLE_H__
34 #define __GTK_DATABOX_CROSS_SIMPLE_H__
35
36 #include <gtkdatabox_markers.h>
37
38 G_BEGIN_DECLS
39 #define GTK_DATABOX_TYPE_CROSS_SIMPLE (gtk_databox_cross_simple_get_type ())
40 #define GTK_DATABOX_CROSS_SIMPLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
41 GTK_DATABOX_TYPE_CROSS_SIMPLE, \
42 GtkDataboxCrossSimple))
43 #define GTK_DATABOX_CROSS_SIMPLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), \
44 GTK_DATABOX_TYPE_CROSS_SIMPLE, \
45 GtkDataboxCrossSimpleClass))
46 #define GTK_DATABOX_IS_CROSS_SIMPLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
47 GTK_DATABOX_TYPE_CROSS_SIMPLE))
48 #define GTK_DATABOX_IS_CROSS_SIMPLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
49 GTK_DATABOX_TYPE_CROSS_SIMPLE))
50 #define GTK_DATABOX_CROSS_SIMPLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), \
51 GTK_DATABOX_TYPE_CROSS_SIMPLE, \
52 GtkDataboxCrossSimpleClass))
53
54 /**
55 * GtkDataboxCrossSimple
56 *
57 * #GtkDataboxCrossSimple is a #GtkDataboxGraph class for displaying a simple coordinate cross (a vertical line
58 * at x=0 and a horizontal line at y=0).
59 *
60 * A more sophisticated coordinate cross would be welcome :-)
61 *
62 * @see_also: #GtkDatabox, #GtkDataboxGraph, #GtkDataboxPoints, #GtkDataboxLines, #GtkDataboxBars, #GtkDataboxMarkers
63 *
64 */
65
66 typedef struct _GtkDataboxCrossSimple GtkDataboxCrossSimple;
67
68 /**
69 * GtkDataboxCrossSimpleClass
70 *
71 * The object class of #GtkDataboxCrossSimple.
72 *
73 **/
74 typedef struct _GtkDataboxCrossSimpleClass GtkDataboxCrossSimpleClass;
75
76 struct _GtkDataboxCrossSimple
77 {
78 /*< private >*/
79 GtkDataboxMarkers parent;
80 };
81
82 struct _GtkDataboxCrossSimpleClass
83 {
84 GtkDataboxMarkersClass parent_class;
85 };
86
87 GType gtk_databox_cross_simple_get_type (void);
88
89 GtkDataboxGraph *gtk_databox_cross_simple_new (GdkRGBA * color,
90 guint size);
91
92 G_END_DECLS
93 #endif /* __GTK_DATABOX_CROSS_SIMPLE_H__ */