Re: Undo and Redo



Thanks,
Bernib.

But if the user cuts some selection from a treeview and set the focus to another treeview, when he undo'es, how could I know where the cut information belongs to?

Regards,
Arthur

2007/2/5, Bernd Robertz <bernibaerchen berndibub de>:
Hello,

I think one way could be, that you store your data for redo/undo in an array (like std::vector, or something like this).
Than you can get with every redo/undo the data stored in that array with "popping/pushing" that array.

Regards
Bernd


Am Montag, 5. Februar 2007 13:56 schrieb Arthur Maciel:
> Hi there.
> Could anyone tell me how I could implement an undo/redo system into my
> libglademm/gtkmm project?
> I could not find information on gtkmm book.
>
> Thanks.
>
> Regards,
> Arthur
>





___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]