hi jan,i had done a quick conversion a while ago, but it didn't work too well because of some tricks that only works properly with the cocoa version (i forgot, i think it was about the fake points that were inserted to create curve shapes, they always moved away at some point...).
spotlights finds a file JSCEnvelopeEdit2.sc on my harddisk, maybe that is helpful (well, it shows the crappy behavior as mentioned above). i'm sorry i cannot affort any extra activities at the moment, ...
( // make a basic editor e = Env.adsr; w = JSCWindow("Env Editor", Rect(200,200,300,200));v = JSCEnvelopeEdit2(w, w.view.bounds.moveBy(20,20).resizeBy (-40,-40), e, 20).resize_(5);
w.front; ) ciao, -sciss- Am 17.01.2008 um 11:21 schrieb Jan Trutzschler:
Hi, shall i commit Lance Putnam's SCEnvelopeEdit? I'm also about to make a swing version: JSCEnvelopeEdit or has anyone else done that already? Jan _______________________________________________ Sc-devel mailing list Sc-devel@xxxxxxxxxxxxxxx http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
Attachment:
JSCEnvelopeEdit2.sc
Description: Binary data