I'm refining a bit this undo stuff: I've added more events to Undo system (adding a clip to track, adding a new track, track renaming, and so on). I have added a Tree-view panel as well for history on main window, it could get useful to implement a "go directly back to that stage" function clicking on it.
cheers, francesco Il giorno ven, 22/01/2010 alle 15.44 +0100, francesco fantoni ha scritto: > I have a first working proof-of-concept of a Undo/history system, but > it's still buggy and unstable, and besides I'm not sure it's the best > way to go. > It has the advantage that it doesn't need too many changes in existing > code, as it tries to reshape a bit and use parts of code that are > already there. > The downside is that it uses a rather "rough" concept, saving states of > the project object in a stack serializing them with cPickle, so > restoring the previous state is not faster than light, but it works. > I'm sure it can be done a lot better than this, so I hope that someone > more experienced than I am can review my code and see if it is worth > working on it or if it is totally dumb. > > the branch is this: > lp:~francesco-hermanitosverdes/openshot/francesco_undo_redo_test > > best regards to everyone > francesco > > > > -- architetto Francesco Fantoni <HVA - Hermanitos Verdes Architetti> l.go san giacomo, 38 I-41100 modena (italia) tel.& fax. +39.059.217554 skype: hva_studio e.mail: [email protected] web: http://www.hv-a.com _______________________________________________ Mailing list: https://launchpad.net/~openshot.developers Post to : [email protected] Unsubscribe : https://launchpad.net/~openshot.developers More help : https://help.launchpad.net/ListHelp

