comparison 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
comparison
equal deleted inserted replaced
127:271afad04d07 128:98e2632b5d3d
277 gpointer data_tile; 277 gpointer data_tile;
278 278
279 /* button, scroll functions */ 279 /* button, scroll functions */
280 void (*func_button)(ImageWindow *, gint button, 280 void (*func_button)(ImageWindow *, gint button,
281 guint32 time, gdouble x, gdouble y, guint state, gpointer); 281 guint32 time, gdouble x, gdouble y, guint state, gpointer);
282 void (*func_drag)(ImageWindow *, gint button,
283 guint32 time, gdouble x, gdouble y, guint state, gdouble dx, gdouble dy,gpointer);
282 void (*func_scroll)(ImageWindow *, GdkScrollDirection direction, 284 void (*func_scroll)(ImageWindow *, GdkScrollDirection direction,
283 guint32 time, gdouble x, gdouble y, guint state, gpointer); 285 guint32 time, gdouble x, gdouble y, guint state, gpointer);
284 286
285 gpointer data_button; 287 gpointer data_button;
288 gpointer data_drag;
286 gpointer data_scroll; 289 gpointer data_scroll;
287 290
288 /* scroll notification (for scroll bar implementation) */ 291 /* scroll notification (for scroll bar implementation) */
289 void (*func_scroll_notify)(ImageWindow *, gint x, gint y, gint width, gint height, gpointer); 292 void (*func_scroll_notify)(ImageWindow *, gint x, gint y, gint width, gint height, gpointer);
290 293