gimp/app/display
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 app/display/Makefile.am new file with GimpCursorMode enum. 2001-12-18 17:45:29 +00:00
Makefile.am app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
display-enums.h app/display/Makefile.am new file with GimpCursorMode enum. 2001-12-18 17:45:29 +00:00
display-types.h app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
gimpdisplay-area.c Wishlist item #57669: 2001-11-16 15:08:59 +00:00
gimpdisplay-area.h Wishlist item #57669: 2001-11-16 15:08:59 +00:00
gimpdisplay-foreach.c forgot to commit last time. 2001-11-19 18:23:43 +00:00
gimpdisplay-foreach.h added "update_guide" signal. 2001-11-14 15:40:30 +00:00
gimpdisplay-handlers.c added GIMP_IMAGE_TYPE_IS_[RGB|GRAY|INDEXED]() and 2001-12-14 15:30:31 +00:00
gimpdisplay-handlers.h fscking broken pipe... 2001-10-31 21:20:09 +00:00
gimpdisplay.c Convert ugly comments into named structure fields. Much cleaner and less 2001-12-02 14:59:30 +00:00
gimpdisplay.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimpdisplayshell-callbacks.c Removed pointer grabbing from all tools: 2002-02-05 11:35:03 +00:00
gimpdisplayshell-callbacks.h app/Makefile.am removed. 2001-11-30 16:39:40 +00:00
gimpdisplayshell-dnd.c made gimp->global_buffer a GimpBuffer, not TileManager. 2001-12-12 23:48:18 +00:00
gimpdisplayshell-dnd.h build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpdisplayshell-draw.c app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
gimpdisplayshell-draw.h app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
gimpdisplayshell-filter-dialog.c don't draw resize_grip in status bar (patch from Guillermo S. Romero). 2001-11-23 23:04:49 +00:00
gimpdisplayshell-filter-dialog.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpdisplayshell-filter.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpdisplayshell-filter.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpdisplayshell-handlers.c app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
gimpdisplayshell-handlers.h app/Makefile.am removed. 2001-11-10 19:10:28 +00:00
gimpdisplayshell-layer-select.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpdisplayshell-layer-select.h build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpdisplayshell-marching-ants.h app/display/gimpdisplay-marching-ants.h removed... 2001-11-10 23:03:22 +00:00
gimpdisplayshell-render.c added GIMP_IMAGE_TYPE_IS_[RGB|GRAY|INDEXED]() and 2001-12-14 15:30:31 +00:00
gimpdisplayshell-render.h app/display/Makefile.am removed. It was a wrapper around nothing since we 2001-11-30 18:23:49 +00:00
gimpdisplayshell-scale.c app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
gimpdisplayshell-scale.h app/display/Makefile.am app/display/gimpdisplay-callbacks.[ch] 2001-11-02 09:31:21 +00:00
gimpdisplayshell-scroll.c app/display/Makefile.am removed. It was a wrapper around nothing since we 2001-11-30 18:23:49 +00:00
gimpdisplayshell-scroll.h fscking broken pipe... 2001-10-31 21:20:09 +00:00
gimpdisplayshell-selection.c use g_tree_foreach() instead of deprecated g_tree_traverse(). 2001-12-02 15:43:00 +00:00
gimpdisplayshell-selection.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimpdisplayshell.c app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
gimpdisplayshell.h app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
gimpnavigationeditor.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 14:54:27 +00:00
gimpnavigationview.c derive from GtkDrawingArea instead of deprecated GtkPreview. 2002-01-30 14:54:27 +00:00
gimpprogress.c app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
gimpprogress.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpstatusbar.c app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
gimpstatusbar.h app/display/Makefile.am app/display/display-types.h new widget derived 2002-02-03 12:10:23 +00:00
makefile.msc define HAVE_DIRENT_H, it's from build/win32/dirent 2001-10-28 18:45:45 +00:00