Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (37) Code (1) Doc (10) Quark (26) SCDoc ↗ Forum ↗ Google ↗
  1. PeriodicUpdater Doc

    ... stop updates. Inherited instance methods Examples ( ~updater = PeriodicUpdater(QtGUI, \cursorPosition); ~updater.connectTo({ |obj, changed, value| "Mouse position has changed to: %".format(value).postln; }); ) ~updater.stop.releaseDependan ...

  2. PMacUGens Quark

    ... 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 ...

  3. UPopUpMenu Quark

    ... 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 ...

  4. News-Qt-GUI Doc

    ... view using View: -palette . By default, a window will get the global palette ( QtGUI: *palette ), and the palette is inherited by child views from their parent. Thus, changing the parent's palette will also affect its children, unless the ...

  5. Cavern_Class by scottintokyo (Scott L Simon) Code

    ... an, env*amp_z)); }).add; Server.default.sync; } makeGui{ QtGUI.palette = QPalette.dark; // main window (for now) mWin = Window.new("Synther1", Rect( left:20, top:20, width: 300, height: 400 ),border ...

  6. CollidingGUI Quark

    ... bView.removeAt(0); } init{|anApp| app = anApp; GUI.qt; palette = QPalette.dark; QtGUI.palette = palette; Font.default = Colliding.guiFont; buf = Buffer.alloc(app.server, 1024, 2); bus = Bus(\audio, 0, 2, app.server); synth = BusScopeSynth(a ...

  7. JMDrawIcon Doc

    ... function Returns: an Event (\key1: func, \key2: func) . lightColor defaults to QtGUI.palette.window Allows for painting a contrasting light/dark color, using the default window background color. For icons that need a punchout surface, like ...

  8. GUI Doc

    ... gap: 0@0, margin: 2@2, buttonHeight: 16 ⧉ ✔ GUI. add ( aScheme ) GUI. qt Makes QtGUI the current scheme and returns it. Subsequent GUI object calls to GUI are delegated to Qt. Returns the current (Qt) scheme. GUI. fromID ( id ) Changes the ...

  9. GUI-Introduction Doc

    ... 0.8), Color.red(0.5)); y = QPalette.auto(Color.cyan(1.4), Color.cyan(1.8)); p = QtGUI.palette; QtGUI.palette = x; w = Window.new("GUI Introduction").front; w.onClose = {QtGUI.palette = p}; Button.new(w, Rect(10,10,100,30)).states_([ ["Red", ...

  10. FancySlider Quark

    ... DownAction( char, modifiers, unicode, keycode, key) }; }; (GUI.current.name == \QtGUI).if{ this.keyDownAction = {arg v,char, modifiers, unicode, keycode, key; this.q_defaultKeyDownAction( char, modifiers, unicode, keycode, key) }; }; slider ...

prev 1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow