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

List:       kde-kimageshop
Subject:    undo/redo
From:       Matthias Elter <me () main-echo ! net>
Date:       1999-08-09 10:30:56
[Download RAW message or body]

Hi

I just saw Michaels commit on kde-cvs (hooks for undo/redo functions)
and as I'm unsure how we should handle undo/redo I start a discussion
here.

IMHO we should provide unlimited undo/redo. A possible mechanism I could
think of is:

There are two different modifications:

- Modifications of image data: We have to make snapshots of modified
areas per layer.
We should keep the last few snapshots in memory (let the user adjust the
max. memory that may be used for undo) and save older snapshots on disk.
 
- Other modifications that do not effect the image data (zoom in/out,
ruler metric changes etc.): We just have to save the action that has
been done.

Greetings, Matthias

-- 
Matthias Elter
me@kde.org / me@main-echo.net
KDE developer
Computer science student university of Wuerzburg, Germany

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

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