gimp/app/tools
Michael Natterer 967d3e4ef1 Removed pointer grabbing from all tools:
2002-02-05  Michael Natterer  <mitch@gimp.org>

	Removed pointer grabbing from all tools:

	* app/tools/gimptool.[ch]: added "gboolean perfectmouse" which
	defaults to FALSE but can be set to TRUE in a tool's instance_init
	function.

	* app/display/gimpdisplayshell-callbacks.c: look at
	active_tool->perfectmouse and gimprc.perfectmouse and do the
	pointer grab/ungrab here. The pointer is now grabbed right before
	dispatching the button_press to the tool and ungrabbed after
	the tool's button_release has returned. It is also grabbed
	*always*, not only if tool->state got ACTIVE by button_press,
	which makes it all much simpler...

	* app/tools/gimpbezierselecttool.c
	* app/tools/gimpblendtool.c
	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpbycolorselecttool.c
	* app/tools/gimpclonetool.c
	* app/tools/gimpcolorpickertool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpfliptool.c
	* app/tools/gimpfreeselecttool.c
	* app/tools/gimpfuzzyselecttool.c
	* app/tools/gimpinktool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimpmagnifytool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimppainttool.c
	* app/tools/gimppathtool.c
	* app/tools/gimprectselecttool.c
	* app/tools/gimpselectiontool.c
	* app/tools/gimptexttool.c
	* app/tools/gimptransformtool.c: removed
	gdk_pointer_grab()/ungrab() calls all over the place. Also removed
	inclusion of "display/gimpdisplayshell.h" from most of them.
2002-02-05 11:35:03 +00:00
..
.cvsignore configure.in app/Makefile.am moved all tool sources to app/tools 2001-01-22 01:46:28 +00:00
Makefile.am Add a few [] to nested AC_CHECK_* invocations. Needed for autoconf 2.52, 2002-01-18 19:07:39 +00:00
airbrush_blob.c Makefile.am configure.in added stuff for the new library below. 2001-01-23 23:56:18 +00:00
airbrush_blob.h Update of the Xinput airbrush, fixed some bugs. It's a bit closer to a 1999-11-14 20:49:14 +00:00
gimpairbrushtool.c added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
gimpairbrushtool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpbezierselecttool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpbezierselecttool.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimpblendtool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpblendtool.h app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
gimpbrightnesscontrasttool.c app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c 2001-12-29 13:26:29 +00:00
gimpbrightnesscontrasttool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpbrushtool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpbrushtool.h added fields for both the tool's toggled and untoggled GdkCursorType, 2002-02-04 17:43:01 +00:00
gimpbucketfilltool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpbucketfilltool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpbycolorselecttool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpbycolorselecttool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpclonetool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpclonetool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpcolorbalancetool-transfer.c app/Makefile.am removed. 2001-06-26 12:09:43 +00:00
gimpcolorbalancetool-transfer.h app/Makefile.am removed. 2001-06-26 12:09:43 +00:00
gimpcolorbalancetool.c app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c 2001-12-29 13:26:29 +00:00
gimpcolorbalancetool.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimpcolorpickertool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpcolorpickertool.h app/core/Makefile.am new files. 2001-12-12 01:16:39 +00:00
gimpconvolvetool.c added fields for both the tool's toggled and untoggled GdkCursorType, 2002-02-04 17:43:01 +00:00
gimpconvolvetool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpcroptool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpcroptool.h app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
gimpcurvestool.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 14:54:27 +00:00
gimpcurvestool.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimpdodgeburntool.c added fields for both the tool's toggled and untoggled GdkCursorType, 2002-02-04 17:43:01 +00:00
gimpdodgeburntool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpdrawtool.c app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
gimpdrawtool.h app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
gimpeditselectiontool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpeditselectiontool.h build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpellipseselecttool.c added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
gimpellipseselecttool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimperasertool.c added fields for both the tool's toggled and untoggled GdkCursorType, 2002-02-04 17:43:01 +00:00
gimperasertool.h app/tools/gimperasertool.c app/tools/gimperasertool.h Removed the 2001-11-25 19:01:23 +00:00
gimpfliptool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpfliptool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpfreeselecttool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpfreeselecttool.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimpfuzzyselecttool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpfuzzyselecttool.h Convert ugly comments into named structure fields. Much cleaner and less 2001-12-02 14:59:30 +00:00
gimphistogramtool.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 14:54:27 +00:00
gimphistogramtool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimphuesaturationtool.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 14:54:27 +00:00
gimphuesaturationtool.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimpimagemaptool.c an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimpimagemaptool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpinktool-blob.c added app/display/ and app/plug-in/. Empty for now except for the types 2001-08-17 14:27:31 +00:00
gimpinktool-blob.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimpinktool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpinktool.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimpiscissorstool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpiscissorstool.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimplevelstool.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 14:54:27 +00:00
gimplevelstool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpmagnifytool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpmagnifytool.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimpmeasuretool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpmeasuretool.h app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
gimpmovetool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpmovetool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimppaintbrushtool.c added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
gimppaintbrushtool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimppaintoptions-gui.c app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c 2001-12-29 13:26:29 +00:00
gimppaintoptions-gui.h added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
gimppainttool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimppainttool.h added fields for both the tool's toggled and untoggled GdkCursorType, 2002-02-04 17:43:01 +00:00
gimppainttool_kernels.h Introduced GimpPaintTool and GimpDrawTool 2001-02-27 05:21:12 +00:00
gimppathtool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimppathtool.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimppenciltool.c added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
gimppenciltool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpperspectivetool.c added stock *items* (not only icons) for all tools so they can be used as 2001-11-22 14:28:39 +00:00
gimpperspectivetool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpposterizetool.c app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c 2001-12-29 13:26:29 +00:00
gimpposterizetool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimprectselecttool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimprectselecttool.h app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
gimpregionselecttool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpregionselecttool.h Convert ugly comments into named structure fields. Much cleaner and less 2001-12-02 14:59:30 +00:00
gimprotatetool.c app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c 2001-12-29 13:26:29 +00:00
gimprotatetool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpscaletool.c replaced the QMask radio buttons ba a single check button. Still needs 2001-11-29 16:44:51 +00:00
gimpscaletool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpselectionoptions.c app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c 2001-12-29 13:26:29 +00:00
gimpselectionoptions.h removed a useless g_return_if_fail(). 2001-11-23 16:25:01 +00:00
gimpselectiontool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpselectiontool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpsheartool.c added stock *items* (not only icons) for all tools so they can be used as 2001-11-22 14:28:39 +00:00
gimpsheartool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpsmudgetool.c added fields for both the tool's toggled and untoggled GdkCursorType, 2002-02-04 17:43:01 +00:00
gimpsmudgetool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpsourcetool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpsourcetool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimptexttool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimptexttool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpthresholdtool.c app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c 2001-12-29 13:26:29 +00:00
gimpthresholdtool.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimptool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimptool.h Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimptransformoptions.c use the passed Gimp pointer instead of using "the_gimp". 2001-12-03 17:59:48 +00:00
gimptransformoptions.h replaced the QMask radio buttons ba a single check button. Still needs 2001-11-29 16:44:51 +00:00
gimptransformtool.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimptransformtool.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
makefile.msc need to link with pangof2 2001-09-22 19:47:27 +00:00
paint_options.c app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c 2001-12-29 13:26:29 +00:00
paint_options.h added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
path_tool.c use gimp_display_shell_[install|remove]_override_cursor() to set the 2001-11-12 14:45:58 +00:00
path_tool.h use gimp_display_shell_[install|remove]_override_cursor() to set the 2001-11-12 14:45:58 +00:00
path_toolP.h Convert ugly comments into named structure fields. Much cleaner and less 2001-12-02 14:59:30 +00:00
selection_options.c app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c 2001-12-29 13:26:29 +00:00
selection_options.h removed a useless g_return_if_fail(). 2001-11-23 16:25:01 +00:00
tool_manager.c app/Makefile.am removed, chopped... 2001-12-07 17:39:51 +00:00
tool_manager.h added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
tool_options.c added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
tool_options.h added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
tools-types.h introduced new trigraph keyword /*< pdb-skip >*/ used to skip enums for 2001-12-09 00:15:46 +00:00
tools.c added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
tools.h app/Makefile.am removed. 2001-07-07 12:17:23 +00:00
transform_options.c use the passed Gimp pointer instead of using "the_gimp". 2001-12-03 17:59:48 +00:00
transform_options.h replaced the QMask radio buttons ba a single check button. Still needs 2001-11-29 16:44:51 +00:00
xinput_airbrush.c app/Makefile.am removed... 2001-12-01 00:14:14 +00:00
xinput_airbrush.h Okay I have committed the ugly airbrush now 1999-09-07 01:33:44 +00:00