[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: Undo system
From:       "Sven Langkamp" <sven.langkamp () gmail ! com>
Date:       2007-03-09 18:34:54
Message-ID: 478b087a0703091034o49ab08f0iabca6c2c8ccce509 () mail ! gmail ! com
[Download RAW message or body]

On 3/8/07, Sven Langkamp <sven.langkamp@gmail.com> wrote:
> - At the moment the commands in KisImage work recursive, which should
> be avoided. It's not clear who is responsible for the locking of the
> image. There are cases where the image is locked and unlocked three
> times.
>
> I think the locking of the image should be done by the command only.
>
>
> - There isn't a KisCommandHistoryListener at the moment, but it's
> needed for the transform tools. My idea was that KisDoc2 could
> override the addCommand function, but would make the transform tool
> Krita only.

The more I look into this the more I fear that I will have to
reintroduce KisUndoAdapter for the new Undo System. Without it many
things would break, especially the locking of the undo stack and the
big dependency on macro commands.
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic