eog/libeog/eog-canvas-pixbuf.h
Jens Finke 2cc77bd87b This is a fairly large patch, which makes fundamental changes. It is a
2004-05-25  Jens Finke  <jens@triq.net>

	This is a fairly large patch, which makes fundamental changes. It
	is a work in progress and is not fully functional yet again. Use
	the BEFORE_GTK_UI_MANAGER_SWITCH tag to checkout the latest
	working version.

	* libeog/Makefile.am: Moved eog-wrap-list.[ch],
	eog-canvas-pixbuf.[ch], eog-collection-item.[ch] here.

	* collection/Makefile.am: Removed above files from here. Killed
	eog-collection-marshal.list.

	* shell/Makefile.am: Link with jpegutils.

	* shell/eog-window.c: Made this a GtkWindow, using GtkUIManager
	and related stuff.

	* shell/gtk-shell-ui.xml: New file.
2004-05-25 05:55:24 +00:00

42 lines
1.4 KiB
C

/*
* EogCanvasPixbuf is a descendant of the system GnomeCanvasPixbuf
* class. It's only purpose is to ignore the possible alpha values of
* an pixbuf when determining if a point is in the item or not. Then
* we can react also if the user clicks on transparent parts of the
* image.
*/
#ifndef _EOG_CANVAS_PIXBUF_H_
#define _EOG_CANVAS_PIXBUF_H_
#include <glib-object.h>
#include <libgnomecanvas/gnome-canvas-pixbuf.h>
G_BEGIN_DECLS
#define EOG_TYPE_CANVAS_PIXBUF (eog_canvas_pixbuf_get_type ())
#define EOG_CANVAS_PIXBUF(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EOG_TYPE_CANVAS_PIXBUF, EogCanvasPixbuf))
#define EOG_CANVAS_PIXBUF_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EOG_TYPE_CANVAS_PIXBUF, EogCanvasPixbufClass))
#define EOG_IS_CANVAS_PIXBUF(o) G_TYPE_CHECK_INSTANCE_TYPE ((o), EOG_TYPE_CANVAS_PIXBUF))
#define EOG_IS_CANVAS_PIXBUF_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EOG_TYPE_CANVAS_PIXBUF))
#define EOG_CANVAS_PIXBUF_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EOG_TYPE_CANVAS_PIXBUF, EogCanvasPixbufClass))
typedef struct _EogCanvasPixbuf EogCanvasPixbuf;
typedef struct _EogCanvasPixbufClass EogCanvasPixbufClass;
struct _EogCanvasPixbuf {
GnomeCanvasPixbuf parent;
};
struct _EogCanvasPixbufClass {
GnomeCanvasPixbufClass parent_klass;
};
GType eog_canvas_pixbuf_get_type (void) G_GNUC_CONST;
G_END_DECLS
#endif /* _EOG_CANVAS_PIXBUF_H_ */