2006-12-10 05:33:38 +08:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
1997-11-25 06:05:25 +08:00
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
1998-04-13 13:44:11 +08:00
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
1997-11-25 06:05:25 +08:00
|
|
|
*/
|
2000-12-29 23:22:01 +08:00
|
|
|
|
2003-02-14 22:14:29 +08:00
|
|
|
#ifndef __GIMP_IMAGE_UNDO_PUSH_H__
|
|
|
|
#define __GIMP_IMAGE_UNDO_PUSH_H__
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
|
2002-02-24 01:29:19 +08:00
|
|
|
/* image undos */
|
|
|
|
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_image_type (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_image_size (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_image_resolution (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_image_guide (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpGuide *guide);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_image_grid (GimpImage *image,
|
2005-03-05 08:10:40 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpGrid *grid);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_image_sample_point (GimpImage *image,
|
2005-03-05 00:34:59 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpSamplePoint *sample_point);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_image_colormap (GimpImage *image,
|
2003-03-18 21:49:02 +08:00
|
|
|
const gchar *undo_desc);
|
2002-02-24 01:29:19 +08:00
|
|
|
|
|
|
|
|
2004-03-15 22:10:30 +08:00
|
|
|
/* drawable undo */
|
|
|
|
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_drawable (GimpImage *image,
|
2004-03-15 22:10:30 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpDrawable *drawable,
|
|
|
|
TileManager *tiles,
|
|
|
|
gboolean sparse,
|
|
|
|
gint x,
|
|
|
|
gint y,
|
|
|
|
gint width,
|
|
|
|
gint height);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_drawable_mod (GimpImage *image,
|
2004-03-16 04:58:07 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpDrawable *drawable);
|
2004-03-15 22:10:30 +08:00
|
|
|
|
|
|
|
|
2002-08-20 18:22:23 +08:00
|
|
|
/* mask undo */
|
|
|
|
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_mask (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpChannel *mask);
|
2002-08-20 18:22:23 +08:00
|
|
|
|
|
|
|
|
2002-02-26 08:04:55 +08:00
|
|
|
/* item undos */
|
|
|
|
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_item_rename (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpItem *item);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_item_displace (GimpImage *image,
|
2003-05-09 03:11:17 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpItem *item);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_item_visibility (GimpImage *image,
|
2003-05-09 04:26:01 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpItem *item);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_item_linked (GimpImage *image,
|
Made drawable/layer properties (visibility, opacity etc.) undoable (fixes
2003-03-17 Michael Natterer <mitch@gimp.org>
Made drawable/layer properties (visibility, opacity etc.)
undoable (fixes bug #73893).
* app/core/core-enums.[ch]: added undo types/groups for
visibility, mode, opacity, linked and preserve_trans.
* app/core/Makefile.am
* app/core/core-types.h
* app/core/gimpitemundo.[ch]: new GimpUndo subclass which holds a
ref'ed GimpItem pointer so (1) this doesn't need to be done by all
undo steps related to an item and (2) the item the undo step is
for can be determined from outside the undo system.
* app/core/gimpimage-undo.[ch]: added gimp_image_undo_push_item()
which returns a new GimpItemUndo.
* app/core/gimpimage-undo-push.[ch]: use it for all item related
undo steps. Removed lots of GimpItem, GimpLayer, GimpDrawable
and GimpVectors pointers from the private undo structs. Added
undo push functions for the new undo types added above.
* app/core/gimpdrawable.[ch] (gimp_drawable_set_visible): added
"gboolean push_undo" parameter.
* app/core/gimplayer.[ch] (gimp_layer_set_opacity, _mode,
_preserve_trans, _linked): added "gboolean push_undo" parameters.
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimplayer-floating-sel.c
* app/tools/gimpmovetool.c
* app/xcf/xcf-load.c
* app/widgets/gimpdrawablelistitem.c
* app/widgets/gimplayerlistitem.c
* app/widgets/gimplayerlistview.c: changed accordingly.
* tools/pdbgen/pdb/channel.pdb
* tools/pdbgen/pdb/layer.pdb: ditto. Added '$undo' paramaters to
the foo_accessors() functions. Removed $func from foo_accesors()
because we don't manipulate items without using getters/setters
any longer.
* app/pdb/channel_cmds.c
* app/pdb/layer_cmds.c: regenerated.
* app/widgets/gimpcellrenderertoggle.[ch]: added "clicked" signal
which carries an additional "GdkModifierType state" parameter as
in GimpCellRendererViewable .
* app/widgets/gimpcontainertreeview.c: emit "clicked" from
the toggle renderer, not "toggled" so the callbacks get the
modifier state.
* app/widgets/gimpdrawabletreeview.c: resurrected the "exclusive
visible by <shift>+click" feature as in 1.2.
* app/widgets/gimplayertreeview.c: compress layer opacity undos by
looking at the top of the undo stack and not pushing an undo if
there already is a GIMP_UNDO_DRAWABLE_OPACITY for the active
layer.
2003-03-18 02:02:41 +08:00
|
|
|
const gchar *undo_desc,
|
2003-09-12 03:52:29 +08:00
|
|
|
GimpItem *item);
|
Made drawable/layer properties (visibility, opacity etc.) undoable (fixes
2003-03-17 Michael Natterer <mitch@gimp.org>
Made drawable/layer properties (visibility, opacity etc.)
undoable (fixes bug #73893).
* app/core/core-enums.[ch]: added undo types/groups for
visibility, mode, opacity, linked and preserve_trans.
* app/core/Makefile.am
* app/core/core-types.h
* app/core/gimpitemundo.[ch]: new GimpUndo subclass which holds a
ref'ed GimpItem pointer so (1) this doesn't need to be done by all
undo steps related to an item and (2) the item the undo step is
for can be determined from outside the undo system.
* app/core/gimpimage-undo.[ch]: added gimp_image_undo_push_item()
which returns a new GimpItemUndo.
* app/core/gimpimage-undo-push.[ch]: use it for all item related
undo steps. Removed lots of GimpItem, GimpLayer, GimpDrawable
and GimpVectors pointers from the private undo structs. Added
undo push functions for the new undo types added above.
* app/core/gimpdrawable.[ch] (gimp_drawable_set_visible): added
"gboolean push_undo" parameter.
* app/core/gimplayer.[ch] (gimp_layer_set_opacity, _mode,
_preserve_trans, _linked): added "gboolean push_undo" parameters.
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimplayer-floating-sel.c
* app/tools/gimpmovetool.c
* app/xcf/xcf-load.c
* app/widgets/gimpdrawablelistitem.c
* app/widgets/gimplayerlistitem.c
* app/widgets/gimplayerlistview.c: changed accordingly.
* tools/pdbgen/pdb/channel.pdb
* tools/pdbgen/pdb/layer.pdb: ditto. Added '$undo' paramaters to
the foo_accessors() functions. Removed $func from foo_accesors()
because we don't manipulate items without using getters/setters
any longer.
* app/pdb/channel_cmds.c
* app/pdb/layer_cmds.c: regenerated.
* app/widgets/gimpcellrenderertoggle.[ch]: added "clicked" signal
which carries an additional "GdkModifierType state" parameter as
in GimpCellRendererViewable .
* app/widgets/gimpcontainertreeview.c: emit "clicked" from
the toggle renderer, not "toggled" so the callbacks get the
modifier state.
* app/widgets/gimpdrawabletreeview.c: resurrected the "exclusive
visible by <shift>+click" feature as in 1.2.
* app/widgets/gimplayertreeview.c: compress layer opacity undos by
looking at the top of the undo stack and not pushing an undo if
there already is a GIMP_UNDO_DRAWABLE_OPACITY for the active
layer.
2003-03-18 02:02:41 +08:00
|
|
|
|
|
|
|
|
2002-02-24 01:29:19 +08:00
|
|
|
/* layer undos */
|
|
|
|
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_layer_add (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpLayer *layer,
|
|
|
|
gint prev_position,
|
|
|
|
GimpLayer *prev_layer);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_layer_remove (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpLayer *layer,
|
|
|
|
gint prev_position,
|
|
|
|
GimpLayer *prev_layer);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_layer_reposition (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpLayer *layer);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_layer_mode (GimpImage *image,
|
Made drawable/layer properties (visibility, opacity etc.) undoable (fixes
2003-03-17 Michael Natterer <mitch@gimp.org>
Made drawable/layer properties (visibility, opacity etc.)
undoable (fixes bug #73893).
* app/core/core-enums.[ch]: added undo types/groups for
visibility, mode, opacity, linked and preserve_trans.
* app/core/Makefile.am
* app/core/core-types.h
* app/core/gimpitemundo.[ch]: new GimpUndo subclass which holds a
ref'ed GimpItem pointer so (1) this doesn't need to be done by all
undo steps related to an item and (2) the item the undo step is
for can be determined from outside the undo system.
* app/core/gimpimage-undo.[ch]: added gimp_image_undo_push_item()
which returns a new GimpItemUndo.
* app/core/gimpimage-undo-push.[ch]: use it for all item related
undo steps. Removed lots of GimpItem, GimpLayer, GimpDrawable
and GimpVectors pointers from the private undo structs. Added
undo push functions for the new undo types added above.
* app/core/gimpdrawable.[ch] (gimp_drawable_set_visible): added
"gboolean push_undo" parameter.
* app/core/gimplayer.[ch] (gimp_layer_set_opacity, _mode,
_preserve_trans, _linked): added "gboolean push_undo" parameters.
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimplayer-floating-sel.c
* app/tools/gimpmovetool.c
* app/xcf/xcf-load.c
* app/widgets/gimpdrawablelistitem.c
* app/widgets/gimplayerlistitem.c
* app/widgets/gimplayerlistview.c: changed accordingly.
* tools/pdbgen/pdb/channel.pdb
* tools/pdbgen/pdb/layer.pdb: ditto. Added '$undo' paramaters to
the foo_accessors() functions. Removed $func from foo_accesors()
because we don't manipulate items without using getters/setters
any longer.
* app/pdb/channel_cmds.c
* app/pdb/layer_cmds.c: regenerated.
* app/widgets/gimpcellrenderertoggle.[ch]: added "clicked" signal
which carries an additional "GdkModifierType state" parameter as
in GimpCellRendererViewable .
* app/widgets/gimpcontainertreeview.c: emit "clicked" from
the toggle renderer, not "toggled" so the callbacks get the
modifier state.
* app/widgets/gimpdrawabletreeview.c: resurrected the "exclusive
visible by <shift>+click" feature as in 1.2.
* app/widgets/gimplayertreeview.c: compress layer opacity undos by
looking at the top of the undo stack and not pushing an undo if
there already is a GIMP_UNDO_DRAWABLE_OPACITY for the active
layer.
2003-03-18 02:02:41 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpLayer *layer);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_layer_opacity (GimpImage *image,
|
Made drawable/layer properties (visibility, opacity etc.) undoable (fixes
2003-03-17 Michael Natterer <mitch@gimp.org>
Made drawable/layer properties (visibility, opacity etc.)
undoable (fixes bug #73893).
* app/core/core-enums.[ch]: added undo types/groups for
visibility, mode, opacity, linked and preserve_trans.
* app/core/Makefile.am
* app/core/core-types.h
* app/core/gimpitemundo.[ch]: new GimpUndo subclass which holds a
ref'ed GimpItem pointer so (1) this doesn't need to be done by all
undo steps related to an item and (2) the item the undo step is
for can be determined from outside the undo system.
* app/core/gimpimage-undo.[ch]: added gimp_image_undo_push_item()
which returns a new GimpItemUndo.
* app/core/gimpimage-undo-push.[ch]: use it for all item related
undo steps. Removed lots of GimpItem, GimpLayer, GimpDrawable
and GimpVectors pointers from the private undo structs. Added
undo push functions for the new undo types added above.
* app/core/gimpdrawable.[ch] (gimp_drawable_set_visible): added
"gboolean push_undo" parameter.
* app/core/gimplayer.[ch] (gimp_layer_set_opacity, _mode,
_preserve_trans, _linked): added "gboolean push_undo" parameters.
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimplayer-floating-sel.c
* app/tools/gimpmovetool.c
* app/xcf/xcf-load.c
* app/widgets/gimpdrawablelistitem.c
* app/widgets/gimplayerlistitem.c
* app/widgets/gimplayerlistview.c: changed accordingly.
* tools/pdbgen/pdb/channel.pdb
* tools/pdbgen/pdb/layer.pdb: ditto. Added '$undo' paramaters to
the foo_accessors() functions. Removed $func from foo_accesors()
because we don't manipulate items without using getters/setters
any longer.
* app/pdb/channel_cmds.c
* app/pdb/layer_cmds.c: regenerated.
* app/widgets/gimpcellrenderertoggle.[ch]: added "clicked" signal
which carries an additional "GdkModifierType state" parameter as
in GimpCellRendererViewable .
* app/widgets/gimpcontainertreeview.c: emit "clicked" from
the toggle renderer, not "toggled" so the callbacks get the
modifier state.
* app/widgets/gimpdrawabletreeview.c: resurrected the "exclusive
visible by <shift>+click" feature as in 1.2.
* app/widgets/gimplayertreeview.c: compress layer opacity undos by
looking at the top of the undo stack and not pushing an undo if
there already is a GIMP_UNDO_DRAWABLE_OPACITY for the active
layer.
2003-03-18 02:02:41 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpLayer *layer);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_layer_lock_alpha (GimpImage *image,
|
Made drawable/layer properties (visibility, opacity etc.) undoable (fixes
2003-03-17 Michael Natterer <mitch@gimp.org>
Made drawable/layer properties (visibility, opacity etc.)
undoable (fixes bug #73893).
* app/core/core-enums.[ch]: added undo types/groups for
visibility, mode, opacity, linked and preserve_trans.
* app/core/Makefile.am
* app/core/core-types.h
* app/core/gimpitemundo.[ch]: new GimpUndo subclass which holds a
ref'ed GimpItem pointer so (1) this doesn't need to be done by all
undo steps related to an item and (2) the item the undo step is
for can be determined from outside the undo system.
* app/core/gimpimage-undo.[ch]: added gimp_image_undo_push_item()
which returns a new GimpItemUndo.
* app/core/gimpimage-undo-push.[ch]: use it for all item related
undo steps. Removed lots of GimpItem, GimpLayer, GimpDrawable
and GimpVectors pointers from the private undo structs. Added
undo push functions for the new undo types added above.
* app/core/gimpdrawable.[ch] (gimp_drawable_set_visible): added
"gboolean push_undo" parameter.
* app/core/gimplayer.[ch] (gimp_layer_set_opacity, _mode,
_preserve_trans, _linked): added "gboolean push_undo" parameters.
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimplayer-floating-sel.c
* app/tools/gimpmovetool.c
* app/xcf/xcf-load.c
* app/widgets/gimpdrawablelistitem.c
* app/widgets/gimplayerlistitem.c
* app/widgets/gimplayerlistview.c: changed accordingly.
* tools/pdbgen/pdb/channel.pdb
* tools/pdbgen/pdb/layer.pdb: ditto. Added '$undo' paramaters to
the foo_accessors() functions. Removed $func from foo_accesors()
because we don't manipulate items without using getters/setters
any longer.
* app/pdb/channel_cmds.c
* app/pdb/layer_cmds.c: regenerated.
* app/widgets/gimpcellrenderertoggle.[ch]: added "clicked" signal
which carries an additional "GdkModifierType state" parameter as
in GimpCellRendererViewable .
* app/widgets/gimpcontainertreeview.c: emit "clicked" from
the toggle renderer, not "toggled" so the callbacks get the
modifier state.
* app/widgets/gimpdrawabletreeview.c: resurrected the "exclusive
visible by <shift>+click" feature as in 1.2.
* app/widgets/gimplayertreeview.c: compress layer opacity undos by
looking at the top of the undo stack and not pushing an undo if
there already is a GIMP_UNDO_DRAWABLE_OPACITY for the active
layer.
2003-03-18 02:02:41 +08:00
|
|
|
const gchar *undo_desc,
|
2003-02-14 22:14:29 +08:00
|
|
|
GimpLayer *layer);
|
2002-02-24 01:29:19 +08:00
|
|
|
|
2004-04-01 22:51:58 +08:00
|
|
|
|
|
|
|
/* text layer undos */
|
|
|
|
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_text_layer (GimpImage *image,
|
2004-04-01 22:51:58 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpTextLayer *layer,
|
|
|
|
const GParamSpec *pspec);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_text_layer_modified (GimpImage *image,
|
2004-04-01 22:51:58 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpTextLayer *layer);
|
|
|
|
|
2002-02-24 01:29:19 +08:00
|
|
|
|
2005-03-25 06:15:10 +08:00
|
|
|
/* layer mask undos */
|
|
|
|
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_layer_mask_add (GimpImage *image,
|
2005-03-25 06:15:10 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpLayer *layer,
|
|
|
|
GimpLayerMask *mask);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_layer_mask_remove (GimpImage *image,
|
2005-03-25 06:15:10 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpLayer *layer,
|
|
|
|
GimpLayerMask *mask);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_layer_mask_apply (GimpImage *image,
|
2005-03-25 06:15:10 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpLayerMask *mask);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_layer_mask_show (GimpImage *image,
|
2005-03-25 06:15:10 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpLayerMask *mask);
|
|
|
|
|
|
|
|
|
2002-02-24 01:29:19 +08:00
|
|
|
/* channel undos */
|
|
|
|
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_channel_add (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpChannel *channel,
|
|
|
|
gint prev_position,
|
|
|
|
GimpChannel *prev_channel);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_channel_remove (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpChannel *channel,
|
|
|
|
gint prev_position,
|
|
|
|
GimpChannel *prev_channel);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_channel_reposition (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpChannel *channel);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_channel_color (GimpImage *image,
|
2003-03-17 10:25:39 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpChannel *channel);
|
2002-02-24 01:29:19 +08:00
|
|
|
|
|
|
|
|
2002-02-25 05:00:58 +08:00
|
|
|
/* vectors undos */
|
|
|
|
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_vectors_add (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpVectors *vectors,
|
|
|
|
gint prev_position,
|
|
|
|
GimpVectors *prev_vectors);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_vectors_remove (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpVectors *channel,
|
|
|
|
gint prev_position,
|
|
|
|
GimpVectors *prev_vectors);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_vectors_mod (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpVectors *vectors);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_vectors_reposition (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpVectors *vectors);
|
2002-02-25 05:00:58 +08:00
|
|
|
|
|
|
|
|
2002-02-24 01:29:19 +08:00
|
|
|
/* floating selection undos */
|
|
|
|
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_fs_to_layer (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpLayer *floating_layer,
|
|
|
|
GimpDrawable *drawable);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_fs_rigor (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpLayer *floating_layer);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_fs_relax (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpLayer *floating_layer);
|
2002-02-24 01:29:19 +08:00
|
|
|
|
|
|
|
|
|
|
|
/* parasite undos */
|
|
|
|
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_image_parasite (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
2006-04-02 22:44:32 +08:00
|
|
|
const GimpParasite *parasite);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_image_parasite_remove (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
const gchar *name);
|
2002-02-24 01:29:19 +08:00
|
|
|
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_item_parasite (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpItem *item,
|
2006-04-02 22:44:32 +08:00
|
|
|
const GimpParasite *parasite);
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_item_parasite_remove(GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc,
|
|
|
|
GimpItem *item,
|
|
|
|
const gchar *name);
|
2002-02-24 01:29:19 +08:00
|
|
|
|
|
|
|
|
|
|
|
/* EEK undo */
|
|
|
|
|
2007-01-30 02:49:06 +08:00
|
|
|
GimpUndo * gimp_image_undo_push_cantundo (GimpImage *image,
|
2003-02-14 22:14:29 +08:00
|
|
|
const gchar *undo_desc);
|
2002-02-24 01:29:19 +08:00
|
|
|
|
|
|
|
|
2003-02-14 22:14:29 +08:00
|
|
|
#endif /* __GIMP_IMAGE_UNDO_PUSH_H__ */
|