4
* Copyright (C) 2008 igalia
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
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.
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,
19
* Boston, MA 02110-1301 USA
22
* Felipe Erias <femorandeira@igalia.com>
23
* Pablo Santamaria <psantamaria@igalia.com>
24
* Jacobo Aragunde <jaragunde@igalia.com>
25
* Eduardo Lima <elima@igalia.com>
26
* Mario Sanchez <msanchez@igalia.com>
27
* Miguel Gomez <magomez@igalia.com>
28
* Henrique Ferreiro <hferreiro@igalia.com>
29
* Alejandro Pinheiro <apinheiro@igalia.com>
30
* Carlos Sanmartin <csanmartin@igalia.com>
31
* Alejandro Garcia <alex@igalia.com>
34
#ifndef __BAOBAB_RINGSCHART_H__
35
#define __BAOBAB_RINGSCHART_H__
38
#include "baobab-chart.h"
42
#define BAOBAB_RINGSCHART_TYPE (baobab_ringschart_get_type ())
43
#define BAOBAB_RINGSCHART(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BAOBAB_RINGSCHART_TYPE, BaobabRingschart))
44
#define BAOBAB_RINGSCHART_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), BAOBAB_RINGSCHART, BaobabRingschartClass))
45
#define BAOBAB_IS_RINGSCHART(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BAOBAB_RINGSCHART_TYPE))
46
#define BAOBAB_IS_RINGSCHART_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE ((obj), BAOBAB_RINGSCHART_TYPE))
47
#define BAOBAB_RINGSCHART_GET_CLASS (G_TYPE_INSTANCE_GET_CLASS ((obj), BAOBAB_RINGSCHART_TYPE, BaobabRingschartClass))
49
typedef struct _BaobabRingschart BaobabRingschart;
50
typedef struct _BaobabRingschartClass BaobabRingschartClass;
51
typedef struct _BaobabRingschartPrivate BaobabRingschartPrivate;
53
struct _BaobabRingschart
57
BaobabRingschartPrivate *priv;
60
struct _BaobabRingschartClass
62
BaobabChartClass parent_class;
65
GType baobab_ringschart_get_type (void) G_GNUC_CONST;
67
GtkWidget *baobab_ringschart_new (void);
69
void baobab_ringschart_set_subfoldertips_enabled (BaobabRingschart *chart,