-
... p; if(port.notNil, { port.close; }); }; }).play(AppClock); buttons[0].action= {|view| if(view.value==1, { sendOsc.value([]); }); }; buttons[1].action= {|view| if(view.value==1, { sendOsc.value([]); }); }; [$,, $m, $n, $b, $v, $c, $x, $z].do ...
-
... eight));\ \ w.onClose = \ sync.stop; chat.stop; if(log) \ file.close \; \;\ \ w.view.decorator = FlowLayout (w.view.bounds);\ w.view.background = Color .grey(0.8);\ \ w.view.decorator.shift(10, 0);\ \ SCButton (w, Rect (0,0, 60, 35)).states ...
-
... //abstract class classvar currentPalette, <>font, <>themes, <currentTheme; var <view, >action; *initClass { themes= ( dark: QPalette.dark.highlight_(Color.green(1, 0.75)), light: QPalette.light.highlight_(Color.green(0.5, 0.5)), default: QP ...
-
... se SwingOSC for proper umlauts in visualization ( var win, extX, extY, winRect, view, fontName, strings, numbers, countSpec, sizeSpec, alphaSpec, colorSpec, sFactor = 0.25; #numbers, strings = (d.flop); strings = strings.collect{|str| var y ...
-
... ne on unicode value from keystroke // arrow keys, pass to default action of the view who has focus now (63232..63235) -> { |instance, view, char, modifiers, unicode, keycode| view.defaultKeyDownAction(char, modifiers, unicode); nil // means ...
-
... tead\n" .postf( device ) }; this.class.addDevices( [ device ] ); ^device; } makeView { |parent, bounds, label, action, resize| var multipleActions = action.size > 0; var vw; var ctrl; var fillPopUp; this.class.refreshDevices; vw = EZPopUpMe ...
-
... ersion 1.29 *******/ /** thanks to sciss for cross platform bug fixes **/ TabbedView { var labels, labelColors, unfocusedColors, backgrounds, stringColor, stringFocusedColor, <>focusActions, <>unfocusActions, <focusFrameColor, <>unfocusTabs ...
-
... pitchCircle.drawSet(chord); chord.postln; win.refresh; }) .keyDownAction_({arg view, key, mod, unicode; if (unicode == 13, { play.valueAction_(1) }); if (unicode == 16rF700, { view.valueAction_(view.value+1) }); if (unicode == 16rF703, { v ...
-
/******* by jostM http://www.glyph.de *******/ FancySlider : SCViewHolder { var <>step, <value=0, <>sliderColor,<>knobColor, <>orientation=\horizontal,<>frameColor,<>drawFunc, <>thumbSize=7; var <>shift_scale = 100.0, <>ctrl_scale = 10.0, < ...
-
// 2008 by till bovermann // bielefeld university ScatterView2 { var <plot, <>background; var <>colorFunc; var <>itemSize = 2, <>drawMethod = \lineTo; //var <>highlightColor, <highlightItem, <>highlightSize, <>isHighlight, <>drawAxis, <>dra ...