Gimp/app/tools
Michael Natterer ca2cbd3257 First version of per-tool paint options. No PDB interface yet. The tool
1999-04-22  Michael Natterer  <mitschel@cs.tu-berlin.de>

	First version of per-tool paint options. No PDB interface yet.
	The tool options dialog got rather big when in per-tool mode, so
	it will probably have to become a notebook.

	It's not yet 100% consistent. If switched off, everything should
	behave exactly like before.

	* app/Makefile.am
	* app/paint_options.h: new file

	* app/tool_options.c: PaintOptions gui. Maintain a list of all
	paint tools' ToolOptions to enable switching between global and
	per-tool paint options.

	* app/brush_select.[ch]: changed packing boxes, tables, ...
	The paint options in the brush selection can be hidden now.
	Moved create_paint_mode_menu() to paint_options.h and
	tool_options.c and renamed it to paint_mode_menu_new().

	* app/gimage_mask.c
	* app/gimpbrush.[ch]
	* app/gimpbrushlist.[ch]
	* app/paint_core.c: moved gimp_brush_[set|get]_spacing() from
	gimpbrushlist.[ch] to gimpbrush.[ch].
	Moved gimp_brush_[get|set]_[opacity|paint_mode]() to
	paint_options.h and tool_options.c and renamed them to
	paint_options_*_*().  They are "global paint options" now.

	* app/airbrush.c
	* app/blend.c
	* app/bucket_fill.c
	* app/clone.c
	* app/convolve.c
	* app/eraser.c
	* app/ink.c
	* app/paintbrush.c
	* app/pencil.c: all paint tools' options are derived from
	"PaintOptions" now. Opacity and paint mode are obtained through
	macros which take into account the current paint options mode.

	* app/buildmenu.h: #include <gtk/gtk.h>

	* app/color_picker.c
	* app/text_tool.c: changed spacings.

	* app/gimprc.[ch]: new gimprc option "global-paint-options"

	* app/preferences_dialog.c: Added a "Tool Options" page. Code
	cleanup. Some work on the convenience constructors test site.

	* app/tools.c: fixed "unused variable" warning.
1999-04-22 14:34:00 +00:00
..
airbrush.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
airbrush.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
bezier_select.c add the new args to gimp-paintbrush PDB calls. 1999-04-20 23:03:31 +00:00
bezier_select.h Changed:- 1999-04-13 21:50:28 +00:00
bezier_selectP.h Changed:- 1999-04-05 23:33:50 +00:00
blend.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
blend.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
blob.c First batch of changes to merge the Win32 version. This will be 1999-02-20 23:20:54 +00:00
blob.h Let the user choose between elliptical, square, and diamond shaped brushes 1999-02-03 04:29:08 +00:00
brightness_contrast.c app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
brightness_contrast.h build color_cmds, lut_funcs, and pixel_processor feedback in the splash 1999-04-09 06:00:11 +00:00
bucket_fill.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
bucket_fill.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
by_color_select.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
by_color_select.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
clone.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
clone.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
color_balance.c moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
color_balance.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
color_picker.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
color_picker.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
convolve.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
convolve.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
crop.c The autocrop algorithm is about 4 times faster now. 1999-04-20 23:23:40 +00:00
crop.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
curves.c moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
curves.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
edit_selection.c small fix 1999-03-21 16:58:44 +00:00
edit_selection.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
ellipse_select.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
ellipse_select.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
eraser.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
eraser.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
flip_tool.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
flip_tool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
free_select.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
free_select.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
fuzzy_select.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
fuzzy_select.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpairbrushtool.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
gimpairbrushtool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpblendtool.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
gimpblendtool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpbrightnesscontrasttool.c app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
gimpbrightnesscontrasttool.h build color_cmds, lut_funcs, and pixel_processor feedback in the splash 1999-04-09 06:00:11 +00:00
gimpbucketfilltool.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
gimpbucketfilltool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpbycolorselecttool.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpbycolorselecttool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpclonetool.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
gimpclonetool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpcolorbalancetool.c moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimpcolorbalancetool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimpconvolvetool.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
gimpconvolvetool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpcroptool.c The autocrop algorithm is about 4 times faster now. 1999-04-20 23:23:40 +00:00
gimpcroptool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpcurvestool.c moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimpcurvestool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimpeditselectiontool.c small fix 1999-03-21 16:58:44 +00:00
gimpeditselectiontool.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
gimpellipseselecttool.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpellipseselecttool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimperasertool.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
gimperasertool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpfliptool.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpfliptool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpfreeselecttool.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpfreeselecttool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpfuzzyselecttool.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpfuzzyselecttool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimphistogramtool.c moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimphistogramtool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimphuesaturationtool.c moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimphuesaturationtool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimpinktool-blob.c First batch of changes to merge the Win32 version. This will be 1999-02-20 23:20:54 +00:00
gimpinktool-blob.h Let the user choose between elliptical, square, and diamond shaped brushes 1999-02-03 04:29:08 +00:00
gimpinktool.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
gimpinktool.h Added new files for handling scan-converted convex polygons. (From gsumi) 1998-06-14 22:42:36 +00:00
gimpiscissorstool.c app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
gimpiscissorstool.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
gimplevelstool.c code cleanup 1999-04-13 04:59:07 +00:00
gimplevelstool.h build color_cmds, lut_funcs, and pixel_processor feedback in the splash 1999-04-09 06:00:11 +00:00
gimpmagnifytool.c app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
gimpmagnifytool.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
gimpmovetool.c app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
gimpmovetool.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
gimppaintoptions-gui.h First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
gimppenciltool.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
gimppenciltool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpperspectivetool.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpperspectivetool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpposterizetool.c app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
gimpposterizetool.h build color_cmds, lut_funcs, and pixel_processor feedback in the splash 1999-04-09 06:00:11 +00:00
gimprectselecttool.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimprectselecttool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpregionselecttool.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpregionselecttool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimprotatetool.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimprotatetool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpscaletool.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpscaletool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpselectionoptions.h app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
gimpsheartool.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpsheartool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpsourcetool.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
gimpsourcetool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimptexttool.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
gimptexttool.h new file (from pdbgen) 1999-04-10 04:54:34 +00:00
gimpthresholdtool.c moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimpthresholdtool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
histogram_tool.c moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
histogram_tool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
hue_saturation.c moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
hue_saturation.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
ink.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
ink.h Added new files for handling scan-converted convex polygons. (From gsumi) 1998-06-14 22:42:36 +00:00
iscissors.c app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
iscissors.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
levels.c code cleanup 1999-04-13 04:59:07 +00:00
levels.h build color_cmds, lut_funcs, and pixel_processor feedback in the splash 1999-04-09 06:00:11 +00:00
magnify.c app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
magnify.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
move.c app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
move.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
paint_core.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
paint_core.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
paint_options.h First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
paintbrush.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
paintbrush.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
pencil.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
pencil.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
perspective_tool.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
perspective_tool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
posterize.c app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
posterize.h build color_cmds, lut_funcs, and pixel_processor feedback in the splash 1999-04-09 06:00:11 +00:00
rect_select.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
rect_select.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
rect_selectP.h The new "Fixed Size" option now works with 1998-07-20 18:19:20 +00:00
rotate_tool.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
rotate_tool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
scale_tool.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
scale_tool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
selection_options.h app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
shear_tool.c new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
shear_tool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
text_tool.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
text_tool.h new file (from pdbgen) 1999-04-10 04:54:34 +00:00
threshold.c moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
threshold.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
tool_options.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
tool_options.h app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
tools.c First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
tools.h app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
transform_core.c Changed:- 1999-04-13 21:50:28 +00:00
transform_core.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
transform_tool.c More cosmetic stuff. Getting used to the new tool_options ... ;-) 1999-04-20 19:23:38 +00:00
transform_tool.h A few fixes to the new transform tool UI. 1998-08-14 14:46:24 +00:00