Gimp/app/tools
Michael Natterer d1ba870458 added a GimpContainer of tool options presets.
2003-09-29  Michael Natterer  <mitch@gimp.org>

	* app/core/gimptoolinfo.[ch]: added a GimpContainer of tool
	options presets.

	* app/core/gimptooloptions.[ch] (gimp_tool_options_set_property):
	silently accept setting the *same* tool_info again.

	(gimp_tool_options_build_filename): is public now.

	* app/tools/gimp-tools.c (gimp_tools_restore,save): load and save
	the presets container.

	* app/gui/tool-options-dialog.[ch]: removed.

	* app/gui/tool-options-commands.[ch]
	* app/gui/tool-options-menu.[ch]: new files implementing a menu
	for the new GimpToolOptionsEditor widget. Has submenus for saving,
	loading, and deleting tool options to/from the
	tool_info->options_presets container.

	* app/gui/Makefile.am
	* app/gui/dialogs-constructors.c
	* app/gui/menus.c: changed accordingly.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimptooloptionseditor.[ch]: the tool options dialog
	as proper widget. The "Load" and "Save" buttons still do the same
	stuff as before. Will make them use the new presets since making
	them do something useful was the reason for this whole change.

	* app/widgets/gimphelp-ids.h: added missing help IDs for the tool
	options dialog.
2003-09-29 20:26:09 +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 added a GimpContainer of tool options presets. 2003-09-29 20:26:09 +00:00
gimp-tools.h app/paint/Makefile.am removed... ...and added. 2003-09-18 13:51:10 +00:00
gimpairbrushtool.c made "tool-info" a G_PARAM_CONSTRUCT_ONLY property. 2003-08-30 16:41:35 +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
gimpblendoptions.c use GIMP_GRADIENT as prefix for the GimpGradientType enum. 2003-08-26 18:12:42 +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 app/display/gimpdisplayshell.c app/gui/brush-select.c 2003-08-22 01:42:57 +00:00
gimpblendtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpbrightnesscontrasttool.c app/display/gimpdisplayshell.c app/gui/brush-select.c 2003-08-22 01:42:57 +00:00
gimpbrightnesscontrasttool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpbrushtool.c app/paint/Makefile.am removed... ...and added. 2003-09-18 13:51:10 +00:00
gimpbrushtool.h made "tool-info" a G_PARAM_CONSTRUCT_ONLY property. 2003-08-30 16:41:35 +00:00
gimpbucketfilloptions.c added "gboolean allow_percent" to gimp_param_spec_unit() and to the 2003-07-17 15:22:21 +00:00
gimpbucketfilloptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpbucketfilltool.c removed the _clear() wrapper. 2003-09-03 14:22:38 +00:00
gimpbucketfilltool.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
gimpbycolorselecttool.c app/display/gimpdisplayshell.c app/gui/brush-select.c 2003-08-22 01:42:57 +00:00
gimpbycolorselecttool.h bumped version number to 1.3.9 2002-08-22 12:49:01 +00:00
gimpclonetool.c Ctrl only sets the clone source when Shift isn't pressed at the same time 2003-09-03 16:41:30 +00:00
gimpclonetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpcolorbalancetool.c app/display/gimpdisplayshell.c app/gui/brush-select.c 2003-08-22 01:42:57 +00:00
gimpcolorbalancetool.h More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
gimpcolorizetool.c app/display/gimpdisplayshell.c app/gui/brush-select.c 2003-08-22 01:42:57 +00:00
gimpcolorizetool.h fixed to work like gimp_hls_to_rgb_int() (does the right thing now for the 2003-05-19 14:21:03 +00:00
gimpcoloroptions.c Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpcoloroptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpcolorpickeroptions.c Cleaned up all places which pick colors to work consistently: the concept 2003-09-26 13:33:54 +00:00
gimpcolorpickeroptions.h Cleaned up all places which pick colors to work consistently: the concept 2003-09-26 13:33:54 +00:00
gimpcolorpickertool.c Cleaned up all places which pick colors to work consistently: the concept 2003-09-26 13:33:54 +00:00
gimpcolorpickertool.h app/tools/Makefile.am app/tools/gimpcoloroptions.[ch] new files that 2003-06-04 15:48:17 +00:00
gimpcolortool.c Cleaned up all places which pick colors to work consistently: the concept 2003-09-26 13:33:54 +00:00
gimpcolortool.h Cleaned up all places which pick colors to work consistently: the concept 2003-09-26 13:33:54 +00:00
gimpconvolvetool.c made "tool-info" a G_PARAM_CONSTRUCT_ONLY property. 2003-08-30 16:41:35 +00:00
gimpconvolvetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpcropoptions.c don't scan "app/tools/tools-enums.h" for PDB types since the PDB doesn't 2003-09-26 16:20:05 +00:00
gimpcropoptions.h don't scan "app/tools/tools-enums.h" for PDB types since the PDB doesn't 2003-09-26 16:20:05 +00:00
gimpcroptool.c minor cleanups. 2003-09-29 18:06:15 +00:00
gimpcroptool.h GimpViewableDialogs everywhere, cleanup: 2002-09-01 08:44:57 +00:00
gimpcurvestool.c changed GimpHelpFunc typedef: - renamed "const gchar *help_data" to "const 2003-08-23 19:35:05 +00:00
gimpcurvestool.h themes/Default/images/Makefile.am 2003-03-14 23:24:37 +00:00
gimpdodgeburntool.c made "tool-info" a G_PARAM_CONSTRUCT_ONLY property. 2003-08-30 16:41:35 +00:00
gimpdodgeburntool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpdrawtool.c Made these widgets show a preview of the vectors object. Does not work 2003-09-29 11:48:15 +00:00
gimpdrawtool.h app/vectors/gimpstroke.[ch] added the endpoint of the segment to the list 2003-09-18 13:20:40 +00:00
gimpeditselectiontool.c initialize undo_type to shut up the compiler. 2003-09-17 22:00:10 +00:00
gimpeditselectiontool.h changed "gboolean move_mask" to "GimpTransformType move_type" and added an 2003-09-16 16:23:38 +00:00
gimpellipseselecttool.c app/display/gimpdisplayshell.c app/gui/brush-select.c 2003-08-22 01:42:57 +00:00
gimpellipseselecttool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimperasertool.c made "tool-info" a G_PARAM_CONSTRUCT_ONLY property. 2003-08-30 16:41:35 +00:00
gimperasertool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpflipoptions.c Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpflipoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpfliptool.c removed the _value() and _is_empty() wrappers. 2003-09-03 15:13:19 +00:00
gimpfliptool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpfreeselecttool.c removed the _clear() wrapper. 2003-09-03 14:22:38 +00:00
gimpfreeselecttool.h app/tools/gimpfreeselecttool.[ch] added the possibility to <alt>+drag the 2003-05-27 11:52:03 +00:00
gimpfuzzyselecttool.c app/composite/gimp-composite-generic.c app/composite/gimp-composite-mmx.c 2003-09-16 13:12: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
gimphistogramtool.c changed GimpHelpFunc typedef: - renamed "const gchar *help_data" to "const 2003-08-23 19:35:05 +00:00
gimphistogramtool.h Histogram cleanup: 2002-09-07 17:27:32 +00:00
gimphuesaturationtool.c app/display/gimpdisplayshell.c app/gui/brush-select.c 2003-08-22 01:42:57 +00:00
gimphuesaturationtool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpimagemaptool.c changed GimpHelpFunc typedef: - renamed "const gchar *help_data" to "const 2003-08-23 19:35:05 +00:00
gimpimagemaptool.h use OPAQUE_OPACITY instead of 255. 2003-06-05 18:47:23 +00:00
gimpinkoptions-gui.c Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpinkoptions-gui.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpinkoptions.c Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpinkoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +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 Made GimpToolOptions a GimpContext subclass and objectified all tool 2003-02-05 14:39:40 +00:00
gimpinktool.c To optimize duplicate and/or wrong image updates away, introduced new 2003-09-06 20:06:53 +00:00
gimpinktool.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
gimpiscissorstool.c This still is very much in progress. I just want to commit this to avoid 2003-09-27 02:34:18 +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 changed GimpHelpFunc typedef: - renamed "const gchar *help_data" to "const 2003-08-23 19:35:05 +00:00
gimplevelstool.h added the API for level correction using black, gray and white point. 2002-10-15 13:36:28 +00:00
gimpmagnifyoptions.c added "gboolean allow_percent" to gimp_param_spec_unit() and to the 2003-07-17 15:22:21 +00:00
gimpmagnifyoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpmagnifytool.c app/display/gimpdisplayshell.c app/gui/brush-select.c 2003-08-22 01:42:57 +00:00
gimpmagnifytool.h new utility function which takes GimpZoomType and zooms "scalesrc" and 2003-05-05 14:48:15 +00:00
gimpmeasureoptions.c Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpmeasureoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpmeasuretool.c changed GimpHelpFunc typedef: - renamed "const gchar *help_data" to "const 2003-08-23 19:35:05 +00:00
gimpmeasuretool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpmoveoptions.c changed "gboolean move_mask" to "GimpTransformType move_type" and added an 2003-09-16 16:23:38 +00:00
gimpmoveoptions.h changed "gboolean move_mask" to "GimpTransformType move_type" and added an 2003-09-16 16:23:38 +00:00
gimpmovetool.c app/vectors/gimpstroke.[ch] added the endpoint of the segment to the list 2003-09-18 13:20:40 +00:00
gimpmovetool.h changed "gboolean move_mask" to "GimpTransformType move_type" and added an 2003-09-16 16:23:38 +00:00
gimppaintbrushtool.c made "tool-info" a G_PARAM_CONSTRUCT_ONLY property. 2003-08-30 16:41:35 +00:00
gimppaintbrushtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimppaintoptions-gui.c Argh, this should have gone with my last checkin... 2003-07-22 14:29:06 +00:00
gimppaintoptions-gui.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimppainttool.c app/paint/Makefile.am removed... ...and added. 2003-09-18 13:51:10 +00:00
gimppainttool.h made "tool-info" a G_PARAM_CONSTRUCT_ONLY property. 2003-08-30 16:41:35 +00:00
gimppenciltool.c made "tool-info" a G_PARAM_CONSTRUCT_ONLY property. 2003-08-30 16:41:35 +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 removed... 2003-09-15 17:41:18 +00:00
gimpperspectivetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpposterizetool.c app/display/gimpdisplayshell.c app/gui/brush-select.c 2003-08-22 01:42:57 +00:00
gimpposterizetool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimprectselecttool.c removed the _clear() wrapper. 2003-09-03 14:22:38 +00:00
gimprectselecttool.h app/tools/gimpfreeselecttool.[ch] added the possibility to <alt>+drag the 2003-05-27 11:52:03 +00:00
gimpregionselecttool.c app/composite/gimp-composite-generic.c app/composite/gimp-composite-mmx.c 2003-09-16 13:12: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 removed... 2003-09-15 17:41:18 +00:00
gimprotatetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpscaletool.c removed... 2003-09-15 17:41:18 +00:00
gimpscaletool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpselectionoptions.c added "gboolean allow_percent" to gimp_param_spec_unit() and to the 2003-07-17 15:22:21 +00:00
gimpselectionoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpselectiontool.c added "GimpVectorMode saved_mode" to the GimpVectorTool struct. 2003-09-17 11:16:55 +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 removed... 2003-09-15 17:41:18 +00:00
gimpsheartool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpsmudgetool.c made "tool-info" a G_PARAM_CONSTRUCT_ONLY property. 2003-08-30 16:41:35 +00:00
gimpsmudgetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpsourcetool.c Ctrl only sets the clone source when Shift isn't pressed at the same time 2003-09-03 16:41:30 +00:00
gimpsourcetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimptextoptions.c move the mnemonic from the old font selection widget to the new one. The 2003-08-29 11:19:45 +00:00
gimptextoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimptexttool.c app/display/gimpdisplayshell.c app/gui/brush-select.c 2003-08-22 01:42:57 +00:00
gimptexttool.h set the vectors offset from the text layer's offset. 2003-07-24 16:40:22 +00:00
gimpthresholdtool.c app/display/gimpdisplayshell.c app/gui/brush-select.c 2003-08-22 01:42:57 +00:00
gimpthresholdtool.h Histogram cleanup: 2002-09-07 17:27:32 +00:00
gimptool.c made "tool-info" a G_PARAM_CONSTRUCT_ONLY property. 2003-08-30 16:41:35 +00:00
gimptool.h check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimptoolcontrol.c removed GimpToolState (ACTIVE, INACTIVE). 2003-05-06 11:11:15 +00:00
gimptoolcontrol.h removed GimpToolState (ACTIVE, INACTIVE). 2003-05-06 11:11:15 +00:00
gimptooloptions-gui.c Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimptooloptions-gui.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimptransformoptions.c it's GIMP_INTERPOLATION_LINEAR, not just GIMP_LINEAR, argh. Fixes part 1 2003-08-26 17:33:25 +00:00
gimptransformoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimptransformtool-undo.c added "gint ref_count" to the TileManager struct. 2003-05-26 17:02:06 +00:00
gimptransformtool-undo.h app/tools/gimptransformtool.c removed old path undo stuff. 2003-05-18 10:44:09 +00:00
gimptransformtool.c app/core/gimpimage-mask-select.c (gimp_image_mask_select_vectors) 2003-09-12 10:04:37 +00:00
gimptransformtool.h made "tool-info" a G_PARAM_CONSTRUCT_ONLY property. 2003-08-30 16:41:35 +00:00
gimpvectoroptions.c Renamed the modes of the vector tools: - Design (creative stuff: placing 2003-09-18 14:54:54 +00:00
gimpvectoroptions.h Added enum for vector tool operation mode 2003-08-20 22:19:37 +00:00
gimpvectortool.c Made the preview respect the aspect ratio and resolutions of the image. 2003-09-29 16:35:30 +00:00
gimpvectortool.h Show a little help in the status bar. Maybe the functions I implemented to 2003-09-18 23:58:37 +00:00
Makefile.am app/paint/Makefile.am removed... ...and added. 2003-09-18 13:51:10 +00:00
makefile.msc renamed GimpOrientationType with Compat postfix to avoid name clashing 2003-07-26 17:37:32 +00:00
tool_manager.c app/paint/Makefile.am removed... ...and added. 2003-09-18 13:51:10 +00:00
tool_manager.h app/paint/Makefile.am removed... ...and added. 2003-09-18 13:51:10 +00:00
tools-enums.c don't scan "app/tools/tools-enums.h" for PDB types since the PDB doesn't 2003-09-26 16:20:05 +00:00
tools-enums.h don't scan "app/tools/tools-enums.h" for PDB types since the PDB doesn't 2003-09-26 16:20:05 +00:00
tools-types.h app/display/display-types.h app/tools/tools-types.h 2003-09-07 10:29:10 +00:00