gimp/app/paint
Michael Natterer ce643d2722 Use gdouble in a [0.0..1.0] range for opacity values in the whole core's
2002-03-03  Michael Natterer  <mitch@gimp.org>

	Use gdouble in a [0.0..1.0] range for opacity values in the whole
	core's API. Convert them using (opacity * 255.999) when passing
	them to base/ and paint-funcs/

	Affected functions:

	* app/core/gimpchannel.[ch]: gimp_channel_[set|get]_opacity()
	* app/core/gimpimage.[ch]: gimp_image_[apply|replace]_image()
	* app/paint/gimppaintcore.[ch]: gimp_paint_core_[paste|replace]_canvas()

	* app/core/core-types.h: added defines GIMP_OPACITY_TRANSPARENT
	and GIMP_OPACITY_OPAQUE, just like the ones from
	paint-funcs/paint-funcs-types.h

	* app/gimprc.c
	* app/image_map.c
	* app/core/gimpcontext.c
	* app/core/gimpdrawable-blend.c
	* app/core/gimpdrawable-bucket-fill.c
	* app/core/gimpdrawable.c
	* app/core/gimpedit.c
	* app/core/gimplayer.c
	* app/core/gimplayer-floating-sel.c
	* app/core/gimppalette.c
	* app/paint/gimpairbrush.c
	* app/paint/gimpclone.c
	* app/paint/gimpconvolve.c
	* app/paint/gimpdodgeburn.c
	* app/paint/gimperaser.c
	* app/paint/gimppaintbrush.c
	* app/paint/gimpsmudge.c
	* app/tools/gimpinktool.c
	* app/widgets/gimpcolorpanel.c
	* app/widgets/gimplayerlistitem.c
	* app/widgets/gimppreview.c
	* app/xcf/xcf-load.c: changed accordingly, use the new constants.
2002-03-03 17:38:12 +00:00
..
.cvsignore Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
Makefile.am app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
gimpairbrush.c Use gdouble in a [0.0..1.0] range for opacity values in the whole core's 2002-03-03 17:38:12 +00:00
gimpairbrush.h app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
gimpclone.c Use gdouble in a [0.0..1.0] range for opacity values in the whole core's 2002-03-03 17:38:12 +00:00
gimpclone.h app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
gimpconvolve.c Use gdouble in a [0.0..1.0] range for opacity values in the whole core's 2002-03-03 17:38:12 +00:00
gimpconvolve.h app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
gimpdodgeburn.c Use gdouble in a [0.0..1.0] range for opacity values in the whole core's 2002-03-03 17:38:12 +00:00
gimpdodgeburn.h app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
gimperaser.c Use gdouble in a [0.0..1.0] range for opacity values in the whole core's 2002-03-03 17:38:12 +00:00
gimperaser.h app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
gimpink-blob.c added app/display/ and app/plug-in/. Empty for now except for the types 2001-08-17 14:27:31 +00:00
gimpink-blob.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimpink.c Use gdouble in a [0.0..1.0] range for opacity values in the whole core's 2002-03-03 17:38:12 +00:00
gimpink.h Michael Natterer <mitch@gimp.org> 2001-12-03 13:44:59 +00:00
gimppaintbrush.c Use gdouble in a [0.0..1.0] range for opacity values in the whole core's 2002-03-03 17:38:12 +00:00
gimppaintbrush.h app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
gimppaintcore-kernels.h Core/UI separation for the paint tools: 2002-02-14 19:31:16 +00:00
gimppaintcore-stroke.c added gimp_paint_core_stroke_vectors() which strokes the whole vector 2002-02-26 03:19:47 +00:00
gimppaintcore-stroke.h added gimp_paint_core_stroke_vectors() which strokes the whole vector 2002-02-26 03:19:47 +00:00
gimppaintcore.c Use gdouble in a [0.0..1.0] range for opacity values in the whole core's 2002-03-03 17:38:12 +00:00
gimppaintcore.h Use gdouble in a [0.0..1.0] range for opacity values in the whole core's 2002-03-03 17:38:12 +00:00
gimppaintoptions.c Made the paint tool PDB wrappers work again (a bit at least...) 2002-02-21 16:02:30 +00:00
gimppaintoptions.h Made the paint tool PDB wrappers work again (a bit at least...) 2002-02-21 16:02:30 +00:00
gimppencil.c app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
gimppencil.h app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
gimpsmudge.c Use gdouble in a [0.0..1.0] range for opacity values in the whole core's 2002-03-03 17:38:12 +00:00
gimpsmudge.h app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
gimpsourcecore.c Use gdouble in a [0.0..1.0] range for opacity values in the whole core's 2002-03-03 17:38:12 +00:00
gimpsourcecore.h app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
makefile.msc from now on use make.msc from $(TOP)/glib/build/win32; all occurences of 2002-02-17 15:55:54 +00:00
paint-types.h app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
paint.c app/core/Makefile.am new object for registering GimpPaintCore subclasses, 2002-02-27 13:57:49 +00:00
paint.h Added some kind of paint core registry. It's ugly and will change... 2002-02-26 02:00:02 +00:00