gimp/app/tools
Michael Natterer ef9b04c535 Fixed incomplete core/ui separation of paint tools and paint methods:
2005-12-27  Michael Natterer  <mitch@gimp.org>

	Fixed incomplete core/ui separation of paint tools and paint
	methods:

	* app/core/core-enums.h
	* app/core/gimpcontext.[ch]: added a "paint-info" property and API
	so the current paint method can be selected without the need for
	an active tool.

	(gimp_context_real_set_tool): set the paint-info to
	tool_info->paint_info so the paint method follows the active tool
	just as the active image follows the active display.

	* app/core/gimp.h (struct Gimp)
	* app/core/gimppaintinfo.[ch]: added "standard_paint_info" API
	and stuff to be consistent with other context object properties.

	* app/paint/gimp-paint.c: set the paintbrush as
	standard_paint_info.

	* app/core/gimpstrokedesc.c (gimp_stroke_desc_new): removed the
	hack of falling back to the paintbrush when there is no active
	tool and use the active paint method instead. Fall back to the
	standard paint method if there is no active one.
	(nothing in the core uses the active tool any more now).

	* app/widgets/gimpdeviceinfo.h: add the paint info to the
	properties which are saved in devicerc.

	Added identifiers (names) and stock-ids to GimpPaintInfo:

	* app/core/gimppaintinfo.[ch] (gimp_paint_info_new): added
	identifier and stock-id parameters.

	* app/core/gimptoolinfo.c (gimp_tool_info_new): removed the hack
	of setting the paint-info stock-id from the tool-info stock-id.

	* app/paint/paint-types.h
	* app/paint/gimp-paint.c: changed GimpPaintRegisterCallback
	accordingly.

	* app/tools/gimp-tools.c (gimp_tools_register): changed paint
	info names accordingly.

	* app/paint/*.c (gimp_*_register): pass identifier and stock-id
	accordingly.
2005-12-27 18:57:01 +00:00
..
.cvsignore configure.in app/Makefile.am moved all tool sources to app/tools 2001-01-22 01:46:28 +00:00
gimp-tools.c Fixed incomplete core/ui separation of paint tools and paint methods: 2005-12-27 18:57:01 +00:00
gimp-tools.h Let the user decide whether tool options are persistant or not as 2005-04-11 21:17:59 +00:00
gimpairbrushtool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpairbrushtool.h took the fade options out of GimpGradientOptions and added them to the new 2003-07-15 15:38:24 +00:00
gimpalignoptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpalignoptions.h Bill Skaggs <weskaggs@primate.ucdavis.edu> 2005-06-03 17:05:01 +00:00
gimpaligntool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpaligntool.h Bill Skaggs <weskaggs@primate.ucdavis.edu> 2005-10-18 17:17:28 +00:00
gimpblendoptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpblendoptions.h added "gboolean reverse" to gimp_gradient_get_color_at() so all gradients 2003-07-22 14:24:11 +00:00
gimpblendtool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpblendtool.h app/tools/Makefile.am added gimp_tool_motion_constrain(), 2004-08-22 21:48:50 +00:00
gimpbrightnesscontrasttool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpbrightnesscontrasttool.h Bill Skaggs <weskaggs@primate.ucdavis.edu> 2005-05-31 19:33:14 +00:00
gimpbrushtool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpbrushtool.h app/tools/gimppainttool.[ch] unified tool and paint-tool statusbar APIs. 2005-05-07 13:24:47 +00:00
gimpbucketfilloptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpbucketfilloptions.h Re-enabled filling the whole selection using the bucket fill tool. Fixes 2004-01-27 15:26:11 +00:00
gimpbucketfilltool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpbucketfilltool.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
gimpbycolorselecttool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpbycolorselecttool.h bumped version number to 1.3.9 2002-08-22 12:49:01 +00:00
gimpclonetool.c changed description of GIMP_CLONE_ALIGN_NO enum value. 2005-12-16 14:44:25 +00:00
gimpclonetool.h Bill Skaggs <weskaggs@primate.ucdavis.edu> 2005-02-16 19:12:08 +00:00
gimpcolorbalancetool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpcolorbalancetool.h More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
gimpcolorizetool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpcolorizetool.h changed the range of the "lightness" parameter to [-100..+100], where -100 2003-11-18 16:06:47 +00:00
gimpcoloroptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpcoloroptions.h Let all GimpImageMap tools remember the state of the preview toggle (bug 2004-02-22 14:28:53 +00:00
gimpcolorpickeroptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpcolorpickeroptions.h Allow to disable the color picker info dialog. Fixes bug #315011: 2005-09-26 16:01:13 +00:00
gimpcolorpickertool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpcolorpickertool.h new enum GimpColorFrameMode. 2003-10-15 15:16:50 +00:00
gimpcolortool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpcolortool.h More sample point stuff. Addresses bug #137776. 2005-03-09 00:23:19 +00:00
gimpconvolvetool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpconvolvetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpcropoptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpcropoptions.h app/tools/gimprectangletool.[ch] code cleanup, replace virtualization 2005-09-03 19:48:22 +00:00
gimpcroptool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpcroptool.h app/tools/gimprectangletool.[ch] code cleanup, replace virtualization 2005-09-03 19:48:22 +00:00
gimpcurvestool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpcurvestool.h added keyboard control to the Curves tool as suggested in bug #154809. 2005-10-19 15:42:29 +00:00
gimpdodgeburntool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpdodgeburntool.h app/actions/qmask-actions.c prepared qmask_actions_update() and the qmask 2004-04-21 10:55:45 +00:00
gimpdrawtool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpdrawtool.h added some const qualifiers. 2005-07-31 16:05:06 +00:00
gimpeditselectiontool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpeditselectiontool.h added new parameter "gboolean propagate_release" to 2004-10-06 21:04:13 +00:00
gimpellipseselecttool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpellipseselecttool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimperasertool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimperasertool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpflipoptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpflipoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpfliptool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpfliptool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpforegroundselectoptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpforegroundselectoptions.h app/tools/gimpforegroundselectoptions.[ch] renamed "discontiguous" to 2005-11-21 16:35:53 +00:00
gimpforegroundselecttool-undo.c added GIMP_UNDO_FOREGROUND_SELECT. 2005-08-03 01:54:27 +00:00
gimpforegroundselecttool-undo.h added GIMP_UNDO_FOREGROUND_SELECT. 2005-08-03 01:54:27 +00:00
gimpforegroundselecttool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpforegroundselecttool.h app/base/base-enums.h app/base/siox.[ch] 2005-10-17 18:23:31 +00:00
gimpfreeselecttool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpfreeselecttool.h reordered parameters to match the order of parameters in 2005-08-06 20:01:22 +00:00
gimpfuzzyselecttool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpfuzzyselecttool.h removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
gimphistogramoptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimphistogramoptions.h call gimp_image_colormap_changed() after installing the colormap. 2004-02-12 14:09:35 +00:00
gimphuesaturationtool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimphuesaturationtool.h app/base/hue-saturation.[ch] applied a patch from Joao S. O. Bueno 2005-03-12 12:25:57 +00:00
gimpimagemapoptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpimagemapoptions.h app/tools/gimpcurvestool.[ch] app/tools/gimpimagemapoptions.[ch] 2004-02-25 10:23:43 +00:00
gimpimagemaptool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpimagemaptool.h app/tools/gimpimagemaptool.[ch] app/tools/gimpcurvestool.c allow to 2004-10-22 19:44:03 +00:00
gimpinkoptions-gui.c themes/Default/images/Makefile.am 2005-07-29 18:04:59 +00:00
gimpinkoptions-gui.h app/paint/Makefile.am app/paint/gimpink-blob.[ch] app/paint/gimpink.[ch] 2004-05-26 15:34:45 +00:00
gimpinktool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpinktool.h app/paint/Makefile.am app/paint/gimpink-blob.[ch] app/paint/gimpink.[ch] 2004-05-26 15:34:45 +00:00
gimpiscissorstool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpiscissorstool.h app/gui/edit-commands.c added "Fill with Pattern" menu entry as suggested 2003-07-02 18:01:19 +00:00
gimplevelstool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimplevelstool.h app/tools/gimpcurvestool.[ch] removed obsoleted variables. 2004-02-25 12:31:18 +00:00
gimpmagnifyoptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpmagnifyoptions.h app/tools/gimpmagnifyoptions.[ch] applied a patch from William Skaggs that 2004-05-10 17:02:20 +00:00
gimpmagnifytool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpmagnifytool.h new utility function which takes GimpZoomType and zooms "scalesrc" and 2003-05-05 14:48:15 +00:00
gimpmeasureoptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpmeasureoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpmeasuretool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpmeasuretool.h added width and height to the info displayed in the statusbar and the info 2005-03-21 10:27:36 +00:00
gimpmoveoptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpmoveoptions.h app/config/gimpguiconfig.[ch] app/config/gimprc-blurbs.h 2004-10-30 15:02:39 +00:00
gimpmovetool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpmovetool.h app/config/gimpguiconfig.[ch] app/config/gimprc-blurbs.h 2004-10-30 15:02:39 +00:00
gimpnewrectselectoptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpnewrectselectoptions.h app/tools/gimprectangletool.[ch] code cleanup, replace virtualization 2005-09-03 19:48:22 +00:00
gimpnewrectselecttool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpnewrectselecttool.h app/tools/gimprectangletool.[ch] code cleanup, replace virtualization 2005-09-03 19:48:22 +00:00
gimppaintbrushtool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimppaintbrushtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimppaintoptions-gui.c app/tools/gimppaintoptions-gui.c code cleanup. 2005-11-19 22:19:14 +00:00
gimppaintoptions-gui.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimppainttool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimppainttool.h app/tools/gimppainttool.[ch] unified tool and paint-tool statusbar APIs. 2005-05-07 13:24:47 +00:00
gimppenciltool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimppenciltool.h took the fade options out of GimpGradientOptions and added them to the new 2003-07-15 15:38:24 +00:00
gimpperspectivetool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpperspectivetool.h Transform tool cleanup: 2004-08-06 16:27:13 +00:00
gimpposterizetool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpposterizetool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimprectangleoptions.c Bill Skaggs <weskaggs@primate.ucdavis.edu> 2005-10-20 16:53:54 +00:00
gimprectangleoptions.h app/tools/gimprectangletool.[ch] code cleanup, replace virtualization 2005-09-03 19:48:22 +00:00
gimprectangleselectoptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimprectangleselectoptions.h app/tools/gimprectangletool.[ch] code cleanup, replace virtualization 2005-09-03 19:48:22 +00:00
gimprectangleselecttool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimprectangleselecttool.h app/tools/gimprectangletool.[ch] code cleanup, replace virtualization 2005-09-03 19:48:22 +00:00
gimprectangletool.c Bill Skaggs <weskaggs@primate.ucdavis.edu> 2005-11-29 23:32:55 +00:00
gimprectangletool.h Bill Skaggs <weskaggs@primate.ucdavis.edu> 2005-10-19 21:13:25 +00:00
gimprectselecttool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimprectselecttool.h app/tools/gimpellipseselecttool.c applied a patch by Nils Bjorklund that 2005-03-07 21:31:22 +00:00
gimpregionselecttool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpregionselecttool.h removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
gimprotatetool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimprotatetool.h Transform tool cleanup: 2004-08-06 16:27:13 +00:00
gimpscaletool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpscaletool.h removed the recently added "gdouble aspect_ratio"... 2004-08-06 16:39:11 +00:00
gimpselectionoptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpselectionoptions.h Bill Skaggs <weskaggs@primate.ucdavis.edu> 2005-03-02 18:18:19 +00:00
gimpselectiontool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpselectiontool.h renamed init_edit_selection() to gimp_edit_selection_tool_start(). Removed 2004-07-26 14:50:51 +00:00
gimpsheartool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpsheartool.h Transform tool cleanup: 2004-08-06 16:27:13 +00:00
gimpsmudgetool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpsmudgetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpsourcetool.c changed description of GIMP_CLONE_ALIGN_NO enum value. 2005-12-16 14:44:25 +00:00
gimpsourcetool.h Bill Skaggs <weskaggs@primate.ucdavis.edu> 2005-02-16 19:12:08 +00:00
gimptextoptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimptextoptions.h app/text/gimptextlayout.[ch] allow to adjust letter-spacing. 2005-03-02 12:54:54 +00:00
gimptexttool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimptexttool.h preserve the text tool on image changes. Instead connect to the text 2004-03-22 14:32:47 +00:00
gimpthresholdtool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpthresholdtool.h Histogram cleanup: 2002-09-07 17:27:32 +00:00
gimptool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimptool.h app/tools/gimppainttool.[ch] unified tool and paint-tool statusbar APIs. 2005-05-07 13:24:47 +00:00
gimptoolcontrol.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimptoolcontrol.h cleaned up and reordered instance struct and functions. Renamed functions 2005-11-23 19:14:05 +00:00
gimptooloptions-gui.c removed the recently added utility functions again. 2004-10-12 12:06:50 +00:00
gimptooloptions-gui.h removed the recently added utility functions again. 2004-10-12 12:06:50 +00:00
gimptransformoptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimptransformoptions.h oops, I didn't meant to commit that yet 2005-05-07 09:38:29 +00:00
gimptransformtool-undo.c app/core/gimpundo.[ch] app/core/gimpitemundo.[ch] removed all _new() 2004-07-12 16:59:36 +00:00
gimptransformtool-undo.h app/tools/gimptransformtool.c removed old path undo stuff. 2003-05-18 10:44:09 +00:00
gimptransformtool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimptransformtool.h applied patch from Sven Neumann which removes code that prevents layers 2004-12-06 14:37:00 +00:00
gimpvectoroptions.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpvectoroptions.h Since GimpVectorTool is no GimpSelectionTool, it does not make sense to 2003-11-14 23:10:24 +00:00
gimpvectortool.c port to G_DEFINE_TYPE() and friends. Some related cleanup. 2005-12-13 09:13:50 +00:00
gimpvectortool.h Applied Patch by Sven Neumann to use the new statusbar functionality. 2005-04-08 13:43:10 +00:00
Makefile.am app/tools/gimprectangletool.[ch] transform into an interface. 2005-08-15 14:23:28 +00:00
makefile.msc updated 2005-09-25 19:30:55 +00:00
tool_manager.c cleaned up and reordered instance struct and functions. Renamed functions 2005-11-23 19:14:05 +00:00
tool_manager.h app/tools/gimptool.[ch] added boolean return value to 2004-06-24 10:16:08 +00:00
tools-enums.c Allow to disable the color picker info dialog. Fixes bug #315011: 2005-09-26 16:01:13 +00:00
tools-enums.h Allow to disable the color picker info dialog. Fixes bug #315011: 2005-09-26 16:01:13 +00:00
tools-types.h Let all GimpImageMap tools remember the state of the preview toggle (bug 2004-02-22 14:28:53 +00:00
tools-utils.c broken pipe on previous commit, finishing 2005-01-22 00:43:31 +00:00
tools-utils.h app/tools/Makefile.am added gimp_tool_motion_constrain(), 2004-08-22 21:48:50 +00:00