@Tibor
Rather than using gimp_image_undo(GimpImage *image),
You can use a Array which stores all [input parameters]variable values which has been changed
and using GTK you can implement an undo button which would apply the variables in the last term of the array.Rather than using gimp_image_undo(GimpImage *image),
You can use a Array which stores all [input parameters]variable values which has been changed
This can only undo the stuff which u do in the plugin.
On Wed, Apr 24, 2013 at 3:51 PM, Tibor Bamhor <tiborb95@xxxxxxxxx> wrote:
_______________________________________________gimp_image_undo(GimpImage *image)I found this call:Hi,I want for some reason to implement undo within a plugin (window).
I just do not know what whould be put into brackets. Can you advice?
I have this line in my plugin:
image_ID = param[1].data.d_image (I just copy/pasted it from some plugin template), is this what I am searching for?Or the undo might be done for the layer only, this might be even better...Thanks
gimp-developer-list mailing list
gimp-developer-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gimp-developer-list
_______________________________________________ gimp-developer-list mailing list gimp-developer-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gimp-developer-list