diff src/typedefs.h @ 128:98e2632b5d3d

improved connected scroll and active image switching
author nadvornik
date Tue, 10 Jul 2007 21:25:51 +0000
parents 271afad04d07
children 661cd91e5a7e
line wrap: on
line diff
--- a/src/typedefs.h	Fri Jun 29 15:16:46 2007 +0000
+++ b/src/typedefs.h	Tue Jul 10 21:25:51 2007 +0000
@@ -279,10 +279,13 @@
 	/* button, scroll functions */
 	void (*func_button)(ImageWindow *, gint button,
 			    guint32 time, gdouble x, gdouble y, guint state, gpointer);
+	void (*func_drag)(ImageWindow *, gint button,
+			    guint32 time, gdouble x, gdouble y, guint state, gdouble dx, gdouble dy,gpointer);
 	void (*func_scroll)(ImageWindow *, GdkScrollDirection direction,
 			    guint32 time, gdouble x, gdouble y, guint state, gpointer);
 
 	gpointer data_button;
+	gpointer data_drag;
 	gpointer data_scroll;
 
 	/* scroll notification (for scroll bar implementation) */