Tue, 18 Nov 2003 23:24:05 +0000
[gaim-migrate @ 8175]
Move conversation placement from a core pref to a UI pref.
| 3832 | 1 | /* gtkcellrendererprogress.h |
| 2 | * Copyright (C) 2002, Sean Egan <bj91704@binghamton.edu> | |
| 3 | * | |
| 4 | * This program is free software; you can redistribute it and/or modify | |
| 5 | * it under the terms of the GNU General Public License as published by | |
| 6 | * the Free Software Foundation; either version 2 of the License, or | |
| 7 | * (at your option) any later version. | |
| 8 | * | |
| 9 | * This program is distributed in the hope that it will be useful, | |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | * GNU General Public License for more details. | |
| 13 | * | |
| 14 | * You should have received a copy of the GNU General Public License | |
| 15 | * along with this program; if not, write to the Free Software | |
| 16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 17 | * | |
| 18 | */ | |
| 19 | ||
| 20 | #ifndef __GTK_CELL_RENDERER_PROGRESS_H__ | |
| 21 | #define __GTK_CELL_RENDERER_PROGRESS_H__ | |
| 22 | ||
| 23 | #include <gtk/gtkcellrenderer.h> | |
| 24 | ||
| 25 | #ifdef __cplusplus | |
| 26 | extern "C" { | |
| 27 | #endif /* __cplusplus */ | |
| 28 | ||
| 29 | ||
| 30 | #define GTK_TYPE_CELL_RENDERER_PROGRESS (gtk_cell_renderer_progress_get_type()) | |
| 31 | #define GTK_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgress)) | |
| 32 | #define GTK_CELL_RENDERER_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgressClass)) | |
| 33 | #define GTK_IS_CELL_PROGRESS_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS)) | |
| 34 | #define GTK_IS_CELL_PROGRESS_PROGRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_PROGRESS)) | |
| 35 | #define GTK_CELL_RENDERER_PROGRESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgressClass)) | |
| 36 | ||
| 37 | typedef struct _GtkCellRendererProgress GtkCellRendererProgress; | |
| 38 | typedef struct _GtkCellRendererProgressClass GtkCellRendererProgressClass; | |
| 39 | ||
| 40 | struct _GtkCellRendererProgress { | |
| 41 | GtkCellRenderer parent; | |
| 42 | ||
| 43 | gdouble progress; | |
| 44 | gchar *text; | |
| 45 | gboolean text_set; | |
| 46 | }; | |
| 47 | ||
| 48 | struct _GtkCellRendererProgressClass { | |
| 49 | GtkCellRendererClass parent_class; | |
| 50 | }; | |
| 51 | ||
| 52 | GType gtk_cell_renderer_progress_get_type (void); | |
| 53 | GtkCellRenderer *gtk_cell_renderer_progress_new (void); | |
| 54 | ||
| 55 | ||
| 56 | #ifdef __cplusplus | |
| 57 | } | |
| 58 | #endif /* __cplusplus */ | |
| 59 | ||
| 60 | #endif /* __GTK_CELL_RENDERER_PROGRESS_H__ */ |