diff options
author | Vladimir Vukicevic <vladimir@src.gnome.org> | 2001-03-01 15:42:45 +0800 |
---|---|---|
committer | Vladimir Vukicevic <vladimir@src.gnome.org> | 2001-03-01 15:42:45 +0800 |
commit | 6b9b57a3f0742cbe39e2d28a4bff007c7c99d29b (patch) | |
tree | 6d28b8de2c309af29569b14703a0ad1a71a00a6e /widgets/table/e-cell-pixbuf.h | |
parent | 9f072e4e810fd297d5c0dc944227eefee8050b38 (diff) | |
download | gsoc2013-evolution-6b9b57a3f0742cbe39e2d28a4bff007c7c99d29b.tar gsoc2013-evolution-6b9b57a3f0742cbe39e2d28a4bff007c7c99d29b.tar.gz gsoc2013-evolution-6b9b57a3f0742cbe39e2d28a4bff007c7c99d29b.tar.bz2 gsoc2013-evolution-6b9b57a3f0742cbe39e2d28a4bff007c7c99d29b.tar.lz gsoc2013-evolution-6b9b57a3f0742cbe39e2d28a4bff007c7c99d29b.tar.xz gsoc2013-evolution-6b9b57a3f0742cbe39e2d28a4bff007c7c99d29b.tar.zst gsoc2013-evolution-6b9b57a3f0742cbe39e2d28a4bff007c7c99d29b.zip |
Added new ECellPixbuf -- takes a GdkPixbuf from the model and renders it
* e-cell-pixbuf.c, e-cell-pixbuf.h, Makefile.am,
Makefile.am, e-table-extras.c: Added new ECellPixbuf --
takes a GdkPixbuf from the model and renders it centered
in the table cell.
* gal/Makefile.am: added e-cell-pixbuf.lo
svn path=/trunk/; revision=8440
Diffstat (limited to 'widgets/table/e-cell-pixbuf.h')
-rw-r--r-- | widgets/table/e-cell-pixbuf.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/widgets/table/e-cell-pixbuf.h b/widgets/table/e-cell-pixbuf.h new file mode 100644 index 0000000000..b300f410ba --- /dev/null +++ b/widgets/table/e-cell-pixbuf.h @@ -0,0 +1,38 @@ +/* + * e-cell-pixbuf.h: An ECell that displays a GdkPixbuf + * + * Copyright (C) 2001 Ximian, Inc. + * + * Authors: Vladimir Vukicevic <vladimir@ximian.com> + * + */ + +#ifndef _E_CELL_PIXBUF_H_ +#define _E_CELL_PIXBUF_H_ + +#include <glib.h> + +#include <gal/e-table/e-table.h> + +#define E_CELL_PIXBUF_TYPE (e_cell_pixbuf_get_type ()) +#define E_CELL_PIXBUF(o) (GTK_CHECK_CAST ((o), E_CELL_PIXBUF_TYPE, ECellPixbuf)) +#define E_CELL_PIXBUF_CLASS(k) (GTK_CHECK_CAST_CLASS ((k), E_CELL_PIXBUF_TYPE, ECellPixbufClass)) +#define E_IS_CELL_PIXBUF(o) (GTK_CHECK_TYPE ((o), E_CELL_PIXBUF_TYPE)) +#define E_IS_CELL_PIXBUF_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_CELL_PIXBUF_TYPE)) + +typedef struct _ECellPixbuf ECellPixbuf; +typedef struct _ECellPixbufClass ECellPixbufClass; + +struct _ECellPixbuf { + ECell parent; +}; + +struct _ECellPixbufClass { + ECellClass parent_class; +}; + +GtkType e_cell_pixbuf_get_type (void); +ECell *e_cell_pixbuf_new (void); +void e_cell_pixbuf_construct (ECellPixbuf *ecp); + +#endif |