Gimp/app/tools
Michael Natterer 02fde14c95 build display/ before tools/.
2001-11-08  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am: build display/ before tools/.

	* app/devices.c: devices_check_change(): added all events
	which have a GdkDevice pointer.

	* app/gimpprogress.c: include "display-types.h" instead of
	"core-types.h".

	* app/core/Makefile.am
	* app/core/gimpdrawable-bucket-fill.[ch]: new files: the bucket_fill
	stuff taken from tools/gimpbucketfilltool.[ch].

	* app/core/core-types.h: added "BucketFillMode".

	* app/core/gimpimage-mask-select.[ch]: cleanup.

	* app/core/gimpmarshal.list: added more marshallers for GimpTool's
	new signal signatures.

	* app/core/gimpmarshal.[ch]: regenerated.

	* app/display/Makefile.am
	* app/display/gimpdisplayshell-dnd.[ch]
	* app/display/gimpdisplayshell-layer-select.[ch]: new files: the
	canvas drop callbacks from gimpdisplayshell-callbacks.[ch] and
	the stuff formerly knows as gui/layer-select.[ch].

	* app/display/gimpdisplay.h: don't include "gui/gui-types.h".

	* app/display/gximage.c: include "display-types.h".

	* app/display/gimpdisplay-foreach.c
	* app/display/gimpdisplayshell.[ch]: call gdsplay_delete(), don't
	destroy the shell widget.

	* app/gui/Makefile.am
	* app/gui/layer-select.[ch]: removed.

	* app/gui/gradients-commands.c: fixed "Save as POV" fprintf()s.

	* app/gui/preferences-dialog.c: removed the layer_select stuff
	because it is useless with the new preview system.

	* app/gui/tool-options-dialog.c: send the correct data to the
	close_callback.

	* app/gui/tools-commands.c: changed to follow the new
	gimp_tool_initialize() semantics (see below).

	Tool & canvas event handling chainsawing:

	* app/tools/tools-types.h: new struct GimpCoords which contains
	x, y, pressure, tilt etc.

	* app/display/gimpdisplayshell-callbacks.[ch]: added utility
	functions which transparently retreive the current event's
	GimpCoords or take it from the device directly if the event has
	none. Pass GimpCoords _in_image_coordinates_ to all tool
	functions.

	Most important: don't pass GdkEvents and display coordinates to
	tools any more.

	* app/tools/gimptool.[ch]: changed virtual functions to take
	GimpCoords, time and state separately instead of GdkEvents.

	* app/tools/gimpbezierselecttool.c
	* app/tools/gimpblendtool.c
	* app/tools/gimpbucketfilltool.[ch]
	* app/tools/gimpbycolorselecttool.c
	* app/tools/gimpclonetool.c
	* app/tools/gimpcolorpickertool.c
	* app/tools/gimpconvolvetool.c
	* app/tools/gimpcroptool.[ch]
	* app/tools/gimpcurvestool.c
	* app/tools/gimpdodgeburntool.c
	* app/tools/gimpdrawtool.c
	* app/tools/gimpeditselectiontool.[ch]
	* app/tools/gimperasertool.c
	* app/tools/gimpfliptool.c
	* app/tools/gimpfreeselecttool.[ch]
	* 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.[ch]
	* app/tools/gimprectselecttool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpselectiontool.[ch]
	* app/tools/gimpsmudgetool.c
	* app/tools/gimptexttool.c
	* app/tools/gimptransformtool.[ch]
	* app/tools/path_tool.[ch]
	* app/tools/selection_options.c: tons and tons of changes:

	- changed to use the new virtual function parameters.
	- removed zillions of gdisplay_untransform_coords().
	- get the active drawable's offsets manually in many cases.
	  (questionable, but IMHO ok because it's obvious and not simply a
	  "TRUE" passed to some function)
	- reordered some functions to be consistent across tools.
	- some tools had to be changed to work on image coords, not
	  display ones (esp. crop).
	- fixed strange rotate tool behaviour which should be backported
	  to stable.
	- some stuff i came across.
	- indentation and other paranoia.
	- rounding of coordinated may be broken in some tools.
	- new bugs guaranteed.

	* app/tools/tool_manager.[ch]: new semantic of
	tool_manager_initialize_active() (looked at the places where it
	was used from and put common code together). Should be a bit
	better now :)

	* app/tools/gimpblendtool.c
	* app/tools/transform_options.c: use the new GTK+ feature that a
	widget (toggle button) can be a frame's title for this tools' tool
	options.

	* app/widgets/widgets-types.h: stuff.

	* themes/Default/gtkrc: s/GtkDialog/GimpDialog/.

	* tools/pdbgen/Makefile.am: don't scan tools/gimpbucketfilltool.h
	any more.

	* tools/pdbgen/enums.pl: regenerated.

	* tools/pdbgen/pdb/tools.pdb: changed bucket_fill wrapper.

	* app/pdb/tools_cmds.c: regenerated.
2001-11-08 19:14:51 +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 gdk_pixbuf_new_from_stream -> _from_inline 2001-10-13 12:52:30 +00:00
gimpairbrushtool.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimpbezierselecttool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpbezierselecttool.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpblendtool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpblendtool.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimpbrightnesscontrasttool.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpbrightnesscontrasttool.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpbrushtool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpbrushtool.h General cleanup of the selection tools and their PDB wrappers: 2001-10-22 12:13:44 +00:00
gimpbucketfilltool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpbucketfilltool.h build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpbycolorselecttool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpbycolorselecttool.h General cleanup of the selection tools and their PDB wrappers: 2001-10-22 12:13:44 +00:00
gimpclonetool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpclonetool.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +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 Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpcolorbalancetool.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpcolorpickertool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpcolorpickertool.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimpconvolvetool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpconvolvetool.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimpcroptool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpcroptool.h build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpcurvestool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpcurvestool.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpdodgeburntool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpdodgeburntool.h defined GimpTransferMode enum. 2001-08-01 02:01:49 +00:00
gimpdrawtool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpdrawtool.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimpeditselectiontool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpeditselectiontool.h build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpellipseselecttool.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpellipseselecttool.h General cleanup of the selection tools and their PDB wrappers: 2001-10-22 12:13:44 +00:00
gimperasertool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimperasertool.h app/pdb/tools_cmds.c app/tools/gimperasertool.c app/tools/gimperasertool.h 2001-10-30 22:59:06 +00:00
gimpfliptool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpfliptool.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimpfreeselecttool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpfreeselecttool.h build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpfuzzyselecttool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpfuzzyselecttool.h General cleanup of the selection tools and their PDB wrappers: 2001-10-22 12:13:44 +00:00
gimphistogramtool.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimphistogramtool.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimphuesaturationtool.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimphuesaturationtool.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +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 an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +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 app/tools/Makefile.am lots of files renamed to gimp*tool.[ch] 2001-03-08 01:07:03 +00:00
gimpinktool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpinktool.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimpiscissorstool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpiscissorstool.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimplevelstool.c rewrote so gcc-3.0 doesn't complain. 2001-10-29 12:51:21 +00:00
gimplevelstool.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpmagnifytool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpmagnifytool.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimpmeasuretool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpmeasuretool.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimpmovetool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpmovetool.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimppaintbrushtool.c General cleanup of the selection tools and their PDB wrappers: 2001-10-22 12:13:44 +00:00
gimppaintbrushtool.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimppaintoptions-gui.c app/interface.c app/gui/about-dialog.c app/gui/brush-editor.c 2001-08-14 16:33:28 +00:00
gimppaintoptions-gui.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimppainttool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimppainttool.h General cleanup of the selection tools and their PDB wrappers: 2001-10-22 12:13:44 +00:00
gimppainttool_kernels.h Introduced GimpPaintTool and GimpDrawTool 2001-02-27 05:21:12 +00:00
gimppathtool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimppathtool.h build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimppenciltool.c app/Makefile.am app/disp_callbacks.[ch] app/gdisplay.[ch] 2001-09-25 23:23:09 +00:00
gimppenciltool.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimpperspectivetool.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpperspectivetool.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpposterizetool.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpposterizetool.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimprectselecttool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimprectselecttool.h General cleanup of the selection tools and their PDB wrappers: 2001-10-22 12:13:44 +00:00
gimpregionselecttool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpregionselecttool.h General cleanup of the selection tools and their PDB wrappers: 2001-10-22 12:13:44 +00:00
gimprotatetool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimprotatetool.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpscaletool.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpscaletool.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpselectionoptions.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpselectionoptions.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimpselectiontool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpselectiontool.h build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpsheartool.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpsheartool.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpsmudgetool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpsmudgetool.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimpsourcetool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimpsourcetool.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimptexttool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimptexttool.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimpthresholdtool.c Cleanup weekend... 2001-10-29 11:47:11 +00:00
gimpthresholdtool.h app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ 2001-10-17 11:33:43 +00:00
gimptool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimptool.h build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimptransformoptions.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimptransformoptions.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
gimptransformtool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
gimptransformtool.h build display/ before tools/. 2001-11-08 19:14:51 +00:00
Makefile.am added dependency on PangoFT2 (Pango compiled with FreeType2 support). 2001-08-11 15:35:16 +00:00
makefile.msc need to link with pangof2 2001-09-22 19:47:27 +00:00
paint_options.c app/interface.c app/gui/about-dialog.c app/gui/brush-editor.c 2001-08-14 16:33:28 +00:00
paint_options.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
path_tool.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
path_tool.h build display/ before tools/. 2001-11-08 19:14:51 +00:00
path_toolP.h app/path_curves.[ch] app/tools/gimpdrawtool.c app/tools/gimppathtool.[ch] 2001-04-11 13:28:53 +00:00
selection_options.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
selection_options.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
tool_manager.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
tool_manager.h build display/ before tools/. 2001-11-08 19:14:51 +00:00
tool_options.c removed path_to_beziersel() so this file can be safely included from 2001-07-17 20:50:01 +00:00
tool_options.h removed path_to_beziersel() so this file can be safely included from 2001-07-17 20:50:01 +00:00
tools-types.h build display/ before tools/. 2001-11-08 19:14:51 +00:00
tools.c an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
tools.h app/Makefile.am removed. 2001-07-07 12:17:23 +00:00
transform_options.c build display/ before tools/. 2001-11-08 19:14:51 +00:00
transform_options.h an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
xinput_airbrush.c fscking broken pipe... 2001-10-31 21:20:09 +00:00
xinput_airbrush.h