9898
+ 鐃緒申 1 /* gtkxcellrendererprogress.h
8046
+ 鐃緒申 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.
3832
+ 鐃緒申 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 */
9713
+ 鐃緒申 21 #ifndef _GAIM_GTKCELLRENDERERPROGRESS_H_
+ 鐃緒申 22 #define _GAIM_GTKCELLRENDERERPROGRESS_H_
3832
+ 鐃緒申 23
+ 鐃緒申 24 #include <gtk/gtkcellrenderer.h>
+ 鐃緒申 25
+ 鐃緒申 26 #ifdef __cplusplus
+ 鐃緒申 27 extern "C" {
+ 鐃緒申 28 #endif /* __cplusplus */
+ 鐃緒申 29
+ 鐃緒申 30
9898
+ 鐃緒申 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))
3832
+ 鐃緒申 37
9898
+ 鐃緒申 38 typedef struct _GaimGtkCellRendererProgress GaimGtkCellRendererProgress;
+ 鐃緒申 39 typedef struct _GaimGtkCellRendererProgressClass GaimGtkCellRendererProgressClass;
3832
+ 鐃緒申 40
9898
+ 鐃緒申 41 struct _GaimGtkCellRendererProgress {
+ 鐃緒申 42 GtkCellRenderer parent;
3832
+ 鐃緒申 43
9898
+ 鐃緒申 44 gdouble progress;
+ 鐃緒申 45 gchar *text;
+ 鐃緒申 46 gboolean text_set;
+ 鐃緒申 47 };
3832
+ 鐃緒申 48
9898
+ 鐃緒申 49 struct _GaimGtkCellRendererProgressClass {
+ 鐃緒申 50 GtkCellRendererClass parent_class;
+ 鐃緒申 51 };
3832
+ 鐃緒申 52
9898
+ 鐃緒申 53 GType gaim_gtk_cell_renderer_progress_get_type (void);
+ 鐃緒申 54 GtkCellRenderer *gaim_gtk_cell_renderer_progress_new (void);
3832
+ 鐃緒申 55
+ 鐃緒申 56
+ 鐃緒申 57 #ifdef __cplusplus
+ 鐃緒申 58 }
+ 鐃緒申 59 #endif /* __cplusplus */
+ 鐃緒申 60
9713
+ 鐃緒申 61 #endif /* _GAIM_GTKCELLRENDERERPROGRESS_H_ */