Gimp/app/tools
Michael Natterer b74d256981 changed the "parent context" implementation:
1999-10-19  Michael Natterer  <mitch@gimp.org>

	* gimpcontext.[ch]: changed the "parent context" implementation:

	- Automatically connect/disconnect the "*_changed" signals when
	  changing the parent and when setting the "defined" flag of the
	  attributes.
	- Store the former *_defined booleans in a single guint32.
	- Added generic functions to set the "defined" flags of the
	  attributes and to copy attributes between contexts.

	The contexts now correctly handle disappearing images and
	displays, so we don't have to explicitly reset them any more.

	* context_manager.[ch]: adopted to the changed context
	implementation, connect to the user context's "tool_changed"
	signal to switch the per-tool contexts, don't connect to the
	"removed" signal of the image context.

	* brush_select.c
	* tool_options.c: use LayerModeEffects instead of int when calling
	gimp_context_set_paint_mode().

	* gdisplay.c: no need to reset the active display when deleting it
	because the context connects to the "destroy" signal of the shell
	now.

	* menus.c: a shortcut for the navigation window. Moved
	<Image>/Image/Colors/Desaturate before the separator.

	* tools.c: tools_select(): set the active tool of the user context
	instead of calling a special context manager function.
1999-10-19 15:52:32 +00:00
..
airbrush.c Correct scaling of brush pipes and pixmap brushes. 1999-09-09 19:11:38 +00:00
airbrush.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
airbrush_blob.c app/airbrush_blob.c * app/xinput_airbrush.c A bit better airbrush. It is 1999-10-03 21:21:01 +00:00
airbrush_blob.h Okay I have committed the ugly airbrush now 1999-09-07 01:33:44 +00:00
bezier_select.c app/bezier_select.c app/edit_selection.c app/flip_tool.c app/gimage_mask.c 1999-10-18 20:55:25 +00:00
bezier_select.h Changed:- 1999-04-13 21:50:28 +00:00
bezier_selectP.h app/bezier_select.c app/bezier_selectP.h app/paths_dialog.c 1999-05-26 20:36:33 +00:00
blend.c fun with gradient_length and fade_out 1999-09-25 19:49:58 +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 Fixed a cut&paste error it the radius check code 1999-09-06 01:15:44 +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/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +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 free the brush dialog before freeing the brushes. 1999-09-02 09:20:48 +00:00
bucket_fill.h export bucket_fill_region(). 1999-08-23 14:19:26 +00:00
by_color_select.c dnd improvements 1999-10-09 20:33:53 +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 Sorry for breaking the freeze, but I had these almost ready for weeks now... 1999-09-09 01:47:54 +00:00
clone.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
color_balance.c app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +00:00
color_balance.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
color_picker.c API PATCH #2 or so 1999-10-17 00:07:55 +00:00
color_picker.h set the "preserve" flag to FALSE. This way the tool doesn't have to detect 1999-07-24 15:37:03 +00:00
convolve.c Sorry for breaking the freeze, but I had these almost ready for weeks now... 1999-09-09 01:47:54 +00:00
convolve.h add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
crop.c app/crop.c app/sca_convert.c 1999-10-13 20:53:30 +00:00
crop.h Toggable tools! 1999-04-27 02:09:03 +00:00
curves.c API PATCH #2 or so 1999-10-17 00:07:55 +00:00
curves.h app/curves.c app/curves.h 1999-09-03 21:58:41 +00:00
dodgeburn.c Sorry for breaking the freeze, but I had these almost ready for weeks now... 1999-09-09 01:47:54 +00:00
dodgeburn.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
edit_selection.c app/bezier_select.c app/edit_selection.c app/flip_tool.c app/gimage_mask.c 1999-10-18 20:55:25 +00:00
edit_selection.h namespace cleanups. 1999-06-21 22:12:07 +00:00
ellipse_select.c the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +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 reenabled the line preview for the eraser tool 1999-09-24 23:23:23 +00:00
eraser.h app/airbrush.c app/paintbrush.c app/pencil.c app/pixmapbrush.c 1999-08-13 20:50:30 +00:00
flip_tool.c app/bezier_select.c app/edit_selection.c app/flip_tool.c app/gimage_mask.c 1999-10-18 20:55:25 +00:00
flip_tool.h add pixmaps/dropper.xpm to EXTRA_DIST 1999-08-13 22:33:49 +00:00
free_select.c NEW FILES: app/scan_convert.c common code from free_select.c and 1999-10-04 05:51:40 +00:00
free_select.h NEW FILES: app/scan_convert.c common code from free_select.c and 1999-10-04 05:51:40 +00:00
fuzzy_select.c app/actionarea.c app/dodgeburn.c app/fuzzy_select.c app/gimpparasite.c 1999-07-27 00:14:14 +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 Correct scaling of brush pipes and pixmap brushes. 1999-09-09 19:11:38 +00:00
gimpairbrushtool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimpblendtool.c fun with gradient_length and fade_out 1999-09-25 19:49:58 +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/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +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 free the brush dialog before freeing the brushes. 1999-09-02 09:20:48 +00:00
gimpbucketfilltool.h export bucket_fill_region(). 1999-08-23 14:19:26 +00:00
gimpbycolorselecttool.c dnd improvements 1999-10-09 20:33:53 +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 Sorry for breaking the freeze, but I had these almost ready for weeks now... 1999-09-09 01:47:54 +00:00
gimpclonetool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimpcolorbalancetool.c app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +00:00
gimpcolorbalancetool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimpconvolvetool.c Sorry for breaking the freeze, but I had these almost ready for weeks now... 1999-09-09 01:47:54 +00:00
gimpconvolvetool.h add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
gimpcroptool.c app/crop.c app/sca_convert.c 1999-10-13 20:53:30 +00:00
gimpcroptool.h Toggable tools! 1999-04-27 02:09:03 +00:00
gimpcurvestool.c API PATCH #2 or so 1999-10-17 00:07:55 +00:00
gimpcurvestool.h app/curves.c app/curves.h 1999-09-03 21:58:41 +00:00
gimpdodgeburntool.c Sorry for breaking the freeze, but I had these almost ready for weeks now... 1999-09-09 01:47:54 +00:00
gimpdodgeburntool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimpeditselectiontool.c app/bezier_select.c app/edit_selection.c app/flip_tool.c app/gimage_mask.c 1999-10-18 20:55:25 +00:00
gimpeditselectiontool.h namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpellipseselecttool.c the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +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 reenabled the line preview for the eraser tool 1999-09-24 23:23:23 +00:00
gimperasertool.h app/airbrush.c app/paintbrush.c app/pencil.c app/pixmapbrush.c 1999-08-13 20:50:30 +00:00
gimpfliptool.c app/bezier_select.c app/edit_selection.c app/flip_tool.c app/gimage_mask.c 1999-10-18 20:55:25 +00:00
gimpfliptool.h add pixmaps/dropper.xpm to EXTRA_DIST 1999-08-13 22:33:49 +00:00
gimpfreeselecttool.c NEW FILES: app/scan_convert.c common code from free_select.c and 1999-10-04 05:51:40 +00:00
gimpfreeselecttool.h NEW FILES: app/scan_convert.c common code from free_select.c and 1999-10-04 05:51:40 +00:00
gimpfuzzyselecttool.c app/actionarea.c app/dodgeburn.c app/fuzzy_select.c app/gimpparasite.c 1999-07-27 00:14:14 +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 app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +00:00
gimphistogramtool.h new ui for the "Layer Offset" dialog. 1999-07-22 16:21:10 +00:00
gimphuesaturationtool.c app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +00:00
gimphuesaturationtool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimpinktool-blob.c Fixed a cut&paste error it the radius check code 1999-09-06 01:15:44 +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 app/appenv.h New file. Includes <math.h>. Move G_PI, RINT(), ROUND() etc 1999-09-01 20:30:56 +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 long overdue fix for problem with overrunning buffers in a couple of 1999-10-17 20:28:56 +00:00
gimpiscissorstool.h added a G_PI_2 1999-08-16 03:43:48 +00:00
gimplevelstool.c app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +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 the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
gimpmagnifytool.h
gimpmeasuretool.c app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +00:00
gimpmeasuretool.h Added new measure tool. 1999-08-15 15:59:06 +00:00
gimpmovetool.c a whole lotta guide fixes 1999-10-13 23:07:45 +00:00
gimpmovetool.h
gimppaintoptions-gui.h Sorry for breaking the freeze, but I had these almost ready for weeks now... 1999-09-09 01:47:54 +00:00
gimppenciltool.c Correct scaling of brush pipes and pixmap brushes. 1999-09-09 19:11:38 +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 app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +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/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +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 the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
gimprectselecttool.h namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpregionselecttool.c app/actionarea.c app/dodgeburn.c app/fuzzy_select.c app/gimpparasite.c 1999-07-27 00:14:14 +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 app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +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 app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +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 bug-fixing.... 1999-09-25 21:45:26 +00:00
gimpsheartool.c app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +00:00
gimpsheartool.h add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
gimpsmudgetool.c applied patches 1999-09-26 04:53:59 +00:00
gimpsmudgetool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimpsourcetool.c Sorry for breaking the freeze, but I had these almost ready for weeks now... 1999-09-09 01:47:54 +00:00
gimpsourcetool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimptexttool.c Change the GDK_WINDOWING_* stuff to be buildable with current CVS gtk+ 1999-10-03 00:43:05 +00:00
gimptexttool.h new file (from pdbgen) 1999-04-10 04:54:34 +00:00
gimpthresholdtool.c app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +00:00
gimpthresholdtool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
histogram_tool.c app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +00:00
histogram_tool.h new ui for the "Layer Offset" dialog. 1999-07-22 16:21:10 +00:00
hue_saturation.c app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +00:00
hue_saturation.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
ink.c app/appenv.h New file. Includes <math.h>. Move G_PI, RINT(), ROUND() etc 1999-09-01 20:30:56 +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 long overdue fix for problem with overrunning buffers in a couple of 1999-10-17 20:28:56 +00:00
iscissors.h added a G_PI_2 1999-08-16 03:43:48 +00:00
levels.c app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +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 the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
magnify.h
measure.c app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +00:00
measure.h Added new measure tool. 1999-08-15 15:59:06 +00:00
move.c a whole lotta guide fixes 1999-10-13 23:07:45 +00:00
move.h
paint_core.c fun with gradient_length and fade_out 1999-09-25 19:49:58 +00:00
paint_core.h fun with gradient_length and fade_out 1999-09-25 19:49:58 +00:00
paint_options.h Sorry for breaking the freeze, but I had these almost ready for weeks now... 1999-09-09 01:47:54 +00:00
paintbrush.c app/paintbrush.c 1999-09-30 22:12:58 +00:00
paintbrush.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
path_tool.c a patch to the path tool from Simon Budig 1999-10-08 10:22:39 +00:00
path_tool.h app/path_tool.h app/path_tool.c app/path_toolP.h app/path_curves.h 1999-10-06 23:24:22 +00:00
path_toolP.h a patch to the path tool from Simon Budig 1999-10-08 10:22:39 +00:00
pencil.c Correct scaling of brush pipes and pixmap brushes. 1999-09-09 19:11:38 +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 app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +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/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +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 the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
rect_select.h namespace cleanups. 1999-06-21 22:12:07 +00:00
rect_selectP.h bug-fixing.... 1999-09-25 21:45:26 +00:00
rotate_tool.c app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +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 app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +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 bug-fixing.... 1999-09-25 21:45:26 +00:00
shear_tool.c app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +00:00
shear_tool.h add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
smudge.c applied patches 1999-09-26 04:53:59 +00:00
smudge.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
text_tool.c Change the GDK_WINDOWING_* stuff to be buildable with current CVS gtk+ 1999-10-03 00:43:05 +00:00
text_tool.h new file (from pdbgen) 1999-04-10 04:54:34 +00:00
threshold.c app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +00:00
threshold.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
tool_options.c changed the "parent context" implementation: 1999-10-19 15:52:32 +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 changed the "parent context" implementation: 1999-10-19 15:52:32 +00:00
tools.h app/bezier_select.c app/edit_selection.c app/flip_tool.c app/gimage_mask.c 1999-10-18 20:55:25 +00:00
transform_core.c app/Makefile.am app/gimphelp.[ch] new files 1999-09-27 17:58:10 +00:00
transform_core.h the Tool structure is now allocated by a common constructor which sets 1999-07-02 17:40:10 +00:00
transform_tool.c Fixed a typo 1999-07-27 01:09:04 +00:00
transform_tool.h app/bezier_select.c app/bezier_selectP.h app/paths_dialog.c 1999-05-26 20:36:33 +00:00
xinput_airbrush.c app/airbrush_blob.c * app/xinput_airbrush.c A bit better airbrush. It is 1999-10-03 21:21:01 +00:00
xinput_airbrush.h Okay I have committed the ugly airbrush now 1999-09-07 01:33:44 +00:00