Re: [Tuxpaint-devel] switchin() switchout()
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Albert C. <aca...@gm...> - 2008-07-13 18:13:47
|
On Sun, Jul 13, 2008 at 10:56 AM, foo-script <foo...@o2...> wrote: > Using switchin() I create an important data - table. Each image can have quite different values in this variable, so each switchout() frees this data (in case of creating new image). Undo also calls switchout() - that's makes problem. It sounds like these are not the functions you are looking for. Perhaps you'd be better off with the ability to attach your table to the history stack. There could be a destructor function that gets called when the history level is freed. |