2
* Copyright (C) 2005 Red Hat, Inc., David Malcolm <dmalcolm@redhat.com>
3
* Copyright (C) 2006 Red Hat, Inc., Daniel Berrange <berrange@redhat.com>
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Library General Public
7
* License as published by the Free Software Foundation; either
8
* version 2 of the License, or (at your option) any later version.
10
* This library 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 GNU
13
* Library General Public License for more details.
15
* You should have received a copy of the GNU Library General Public
16
* License along with this library; if not, write to the
17
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18
* Boston, MA 02111-1307, USA.
21
#ifndef __GTK_SPARKLINE_H__
22
#define __GTK_SPARKLINE_H__
24
#include <pango/pango.h>
25
#include <gtk/gtkdrawingarea.h>
31
#define GTK_TYPE_SPARKLINE (gtk_sparkline_get_type ())
32
#define GTK_SPARKLINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SPARKLINE, GtkSparkline))
33
#define GTK_SPARKLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SPARKLINE, GtkSparklineClass))
34
#define GTK_IS_SPARKLINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SPARKLINE))
35
#define GTK_IS_SPARKLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SPARKLINE))
36
#define GTK_SPARKLINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SPARKLINE, GtkSparklineClass))
38
typedef struct _GtkSparkline GtkSparkline;
39
typedef struct _GtkSparklineClass GtkSparklineClass;
43
GtkDrawingArea parent;
48
struct _GtkSparklineClass
50
GtkDrawingAreaClass parent_class;
52
/* Padding for future expansion */
53
void (*_gtk_reserved1) (void);
54
void (*_gtk_reserved2) (void);
55
void (*_gtk_reserved3) (void);
56
void (*_gtk_reserved4) (void);
59
GType gtk_sparkline_get_type (void) G_GNUC_CONST;
60
GtkWidget *gtk_sparkline_new (void);
65
#endif /* __GTK_SPARKLINE_H__ */