-
... color.blue = (color.blue + amt).linlin(0,1,0,1); ^color } init { var mod = if (QtGUI.palette.window.asHSV[2] > 0.5) {-0.2} {0.2}; buttonColor = QtGUI.palette.button; faintGreen = ServerWidgetBase.brightenColor(buttonColor.blend(Color.green ...
-
... ize = Window.screenBounds.extent; } *pos { if (task.isPlaying) { ^pos }; ^pos = QtGUI.cursorPosition; } *initTask { task ?? { task = SkipJack({ pos = QtGUI.cursorPosition; if (pos != prevPos) { this.doActions; }; prevPos = pos; }, 0.02, fal ...
-
... ize = Window.screenBounds.extent; } *pos { if (task.isPlaying) { ^pos }; ^pos = QtGUI.cursorPosition; } *initTask { task ?? { task = SkipJack({ pos = QtGUI.cursorPosition; if (pos != prevPos) { this.doActions; }; prevPos = pos; }, 0.02, fal ...
-
+ Menu { uFront { |point, action| var tempAction; point = point ?? { QtGUI.cursorPosition; }; action = action ?? { tempAction = MenuAction(); }; this.invokeMethod(\popup, [point, action]); tempAction !? _.destroy; } deepDestroy { this.actio ...
-
... All other drag accepted (but a handler must be defined ret; }); (context.name==\QtGUI).if {this.pr_interTabDragActions} { widget.beginDragAction_({ this }); widget.receiveDragHandler_({arg v, x,y; }); }; } refreshMouseMoveHandler{ var rotat ...
-
... All other drag accepted (but a handler must be defined ret; }); (context.name==\QtGUI).if {this.pr_interTabDragActions} { widget.beginDragAction_({ this }); widget.receiveDragHandler_({arg v, x,y; }); }; } refreshMouseMoveHandler{ var rotat ...
-
... nux you will need to have installed SuperCollider >= 3.5 as CVCenter depends on QtGUI. Under MacOSX CVCenter *should* be compatible with SC >= 3.4 resp. QtGUI as well as Cocoa. Using CVCenter with the current stable version of SuperCollider ...
-
... nil ).margins_(0).spacing_(0))) ) ).spacing_(0).margins_(8)); view.background = QtGUI.palette.window; view.onClose = { this.autoUpdate(false); view = nil; viewsInUse.clear(); viewMap.clear(); }; wrapperView.front; wrapperView.autoRememberPo ...
-
... osition ?? {Point(0, 0)}; screenBounds= Window.screenBounds; SkipJack({ var cp= QtGUI.cursorPosition; cursorPosition= cursorPosition+(cp-cursorPosition/(cursorLag+1)); }, updateRate, false, \PMouse, AppClock); }); } storeArgs {^[minval, max ...
-
... bled = false; selected = item; } { item.enabled = true; }; }); }; ^menu.uFront( QtGUI.cursorPosition - (20@0), action: selected ); }; } destroyMenu { if( menu.notNil ) { menu.deepDestroy; menuActions = nil; menu = nil; }; } update { if( val ...