Hi everyone,
I am using supercollider and quartz composer in a visualization project, but I have run into a small hiccup.
The keyDownAction method works fine on an empty window to toggle full screen, but when I add the QC stuff it doesn't respond. Do I have to use a SynthDef on the server paired with OSCresponder?
(
w = SCWindow("ligeti", Rect(0, 0, 800, 600), border:false);
w.view.background = Color.black;
w.view.keyDownAction = { arg view, char, modifiers, unicode, keycode;
[char, keycode].postln;
if (keycode == 53, {
w.close;
});
};
m = SCQuartzComposerView(w, Rect(0,0, 800, 600));
m.path = "/Users/gcorne/Current_Projects/ligeti/ligeti.qtz";
w.fullScreen;
w.front;
)
Thanks in advance,
Greg
_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users