[Tuxpaint-devel] switchin() switchout()
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: foo-script <foo...@o2...> - 2008-07-13 14:56:52
|
I see many useful applications of these functions, but I can't solve this: Tuxpaint calls switchout() when user decides to create new image, but also calls this function when user uses Undo. Can I avoid calling switchout() when Undo? 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. Best, Adam |