2 * Copyright (C) 2002 Naba Kumar <kh_naba@users.sourceforge.net>
3 * modified by Jörgen Scheibengruber <mfcn@gmx.de>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
21 #ifndef CUSTOM_CELL_RENDERER_PROGRESS_H
22 #define CUSTOM_CELL_RENDERER_PROGRESS_H
24 #include <gtk/gtkcellrenderer.h>
28 #define EPHY_TYPE_CELL_RENDERER_PROGRESS (ephy_cell_renderer_progress_get_type ())
29 #define EPHY_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EPHY_TYPE_CELL_RENDERER_PROGRESS, EphyCellRendererProgress))
31 typedef struct _EphyCellRendererProgress EphyCellRendererProgress
;
32 typedef struct _EphyCellRendererProgressClass EphyCellRendererProgressClass
;
33 typedef struct _EphyCellRendererProgressPrivate EphyCellRendererProgressPrivate
;
37 EPHY_PROGRESS_CELL_UNKNOWN
= -1,
38 EPHY_PROGRESS_CELL_FAILED
= -2
41 struct _EphyCellRendererProgress
43 GtkCellRenderer parent_instance
;
46 EphyCellRendererProgressPrivate
*priv
;
49 struct _EphyCellRendererProgressClass
51 GtkCellRendererClass parent_class
;
54 GtkType
ephy_cell_renderer_progress_get_type (void);
55 GtkCellRenderer
* ephy_cell_renderer_progress_new (void);