
2004-06-16 Michael Natterer <mitch@gimp.org> Started to fix bug #106920 in a more genreral way: * libgimpwidgets/Makefile.am * libgimpwidgets/gimpwidgetstypes.h * libgimpwidgets/gimpwidgetsmarshal.list * libgimpwidgets/gimpcontroller.[ch]: new abstract base class which provides an API for pluggable input controller modules (mouse wheel, usb/midi stuff etc.). * app/widgets/Makefile.am * app/widgets/widgets-types.h * app/widgets/gimpcontrollerwheel.[ch]: subclass of the above which maps wheel mouse scroll events to controller events. * app/widgets/gimpcontrollers.[ch]: manager for controllers. reads $(gimpdir)/controllerrc and keeps a mapping of controller events to GtkActions. * app/gui/gui.c: initialize and shut down the controller stuff. * app/display/gimpdisplayshell-callbacks.c (gimp_display_shell_canvas_tool_events): if a wheel controller exists, dispatch GdkEventScroll to it first and return if it was handled.
32 lines
1.3 KiB
Plaintext
32 lines
1.3 KiB
Plaintext
# see glib-genmarshal(1) for a detailed description of the file format,
|
|
# possible parameter types are:
|
|
# VOID indicates no return type, or no extra
|
|
# parameters. if VOID is used as the parameter
|
|
# list, no additional parameters may be present.
|
|
# BOOLEAN for boolean types (gboolean)
|
|
# CHAR for signed char types (gchar)
|
|
# UCHAR for unsigned char types (guchar)
|
|
# INT for signed integer types (gint)
|
|
# UINT for unsigned integer types (guint)
|
|
# LONG for signed long integer types (glong)
|
|
# ULONG for unsigned long integer types (gulong)
|
|
# ENUM for enumeration types (gint)
|
|
# FLAGS for flag enumeration types (guint)
|
|
# FLOAT for single-precision float types (gfloat)
|
|
# DOUBLE for double-precision float types (gdouble)
|
|
# STRING for string types (gchar*)
|
|
# BOXED for boxed (anonymous but reference counted) types (GBoxed*)
|
|
# POINTER for anonymous pointer types (gpointer)
|
|
# PARAM for GParamSpec or derived types (GParamSpec*)
|
|
# OBJECT for GObject or derived types (GObject*)
|
|
# NONE deprecated alias for VOID
|
|
# BOOL deprecated alias for BOOLEAN
|
|
|
|
VOID: INT
|
|
VOID: INT, INT
|
|
VOID: OBJECT
|
|
VOID: OBJECT, INT
|
|
VOID: POINTER, POINTER
|
|
|
|
BOOLEAN: POINTER
|