Mercurial > pidgin.yaz
comparison pidgin/gtkcellrendererprogress.h @ 15374:5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 20 Jan 2007 02:32:10 +0000 |
parents | |
children | d75099d2567e |
comparison
equal
deleted
inserted
replaced
15373:f79e0f4df793 | 15374:5fe8042783c1 |
---|---|
1 /* gtkxcellrendererprogress.h | |
2 * Gaim is the legal property of its developers, whose names are too numerous | |
3 * to list here. Please refer to the COPYRIGHT file distributed with this | |
4 * source distribution. | |
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
19 * | |
20 */ | |
21 #ifndef _GAIM_GTKCELLRENDERERPROGRESS_H_ | |
22 #define _GAIM_GTKCELLRENDERERPROGRESS_H_ | |
23 | |
24 #include <gtk/gtkcellrenderer.h> | |
25 | |
26 #ifdef __cplusplus | |
27 extern "C" { | |
28 #endif /* __cplusplus */ | |
29 | |
30 | |
31 #define GAIM_TYPE_GTK_CELL_RENDERER_PROGRESS (gaim_gtk_cell_renderer_progress_get_type()) | |
32 #define GAIM_GTK_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GAIM_TYPE_GTK_CELL_RENDERER_PROGRESS, GaimGtkCellRendererProgress)) | |
33 #define GAIM_GTK_CELL_RENDERER_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAIM_TYPE_GTK_CELL_RENDERER_PROGRESS, GaimGtkCellRendererProgressClass)) | |
34 #define GAIM_IS_GTK_CELL_PROGRESS_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAIM_TYPE_GTK_CELL_RENDERER_PROGRESS)) | |
35 #define GAIM_IS_GTK_CELL_PROGRESS_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAIM_TYPE_GTK_CELL_RENDERER_PROGRESS)) | |
36 #define GAIM_GTK_CELL_RENDERER_PROGRESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GAIM_TYPE_GTK_CELL_RENDERER_PROGRESS, GaimGtkCellRendererProgressClass)) | |
37 | |
38 typedef struct _GaimGtkCellRendererProgress GaimGtkCellRendererProgress; | |
39 typedef struct _GaimGtkCellRendererProgressClass GaimGtkCellRendererProgressClass; | |
40 | |
41 struct _GaimGtkCellRendererProgress { | |
42 GtkCellRenderer parent; | |
43 | |
44 gdouble progress; | |
45 gchar *text; | |
46 gboolean text_set; | |
47 }; | |
48 | |
49 struct _GaimGtkCellRendererProgressClass { | |
50 GtkCellRendererClass parent_class; | |
51 }; | |
52 | |
53 GType gaim_gtk_cell_renderer_progress_get_type (void); | |
54 GtkCellRenderer *gaim_gtk_cell_renderer_progress_new (void); | |
55 | |
56 | |
57 #ifdef __cplusplus | |
58 } | |
59 #endif /* __cplusplus */ | |
60 | |
61 #endif /* _GAIM_GTKCELLRENDERERPROGRESS_H_ */ |