diff src/image.h @ 128:98e2632b5d3d

improved connected scroll and active image switching
author nadvornik
date Tue, 10 Jul 2007 21:25:51 +0000
parents 271afad04d07
children 89fc00ffbce2
line wrap: on
line diff
--- a/src/image.h	Fri Jun 29 15:16:46 2007 +0000
+++ b/src/image.h	Tue Jul 10 21:25:51 2007 +0000
@@ -25,6 +25,9 @@
 void image_set_button_func(ImageWindow *imd,
 	void (*func)(ImageWindow *, gint button, guint32 time, gdouble x, gdouble y, guint state, gpointer),
 	gpointer data);
+void image_set_drag_func(ImageWindow *imd,
+	void (*func)(ImageWindow *, gint button, guint32 time, gdouble x, gdouble y, guint state, gdouble dx, gdouble dy, gpointer),
+	gpointer data);
 void image_set_scroll_func(ImageWindow *imd,
 	void (*func)(ImageWindow *, GdkScrollDirection direction, guint32 time, gdouble x, gdouble y, guint state, gpointer),
         gpointer data);