gimp/app/core
Michael Natterer af76f2bbb8 removed the layer mask functions.
2001-03-06  Michael Natterer  <mitch@gimp.org>

	* app/gimage.[ch]: removed the layer mask functions.

	* app/gimpchannel.[ch]: added a boolean "dummy" parameter to
	gimp_channel_copy() so it has the same signature as
	gimp_layer_copy() and can be used by the GimpDrawableListView to
	generically duplicate drawables.

	* app/gimpcontainerview.c: call "select_item" with a NULL item
	before changing the underlying GimpContainer so subclasses have
	a chance to update (e.g. set button sensitivity).

	* app/gimpdnd.c: folded all the GtkType comparing code into a
	utility function (much more readable now).

	* app/gimpdrawablelistview.[ch]: activated the "raise", "lower",
	"duplicate" and "delete". I'm not really happy with all those
	function pointers passed to the constructor (and the dummy
	parameters I've added to some GimpChannel functions) -- OTOH the
	generic view maybe worth the "gboolean dummy" cruft hanging around
	in the channel class.

	* app/gimplayer.[ch]: removed the "apply_mask", "edit_mask" and
	"show_mask" booleans ...

	* app/gimplayermask.[ch]: .. and added them here together with
	proper accessors and "*_changed" signals.

	This also makes the layer mask undo code much clearer as we don't
	have to store the booleans separately.

	* app/gimplayerlistitem.c: badly hacked to acheive the correct
	indicator being drawn around the active drawable. This needs
	a new GimpPreview function for setting the border color.

	* app/gimplistitem.c: smaller horizontal spacing.

	* app/gimppreview.[ch]: added the "border_width" parameter also to
	gimp_preview_set_size() so we can modify all previews the same way
	after creation.

	* app/layers_dialog.c: no need to push an undo group around
	the "duplicate layer" code. Was this an artefact or did I miss
	something here ???

	* app/channel_ops.c
	* app/channels_dialog.c
	* app/gimage_mask.c
	* app/gimpcontainergridview.c
	* app/gimpcontainerlistview.c
	* app/gimpdrawablelistitem.c
	* app/gimpimage.[ch]
	* app/qmask.c
	* app/test_commands.c
	* app/undo.c
	* app/xcf.c
	* app/pdb/channel_cmds.c
	* tools/pdbgen/pdb/channel.pdb
	* app/pdb/selection_cmds.c
	* tools/pdbgen/pdb/selection.pdb: changed accordingly.

	* app/pdb/internal_procs.c
	* app/pdb/layer_cmds.c
	* libgimp/gimplayer_pdb.[ch]
	* tools/pdbgen/pdb/layer.pdb: commented out the layer mask accessors
	from the perl code, so the functions temporarily disappeared all
	over the place.

	* plug-ins/Makefile.am: don't build XJT until the layer mask stuff
	is back.

	* pixmaps/eye.xpm: cropped it to it's minimal size.
2001-03-06 13:28:39 +00:00
..
gimp-edit.c forgot one s/gimptool/gimptool-1.4/ 2001-02-21 21:56:39 +00:00
gimp-edit.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
gimp-parasites.c Last-minute cleanup: 2000-12-16 21:37:03 +00:00
gimp-parasites.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
gimp-transform-region.c started work on TransformCore 2001-03-01 06:56:57 +00:00
gimpbrush-header.h app/brush_edit.[ch] app/brush_header.h app/gimpbrush.[ch] 2000-09-29 12:00:00 +00:00
gimpbrush-load.c Introduced GimpPaintTool and GimpDrawTool 2001-02-27 05:21:12 +00:00
gimpbrush.c Introduced GimpPaintTool and GimpDrawTool 2001-02-27 05:21:12 +00:00
gimpbrush.h Introduced GimpPaintTool and GimpDrawTool 2001-02-27 05:21:12 +00:00
gimpbrushgenerated-load.c Introduced GimpPaintTool and GimpDrawTool 2001-02-27 05:21:12 +00:00
gimpbrushgenerated-save.c Introduced GimpPaintTool and GimpDrawTool 2001-02-27 05:21:12 +00:00
gimpbrushgenerated.c Introduced GimpPaintTool and GimpDrawTool 2001-02-27 05:21:12 +00:00
gimpbrushgenerated.h added a note about apptype.h and about not including headers in headers. 2001-02-14 14:57:14 +00:00
gimpbrushpipe-load.c Introduced GimpPaintTool and GimpDrawTool 2001-02-27 05:21:12 +00:00
gimpbrushpipe.c Introduced GimpPaintTool and GimpDrawTool 2001-02-27 05:21:12 +00:00
gimpbrushpipe.h added a note about apptype.h and about not including headers in headers. 2001-02-14 14:57:14 +00:00
gimpchannel-combine.c removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpchannel-combine.h removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpchannel.c removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpchannel.h removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpcontainer.c new function. 2001-02-19 03:35:55 +00:00
gimpcontainer.h new function. 2001-02-19 03:35:55 +00:00
gimpcontext.c app/gimpbrushpreview.c app/gimpgradientpreview.c app/gimppalettepreview.c 2001-03-04 22:07:19 +00:00
gimpcontext.h Made the tool system work again and integrated it back with the 2001-02-21 12:18:09 +00:00
gimpdata.c added a note about apptype.h and about not including headers in headers. 2001-02-14 14:57:14 +00:00
gimpdata.h added a note about apptype.h and about not including headers in headers. 2001-02-14 14:57:14 +00:00
gimpdatafactory.c app/context_manager.c app/gimpdatafactory.c app/gimpdatalist.[ch] 2001-02-19 02:17:31 +00:00
gimpdatafactory.h added a note about apptype.h and about not including headers in headers. 2001-02-14 14:57:14 +00:00
gimpdatafiles.c Made a GimpContainer out of the palette list: 2001-02-11 16:14:25 +00:00
gimpdatafiles.h added the datafile loader_func typedefs. 2001-02-11 21:08:04 +00:00
gimpdatalist.c app/context_manager.c app/gimpdatafactory.c app/gimpdatalist.[ch] 2001-02-19 02:17:31 +00:00
gimpdatalist.h app/context_manager.c app/gimpdatafactory.c app/gimpdatalist.[ch] 2001-02-19 02:17:31 +00:00
gimpdrawable-blend.c updated. 2001-02-24 19:29:47 +00:00
gimpdrawable-desaturate.c app/channel.[ch] app/drawable.[ch] app/gdisplay.[ch] app/gimpdrawable.[ch] 2001-01-14 21:11:52 +00:00
gimpdrawable-desaturate.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
gimpdrawable-equalize.c removed channel_update() because channel.c should not call 2001-01-29 17:54:02 +00:00
gimpdrawable-equalize.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
gimpdrawable-invert.c removed channel_update() because channel.c should not call 2001-01-29 17:54:02 +00:00
gimpdrawable-invert.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
gimpdrawable-offset.c removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpdrawable-offset.h Last-minute cleanup: 2000-12-16 21:37:03 +00:00
gimpdrawable-preview.c V2001-02-07 Michael Natterer <mitch@gimp.org> 2001-02-07 00:06:58 +00:00
gimpdrawable-preview.h V2001-02-07 Michael Natterer <mitch@gimp.org> 2001-02-07 00:06:58 +00:00
gimpdrawable-transform.c started work on TransformCore 2001-03-01 06:56:57 +00:00
gimpdrawable.c new function gimp_drawable_set_visible(). Renamed gimp_drawable_visible() 2001-03-04 16:52:37 +00:00
gimpdrawable.h new function gimp_drawable_set_visible(). Renamed gimp_drawable_visible() 2001-03-04 16:52:37 +00:00
gimpedit.c forgot one s/gimptool/gimptool-1.4/ 2001-02-21 21:56:39 +00:00
gimpedit.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
gimpgradient.c added a note about apptype.h and about not including headers in headers. 2001-02-14 14:57:14 +00:00
gimpgradient.h added a note about apptype.h and about not including headers in headers. 2001-02-14 14:57:14 +00:00
gimpimage-convert-fsdither.h ed Sep 1 21:27:27 BST 1999 Adam D. Moss <adam@gimp.org> 1999-09-01 20:41:10 +00:00
gimpimage-convert.c converted gimage->layers and gimage->channels to GimpLists. 2001-02-19 13:06:09 +00:00
gimpimage-convert.h removed. new object derived from GimpObject. Just used as a container at 2001-01-21 19:53:56 +00:00
gimpimage-duplicate.c removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpimage-duplicate.h Last-minute cleanup: 2000-12-16 21:37:03 +00:00
gimpimage-guides.c removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpimage-guides.h removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpimage-mask.c removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpimage-mask.h app/Makefile.am new file. 2001-01-29 02:45:02 +00:00
gimpimage-merge.c removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpimage-merge.h removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpimage-pick-color.c app/tools/Makefile.am one more... 2001-02-28 01:05:22 +00:00
gimpimage-projection.c removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpimage-projection.h removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpimage-qmask.c removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpimage-quick-mask.c removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpimage-resize.c removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpimage-resize.h removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpimage-scale.c removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpimage-scale.h removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpimage-undo-push.c removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpimage-undo-push.h app/Makefile.am new file. 2001-01-29 02:45:02 +00:00
gimpimage-undo.c app/Makefile.am app/apptypes.h app/gimpimage-undo.[ch] app/gimpundo.[ch] 2001-03-05 01:01:16 +00:00
gimpimage-undo.h app/Makefile.am app/apptypes.h app/gimpimage-undo.[ch] app/gimpundo.[ch] 2001-03-05 01:01:16 +00:00
gimpimage.c removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpimage.h removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpimagemap.c removed channel_update() because channel.c should not call 2001-01-29 17:54:02 +00:00
gimpimagemap.h app/airbrush.[ch] app/bezier_select.c app/bezier_selectP.h app/blend.[ch] 2000-12-31 04:07:42 +00:00
gimplayer-floating-sel.c new function gimp_drawable_set_visible(). Renamed gimp_drawable_visible() 2001-03-04 16:52:37 +00:00
gimplayer-floating-sel.h app/Makefile.am new file with one set of functions... 2001-01-29 13:51:23 +00:00
gimplayer.c removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimplayer.h removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimplayermask.c removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimplayermask.h removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimplist.c app/context_manager.c app/gimpdatafactory.c app/gimpdatalist.[ch] 2001-02-19 02:17:31 +00:00
gimplist.h app/context_manager.c app/gimpdatafactory.c app/gimpdatalist.[ch] 2001-02-19 02:17:31 +00:00
gimpmarshal.c app/gimpcontainer.[ch] app/gimpcontainergridview.c 2001-02-17 21:20:10 +00:00
gimpmarshal.h app/gimpcontainer.[ch] app/gimpcontainergridview.c 2001-02-17 21:20:10 +00:00
gimpobject.c add <stdlib.h> and/or <string.h> headers where needed 2001-02-04 04:51:17 +00:00
gimpobject.h app/Makefile.am new object with own implementations of "create_preview" 2001-02-07 02:37:49 +00:00
gimppalette-import.c app/Makefile.am new files. The import functions stripped from all UI crap. 2001-02-19 18:07:08 +00:00
gimppalette-import.h app/Makefile.am new files. The import functions stripped from all UI crap. 2001-02-19 18:07:08 +00:00
gimppalette-load.c Made the tool system work again and integrated it back with the 2001-02-21 12:18:09 +00:00
gimppalette-save.c Made the tool system work again and integrated it back with the 2001-02-21 12:18:09 +00:00
gimppalette.c Made the tool system work again and integrated it back with the 2001-02-21 12:18:09 +00:00
gimppalette.h added DND source functions which work by GtkType. 2001-02-18 19:44:28 +00:00
gimpparasite.c Last-minute cleanup: 2000-12-16 21:37:03 +00:00
gimpparasite.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
gimpparasitelist.c app/Makefile.am removed. added. 2001-01-10 00:36:54 +00:00
gimpparasitelist.h app/Makefile.am removed. added. 2001-01-10 00:36:54 +00:00
gimppattern-header.h app/gimpbrush.c app/gimpbrushpipe.c app/pattern_header.h fixed #8150. 2000-10-01 18:53:39 +00:00
gimppattern-load.c added a note about apptype.h and about not including headers in headers. 2001-02-14 14:57:14 +00:00
gimppattern.c added a note about apptype.h and about not including headers in headers. 2001-02-14 14:57:14 +00:00
gimppattern.h added a note about apptype.h and about not including headers in headers. 2001-02-14 14:57:14 +00:00
gimppreviewcache.c app/Makefile.am app/apptypes.h new object. Everything that can have a 2001-02-04 22:10:54 +00:00
gimppreviewcache.h app/Makefile.am app/apptypes.h new object. Everything that can have a 2001-02-04 22:10:54 +00:00
gimpprojection-construct.c removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpprojection-construct.h removed the layer mask functions. 2001-03-06 13:28:39 +00:00
gimpprojection.c app/gdisplay.c app/gimage.c. #include "tools/tool.h" 2001-02-28 02:53:27 +00:00
gimpprojection.h updated. 2001-02-24 19:29:47 +00:00
gimpscanconvert.c app/Makefile.am app/gimpchannel.[ch] new files moved here by Yosh. 2001-02-01 18:44:22 +00:00
gimpscanconvert.h app/Makefile.am new file. 2001-01-29 02:45:02 +00:00
gimptoolinfo.c made the global_paint_options public. 2001-02-27 23:20:51 +00:00
gimptoolinfo.h made the global_paint_options public. 2001-02-27 23:20:51 +00:00
gimptooloptions.c removed crap from ancient times when tools used to be an enum. 2001-02-23 21:32:47 +00:00
gimptooloptions.h removed crap from ancient times when tools used to be an enum. 2001-02-23 21:32:47 +00:00
gimpundo.c app/Makefile.am app/apptypes.h app/gimpimage-undo.[ch] app/gimpundo.[ch] 2001-03-05 01:01:16 +00:00
gimpundo.h app/Makefile.am app/apptypes.h app/gimpimage-undo.[ch] app/gimpundo.[ch] 2001-03-05 01:01:16 +00:00
gimpundostack.c app/Makefile.am app/apptypes.h app/gimpimage-undo.[ch] app/gimpundo.[ch] 2001-03-05 01:01:16 +00:00
gimpundostack.h app/Makefile.am app/apptypes.h app/gimpimage-undo.[ch] app/gimpundo.[ch] 2001-03-05 01:01:16 +00:00
gimpunit.c app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
gimpunit.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
gimpviewable.c V2001-02-07 Michael Natterer <mitch@gimp.org> 2001-02-07 00:06:58 +00:00
gimpviewable.h V2001-02-07 Michael Natterer <mitch@gimp.org> 2001-02-07 00:06:58 +00:00