Gimp/app/tools
Michael Natterer 2ccbf2a43d Fixed #34633 (wheel mouse zooming leaves straigth-line helpline on image)
2002-02-17  Michael Natterer  <mitch@gimp.org>

	Fixed #34633 (wheel mouse zooming leaves straigth-line helpline on
	image) and maybe some other stuff caused by the misbehaviour
	described below:

	* app/tools/tools-types.h
	* app/tools/tool_manager.c (tool_manager_control_active):

	Removed the "PAUSED" ToolState.

	The possible state transitions were INACTIVE <-> ACTIVE <-> PAUSED,
	where the ACTIVE <-> PAUSED transition was done only in the
	tool_manager, causing the tools's control() never to be called
	when the tool was INACTIVE.

	The GimpPaintTool however wants to draw on the display when it's
	INACTIVE, and of course wants to be suspended/resumed correctly
	while fiddling with display repainting/scaling/...

	The PAUSED state was also redundant information, since
	(tool->paused_count > 0) is the same information (only more
	correct and independent of tool activity).

	* app/display/gimpdisplayshell-scale.[ch]: suspend/resume the
	active tool around _all_ changes to the display's "scale" and
	"offset" fields.  Added new function
	gimp_display_shell_scale_by_values() which does that and is called
	from all places which need to change these values.

	* app/tools/gimpmagnifytool.c: changed accordingly.

	Unrelated stuff:

	* app/paint/gimpairbrush.c: added a #warning FIXME.

	* app/tools/gimpdrawtool.c: made a warning more verbose.

	* app/tools/gimppainttool.c: put one more drawable offset
	calculation in { .. }, will make a utility function out of it...
2002-02-17 11:46:39 +00:00
..
.cvsignore configure.in app/Makefile.am moved all tool sources to app/tools 2001-01-22 01:46:28 +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 Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
gimpairbrushtool.h Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
gimpbezierselecttool.c made the gimp_object_get_memsize() debugging output configurable by a 2002-02-07 11:33:01 +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/gui/file-new-dialog.c app/gui/resize-dialog.c 2002-02-07 11:50:16 +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 Fixed #34633 (wheel mouse zooming leaves straigth-line helpline on image) 2002-02-17 11:46:39 +00:00
gimpbrushtool.h added back the handler which invalidates the display_title on dirty/clean. 2002-02-15 17:44:05 +00:00
gimpbucketfilltool.c app/tools/gimpbucketfilltool.c added missing tooltips, enabled "reset" for 2002-02-11 16:22:26 +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 #if 0'ed old display update hackery. Don't flush the displays here 2002-02-10 15:18:08 +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 Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
gimpclonetool.h Core/UI separation for the paint tools: 2002-02-14 19:31:16 +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/gui/file-new-dialog.c app/gui/resize-dialog.c 2002-02-07 11:50:16 +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 Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
gimpconvolvetool.h Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
gimpcroptool.c app/gui/file-new-dialog.c app/gui/resize-dialog.c 2002-02-07 11:50:16 +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 Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
gimpdodgeburntool.h Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
gimpdrawtool.c Fixed #34633 (wheel mouse zooming leaves straigth-line helpline on image) 2002-02-17 11:46:39 +00:00
gimpdrawtool.h made the gimp_object_get_memsize() debugging output configurable by a 2002-02-07 11:33:01 +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 Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
gimperasertool.h Core/UI separation for the paint tools: 2002-02-14 19:31:16 +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 #if 0'ed old display update hackery. Don't flush the displays here 2002-02-10 15:18:08 +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 app/gui/file-new-dialog.c app/gui/resize-dialog.c 2002-02-07 11:50:16 +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 Fixed #34633 (wheel mouse zooming leaves straigth-line helpline on image) 2002-02-17 11:46:39 +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 renamed the image size utility functions from foo_size_bar() to 2002-02-07 17:37:34 +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 Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
gimppaintbrushtool.h Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
gimppaintoptions-gui.c removed #if 0'ed old display update hackery. Don't flush the displays here 2002-02-10 15:18:08 +00:00
gimppaintoptions-gui.h added GimpToolRegisterFunc, GimpToolRegisterCallback and 2001-11-20 23:00:47 +00:00
gimppainttool.c Fixed #34633 (wheel mouse zooming leaves straigth-line helpline on image) 2002-02-17 11:46:39 +00:00
gimppainttool.h added back the handler which invalidates the display_title on dirty/clean. 2002-02-15 17:44:05 +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 Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
gimppenciltool.h Core/UI separation for the paint tools: 2002-02-14 19:31:16 +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/gui/file-new-dialog.c app/gui/resize-dialog.c 2002-02-07 11:50:16 +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 #if 0'ed old display update hackery. Don't flush the displays here 2002-02-10 15:18:08 +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/tools/gimpbucketfilltool.c added missing tooltips, enabled "reset" for 2002-02-11 16:22:26 +00:00
gimpselectionoptions.h removed #if 0'ed old display update hackery. Don't flush the displays here 2002-02-10 15:18:08 +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 Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
gimpsmudgetool.h Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
gimpsourcetool.c Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
gimpsourcetool.h Core/UI separation for the paint tools: 2002-02-14 19:31:16 +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/gui/file-new-dialog.c app/gui/resize-dialog.c 2002-02-07 11:50:16 +00:00
gimpthresholdtool.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimptool.c made the gimp_object_get_memsize() debugging output configurable by a 2002-02-07 11:33:01 +00:00
gimptool.h Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimptoolmodule.c app/tools/gimptoolmodule.[ch] app/tools/tools-types.h code cleanup, no 2002-02-09 18:51:17 +00:00
gimptoolmodule.h app/tools/gimptoolmodule.[ch] app/tools/tools-types.h code cleanup, no 2002-02-09 18:51:17 +00:00
gimptransformoptions.c renamed GimpInterpolationType values to something sane and unexported it 2002-02-12 03:30:52 +00:00
gimptransformoptions.h Made the interpolation type configurable in the scale and transform 2002-02-12 02:31:45 +00:00
gimptransformtool.c Made the interpolation type configurable in the scale and transform 2002-02-12 02:31:45 +00:00
gimptransformtool.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
Makefile.am New class that uses GTypeModule to dynamically load tool plugins. Does not 2002-02-08 07:51:16 +00:00
makefile.msc need to link with pangof2 2001-09-22 19:47:27 +00:00
paint_options.c removed #if 0'ed old display update hackery. Don't flush the displays here 2002-02-10 15:18:08 +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/tools/gimpbucketfilltool.c added missing tooltips, enabled "reset" for 2002-02-11 16:22:26 +00:00
selection_options.h removed #if 0'ed old display update hackery. Don't flush the displays here 2002-02-10 15:18:08 +00:00
tool_manager.c Fixed #34633 (wheel mouse zooming leaves straigth-line helpline on image) 2002-02-17 11:46:39 +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 Fixed #34633 (wheel mouse zooming leaves straigth-line helpline on image) 2002-02-17 11:46:39 +00:00
tools.c app/tools/gimptoolmodule.[ch] app/tools/tools-types.h code cleanup, no 2002-02-09 18:51:17 +00:00
tools.h app/Makefile.am removed. 2001-07-07 12:17:23 +00:00
transform_options.c renamed GimpInterpolationType values to something sane and unexported it 2002-02-12 03:30:52 +00:00
transform_options.h Made the interpolation type configurable in the scale and transform 2002-02-12 02:31:45 +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