1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /* e-cell-renderer-color.h
4 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of version 2 of the GNU Lesser General Public
8 * License as published by the Free Software Foundation.
10 * This program 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 * General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
21 #if !defined (__LIBEDATASERVERUI_H_INSIDE__) && !defined (LIBEDATASERVERUI_COMPILATION)
22 #error "Only <libedataserverui/libedataserverui.h> should be included directly."
25 #ifndef _E_CELL_RENDERER_COLOR_H_
26 #define _E_CELL_RENDERER_COLOR_H_
30 /* Standard GObject macros */
31 #define E_TYPE_CELL_RENDERER_COLOR \
32 (e_cell_renderer_color_get_type ())
33 #define E_CELL_RENDERER_COLOR(obj) \
34 (G_TYPE_CHECK_INSTANCE_CAST \
35 ((obj), E_TYPE_CELL_RENDERER_COLOR, ECellRendererColor))
36 #define E_CELL_RENDERER_COLOR_CLASS(cls) \
37 (G_TYPE_CHECK_CLASS_CAST \
38 ((cls), E_TYPE_CELL_RENDERER_COLOR, ECellRendererColorClass))
39 #define E_IS_CELL_RENDERER_COLOR(obj) \
40 (G_TYPE_CHECK_INSTANCE_TYPE \
41 ((obj), E_TYPE_CELL_RENDERER_COLOR))
42 #define E_IS_CELL_RENDERER_COLOR_CLASS(cls) \
43 (G_TYPE_CHECK_CLASS_TYPE ((cls), E_TYPE_CELL_RENDERER_COLOR))
44 #define E_CELL_RENDERER_COLOR_GET_CLASS(obj) \
45 (G_TYPE_INSTANCE_GET_CLASS \
46 ((obj), E_TYPE_CELL_RENDERER_COLOR, ECellRendererColorClass))
50 typedef struct _ECellRendererColor ECellRendererColor;
51 typedef struct _ECellRendererColorClass ECellRendererColorClass;
52 typedef struct _ECellRendererColorPrivate ECellRendererColorPrivate;
59 struct _ECellRendererColor {
60 GtkCellRenderer parent;
61 ECellRendererColorPrivate *priv;
64 struct _ECellRendererColorClass {
65 GtkCellRendererClass parent_class;
67 /* Padding for future expansion */
68 void (*_gtk_reserved1) (void);
69 void (*_gtk_reserved2) (void);
70 void (*_gtk_reserved3) (void);
71 void (*_gtk_reserved4) (void);
74 GType e_cell_renderer_color_get_type (void);
75 GtkCellRenderer *e_cell_renderer_color_new (void);
79 #endif /* _E_CELL_RENDERER_COLOR_H_ */