my first git commit
[gwget-havlin.git] / src / custom-cell-renderer-progressbar.h
blobe8198bf407c185303a9e15ffdb3f55ff6817d20b
1 /* cellrenderer.h
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>
26 G_BEGIN_DECLS
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;
35 enum
37 EPHY_PROGRESS_CELL_UNKNOWN = -1,
38 EPHY_PROGRESS_CELL_FAILED = -2
41 struct _EphyCellRendererProgress
43 GtkCellRenderer parent_instance;
45 /*< private >*/
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);
57 G_END_DECLS
59 #endif