gimp/app
Michael Natterer 8224476afb added utility function gimp_paint_options_get_fade() which calculates an
2003-07-16  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintoptions.[ch]: added utility function
	gimp_paint_options_get_fade() which calculates an opacity
	value from paint_core->pixel_dist.

	* app/paint/gimppaintbrush.c: removed the same code here and use
	gimp_paint_options_get_fade().

	* app/paint/gimpclone.c
	* app/paint/gimpconvolve.c
	* app/paint/gimpdodgeburn.c
	* app/paint/gimperaser.c
	* app/paint/gimpsmudge.c: enabled fade for all paint tools, along
	with a general opacity cleanup:

	Use the opacity from gimp_context_get_opacity() *only* for the
	image_opacity. In particular, *never* use it as initial value for
	calculating the brush_opacity. Instead, start calculating the
	brush_opacity from gimp_paint_options_get_fade() and return early
	if it returns 0.0, if not, multiply tool specific opacity sources
	like the current pressure.

	(This changes the effect of the paint tools for particular opacity
	values, but makes the impact of opacity on the final rendering
	linear and more intuitive)

	* app/tools/gimppaintoptions-gui.c: enabled the "Fade" frame for
	the tools above.

	* app/paint/gimppaintcore.c: purely cosmetic cleanup.
2003-07-16 11:25:37 +00:00
..
actions Added configurable styles for dockable tabs (fixes bug #87376): 2003-07-08 15:07:56 +00:00
base include composite/gimp-composite.h. 2003-07-14 09:23:26 +00:00
composite Removed gimp-composite-dispatch.c from .cvsignore. 2003-07-15 17:45:36 +00:00
config don't return stuff from a void function (spotted by Jimmer on #gimp). 2003-07-11 12:22:42 +00:00
core fixed pattern depth check to allow RGBA patterns again. Removed trailing 2003-07-14 23:30:18 +00:00
dialogs app/gui/preferences-dialog.c (prefs_dialog_new) use a large font instead 2003-07-15 17:35:08 +00:00
display removed gimp_display_shell_transform_boundary() again... 2003-07-10 16:01:45 +00:00
file app/gui/edit-commands.c added "Fill with Pattern" menu entry as suggested 2003-07-02 18:01:19 +00:00
gui app/gui/preferences-dialog.c (prefs_dialog_new) use a large font instead 2003-07-15 17:35:08 +00:00
menus Added configurable styles for dockable tabs (fixes bug #87376): 2003-07-08 15:07:56 +00:00
paint added utility function gimp_paint_options_get_fade() which calculates an 2003-07-16 11:25:37 +00:00
paint-funcs use AM_PROG_AS instead of defining CCAS and CCASFLAGS manually. Changed 2003-07-14 10:33:53 +00:00
pdb Argh... 2003-07-14 17:10:09 +00:00
plug-in changed GimpDatafileLoaderFunc to take a separate "gpointer user_data" 2003-07-02 17:11:00 +00:00
text replace the layer in the global item hash table, fixes bug #116936. 2003-07-08 11:44:12 +00:00
tools added utility function gimp_paint_options_get_fade() which calculates an 2003-07-16 11:25:37 +00:00
vectors libgimpmath/gimpmathtypes.h moved struct declarations. 2003-07-07 13:50:48 +00:00
widgets app/gui/preferences-dialog.c (prefs_dialog_new) use a large font instead 2003-07-15 17:35:08 +00:00
xcf don't ignore the delete event on the splash screen, but quit gimp 2003-07-08 10:38:13 +00:00
.cvsignore Makefile.am configure.in gimp-1.3.pc.in added pkg-config files for 2001-11-25 00:19:38 +00:00
airbrush.c prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
app_procs.c enabled passing of file: URIs as command line parameters. 2003-06-23 13:42:31 +00:00
app_procs.h removed the calls to g_log_set_handler(). 2003-05-29 11:34:30 +00:00
appenv.h added -DGIMP_APP_GLUE_COMPILATION to AM_CPPFLAGS. 2002-12-04 12:26:39 +00:00
batch.c added G_SPAWN_CHILD_INHERITS_STDIN to the flags passed to g_spawn_async(). 2003-03-21 16:50:55 +00:00
batch.h added G_SPAWN_CHILD_INHERITS_STDIN to the flags passed to g_spawn_async(). 2003-03-21 16:50:55 +00:00
errors.c Cleaned up and improved the message system: 2003-06-13 14:37:00 +00:00
errors.h added -DGIMP_APP_GLUE_COMPILATION to AM_CPPFLAGS. 2002-12-04 12:26:39 +00:00
gimp-intl.h Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimp.rc Second batch of Win32 merge. 1999-03-07 12:56:03 +00:00
libgimp_glue.c changed again to take no paramaters and use _gimp_standard_help_func from 2003-05-25 14:23:43 +00:00
libgimp_glue.h changed again to take no paramaters and use _gimp_standard_help_func from 2003-05-25 14:23:43 +00:00
main.c removed the calls to g_log_set_handler(). 2003-05-29 11:34:30 +00:00
Makefile.am app/paint-funcs/Makefile.am include files from app/composite/ 2003-07-13 15:48:41 +00:00
makefile.mingw.in Mark as out-of-date. 2002-12-26 01:19:09 +00:00
makefile.msc replace the win9x specific cd .... with the portable cd ..\..\.. 2003-06-19 09:57:35 +00:00
paint_core.h prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
paint_options.h prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
plug_in_cmds.c Garry R. Osgood <grosgood@rcn.com> 2001-03-11 13:15:41 +00:00
transform_core.c prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
wilber.ico Second batch of Win32 merge. 1999-03-07 12:56:03 +00:00