Any ideas on how to create and/or hook up an "undo" button to the lcd object?
I’ve searched online and found a patch that creates an undo button but it doesn’t hook up to the lcd object. Any tips?
like somebody here recently said in a similar situation: please be more vague.
what do you want to "undo"? a quickdraw-style command?
I’m going to try it with sprite recordings….
it is a lot of work but possible.
"undo" means keeping track of every action … in the case of lcd every
command to sprites, pictures, quickdraw-style messages or whatever.
all these things are messages .. usually lists …. so you need to find a way
how sotre and recall all those messages you are going to send (and undo/redo)
if you do it right, you will end up with something which works with other
objects or whole patches, too …
probably [coll] or [jit.cellblock] or even [umenu] to store the lists, then you can recall whatever ones you want. you can hack together an undo with [preset] too.
in the end I used: writepict and readpict.
made a perfect undo and redo system!
only thing is that it doesn’t save to ram but
to hd in separate files, so it could be slow. But
in my case it is not slow at all. Don’t
experience any difference…
Log in to reply
SUBSCRIBE TO OUR NEWSLETTER
C74 RSS Feed | © Copyright Cycling '74 | Terms & Conditions