Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1735) Code (118) Doc (482) Help (111) Quark (1019) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. Collapsible Views by codepool (codepool) Code

    ... tion from the old SourceForge wiki. // Globally: ( w = Window.new; z = w.view.flow{ |view| view.decorator.gap=0@0; Button(view,80@80).states_([["unhide"],["hide"]]) .value_(1) .action_{ |but| if(but.value.b ...

  2. ResizeFlowWindow Quark

    ... izeFlowWindow { classvar windowMethods; classvar <>debug = false; var <window, <view, <>onClose; *initClass { StartUp.add({ windowMethods = #[acceptsClickThrough, acceptsClickThrough_, acceptsMouseOver, acceptsMouseOver_, alpha_, alwaysOnTo ...

  3. ResizeFlowWindow Quark

    ... izeFlowWindow { classvar windowMethods; classvar <>debug = false; var <window, <view, <>onClose; *initClass { StartUp.add({ windowMethods = #[acceptsClickThrough, acceptsClickThrough_, acceptsMouseOver, acceptsMouseOver_, alpha_, alwaysOnTo ...

  4. GMGridContainer Doc

    GMGridContainer: Filter: Description Usage Removing views onResize function Class methods new Inherited class methods Instance methods insertView removeView orientation margins Internal methods prArrangeViews prGetGridOrga Inherited instanc ...

  5. Demo of Model-View-Controller design by 0-cM (jamshark70) Code

    ... stion comes up often: What is the best way to structure GUI code. IMO, Model-View-Controller (when done correctly) gives you the most flexibility while avoiding common bugs. But it's hard to wrap your head around it first. So, here's a q ...

  6. UDragBin Quark

    UDragBin { classvar <>current; var <>view; var <>canReceiveDragHandler; var <>task; var <>color; *new { |parent, bounds| ^super.new.view_( UserView( parent, bounds ) ).init; } init { color = Color.blue; view.canFocus_( false ); view.canRece ...

  7. UDragBin Quark

    UDragBin { classvar <>current; var <>view; var <>canReceiveDragHandler; var <>task; var <>color; *new { |parent, bounds| ^super.new.view_( UserView( parent, bounds ) ).init; } init { color = Color.blue; view.canFocus_( false ); view.canRece ...

  8. SGUIelement Quark

    ... nt { //TODO optional smoothing, rounding subclasses? var <value, lastValue; var viewsSpecs, defaultSpec, lastViewValue; var >action; var softSetLastTime; *new { ^super.new.initSGUIelement; } initSGUIelement { value= 0; lastViewValue= 0; vie ...

  9. TempoMapGUI Quark

    TempoMapGUI { var <tempoMap; var <parent, <scrollView, <composite, <allViews, <localEvents; var <>action; var <viewHeight = 14; var <mode = \bar; var skin; *new { |parent, tempoMap, action| ^super.new.init( parent, tempoMap, action ); } ini ...

  10. TempoMapGUI Quark

    TempoMapGUI { var <tempoMap; var <parent, <scrollView, <composite, <allViews, <localEvents; var <>action; var <viewHeight = 14; var <mode = \bar; var skin; *new { |parent, tempoMap, action| ^super.new.init( parent, tempoMap, action ); } ini ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow