Gimp/app/base
Michael Natterer e634d4d718 Added "Edit -> Fade" which allows to modify the paint mode and opacity of
2006-10-21  Michael Natterer  <mitch@gimp.org>

	Added "Edit -> Fade" which allows to modify the paint mode and
	opacity of the last drawable operation (fill, plugins etc.).
	Started from a patch by Bill Skaggs. Fixes bug #170707.

	* app/base/base-enums.[ch] (enum GimpLayerModeEffects): register
	the values REPLACE_MODE, ERASE_MODE and ANTI_ERASE_MODE with
	the type system.

	* app/widgets/gimppropwidgets.[ch]
	* app/widgets/gimpwidgets-constructors.[ch]: added "gboolean
	with_replace_modes" to the paint mode menu constructors.

	* app/tools/gimppaintoptions-gui.c
	* app/widgets/gimpbrushselect.c
	* app/widgets/gimplayertreeview.c: pass with_replace_modes = FALSE.

	* app/core/gimpdrawableundo.[ch]: added members which keep tiles,
	paint mode and opacity of the pasted pixels.

	* app/core/gimpimage-undo.[ch] (gimp_image_undo_get_fadeable):
	returns a GimpUndo suitable for a fade operation, or NULL.

	* app/core/gimp-edit.[ch] (gimp_edit_fade): implements the actual
	fade by undoing the last operation and then re-applying the pixels
	with different paint mode and opacity.

	* app/core/gimpdrawable-combine.c: store the pasted pixels in
	the GimpDrawableUndo.

	* app/actions/edit-actions.c
	* app/actions/edit-commands.[ch]: action and callback for fade.

	* app/dialogs/Makefile.am
	* app/dialogs/fade-dialog.[ch]: the fade dialog.

	* app/widgets/gimphelp-ids.h: the fade help ID.

	* menus/image-menu.xml.in: added a menu entry in "Edit".
2006-10-21 18:46:49 +00:00
..
.cvsignore Moved the CPU detection code to libgimpbase (see bug #342860): 2006-06-02 09:58:03 +00:00
base-enums.c Added "Edit -> Fade" which allows to modify the paint mode and opacity of 2006-10-21 18:46:49 +00:00
base-enums.h Added "Edit -> Fade" which allows to modify the paint mode and opacity of 2006-10-21 18:46:49 +00:00
base-types.h app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
base.c app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
base.h app/app_procs.c app/base/base.[ch] pass "be_verbose" to the base and 2004-07-20 14:33:22 +00:00
boundary.c more code cleanup 2006-07-06 12:27:32 +00:00
boundary.h code cleanup 2006-07-06 11:13:26 +00:00
brush-scale.c Bill Skaggs <weskaggs@primate.ucdavis.edu> 2004-12-26 18:18:17 +00:00
brush-scale.h app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
color-balance.c app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
color-balance.h app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
colorize.c app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
colorize.h changed GimpImageMapApplyFunc to be compatible with PixelProcessorFunc. 2005-02-15 15:39:27 +00:00
cpercep.c app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
cpercep.h app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
curves.c changed if/else construct to have a final else statement so that the 2006-04-21 07:22:23 +00:00
curves.h app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
gimphistogram.c Applied a slightly modified version of a patch from Lode Leroy (bug 2006-04-21 09:40:27 +00:00
gimphistogram.h Applied a slightly modified version of a patch from Lode Leroy (bug 2006-04-21 09:40:27 +00:00
gimplut.c more code cleanup 2006-07-06 12:27:32 +00:00
gimplut.h app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
hue-saturation.c app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
hue-saturation.h app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
levels.c app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
levels.h renamed *levels-auto to *levels-stretch 2004-11-01 16:05:19 +00:00
lut-funcs.c removed forgotten debug output 2006-04-05 21:04:34 +00:00
lut-funcs.h minor code cleanup, renamed a function, declared some functions as static. 2006-04-05 21:03:39 +00:00
Makefile.am Moved the CPU detection code to libgimpbase (see bug #342860): 2006-06-02 09:58:03 +00:00
makefile.msc updated 2005-09-25 19:30:55 +00:00
pixel-processor.c app/composite/gimp-composite.h app/composite/gimp-composite-generic.c 2006-09-27 23:29:05 +00:00
pixel-processor.h Fixed my email address in a dozen or so source files: 2006-01-12 00:50:44 +00:00
pixel-region.c app/base/pixel-region.[ch] app/base/tile-manager.[ch] removed code that 2006-09-07 09:58:17 +00:00
pixel-region.h app/base/pixel-region.[ch] app/base/tile-manager.[ch] removed code that 2006-09-07 09:58:17 +00:00
pixel-surround.c app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
pixel-surround.h s/row_stride/rowstride/g. 2005-09-03 19:03:53 +00:00
siox.c libgimpbase/Makefile.am libgimpbase/gimpbase.h added new files that hold 2006-08-29 14:46:32 +00:00
siox.h let the caller specify a region of interest. Call the progress function 2006-03-22 13:18:22 +00:00
temp-buf.c more code cleanup 2006-07-06 12:27:32 +00:00
temp-buf.h more code cleanup 2006-07-06 12:27:32 +00:00
threshold.c app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
threshold.h changed GimpImageMapApplyFunc to be compatible with PixelProcessorFunc. 2005-02-15 15:39:27 +00:00
tile-cache.c app/base/tile-cache.c app/base/tile-manager.c app/base/tile-private.h 2006-09-07 09:41:23 +00:00
tile-cache.h
tile-manager-crop.c app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
tile-manager-crop.h app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
tile-manager-private.h app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
tile-manager.c use the same code on all platforms. The optimization for bytes == 4 was 2006-09-21 09:45:07 +00:00
tile-manager.h app/base/pixel-region.[ch] app/base/tile-manager.[ch] removed code that 2006-09-07 09:58:17 +00:00
tile-private.h app/base/tile-cache.c app/base/tile-manager.c app/base/tile-private.h 2006-09-07 09:41:23 +00:00
tile-swap.c app/base/pixel-region.[ch] app/base/tile-manager.[ch] removed code that 2006-09-07 09:58:17 +00:00
tile-swap.h app/base/pixel-region.[ch] app/base/tile-manager.[ch] removed code that 2006-09-07 09:58:17 +00:00
tile.c app/base/tile-cache.c app/base/tile-manager.c app/base/tile-private.h 2006-09-07 09:41:23 +00:00
tile.h app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00