[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-devel
Subject: Re: Generic undo stack for GTK+
From: Martin Nordholts <enselic () gmail ! com>
Date: 2010-06-17 5:13:24
Message-ID: 4C19AEF4.8050709 () gmail ! com
[Download RAW message or body]
On 06/16/2010 10:49 PM, Tristan Van Berkom wrote:
> For instance, consider '+' = do and '-' = undo:
>
> 4 7
> | /
> 3 5
> |/
> 2
> |
> 1
>
> Would translate to: +1 --> +2 --> +3 --> +4 --> -4 --> -3 --> +5 --> +7
It would be inconvenient to perform operations on that representation of
a tree though, like answering the question "how many different paths can
I take from 2?".
> That being said, I am over all skeptical about this API addition inasmuch
> as most applications need it in a different way
I'm also sceptical. There are too many different ways to implement Undo.
The generic solution would only represent one way, which doesn't make it
generic enough IMO.
/ Martin
--
My GIMP Blog:
http://www.chromecode.com/
"Automatic tab style and removed tab title bar"
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic