~ubuntu-branches/ubuntu/wily/baobab/wily-proposed

« back to all changes in this revision

Viewing changes to src/baobab-ringschart.h

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2014-10-15 23:15:13 UTC
  • mfrom: (2.2.1 experimental) (2.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20141015231513-6cpun88orgfpyzdv
Tags: 3.14.1-1ubuntu1
* Merge from Debian unstable. (LP: #1268721) Remaining changes:
* debian/patches/use_traditional_titlebars_in_unity.patch:
  - Use the traditional menubar under Unity
* debian/patches/git_fix_pie_chart.patch:
  - Fx top level pie chart. (LP: #1393333)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * baobab-ringschart.h
3
 
 *
4
 
 * Copyright (C) 2008 igalia
5
 
 *
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.
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, 
19
 
 * Boston, MA  02110-1301  USA
20
 
 *
21
 
 * Authors:
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>
32
 
 */
33
 
 
34
 
#ifndef __BAOBAB_RINGSCHART_H__
35
 
#define __BAOBAB_RINGSCHART_H__
36
 
 
37
 
#include <gtk/gtk.h>
38
 
#include "baobab-chart.h"
39
 
 
40
 
G_BEGIN_DECLS
41
 
 
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))
48
 
 
49
 
typedef struct _BaobabRingschart BaobabRingschart;
50
 
typedef struct _BaobabRingschartClass BaobabRingschartClass;
51
 
typedef struct _BaobabRingschartPrivate BaobabRingschartPrivate;
52
 
 
53
 
struct _BaobabRingschart
54
 
{
55
 
  BaobabChart parent;
56
 
  
57
 
  BaobabRingschartPrivate *priv;
58
 
};
59
 
 
60
 
struct _BaobabRingschartClass
61
 
{
62
 
  BaobabChartClass parent_class;
63
 
};
64
 
 
65
 
GType       baobab_ringschart_get_type                   (void) G_GNUC_CONST;
66
 
 
67
 
GtkWidget  *baobab_ringschart_new                        (void);
68
 
 
69
 
void        baobab_ringschart_set_subfoldertips_enabled  (BaobabRingschart *chart,
70
 
                                                          gboolean enabled);
71
 
 
72
 
G_END_DECLS
73
 
 
74
 
#endif