-
SuperCollider GUIDES GUI Custom Views A guide to creating custom views by subclassing UserView See also: UserView , Writing Classes , Introduction to GUI Tutorial 1. Setup instance vars appropriate to your widget 2. Define the *viewClass me ...
-
A GUI example of nesting Views and multiplying widgets, including mouse actions and Pen drawing for each of the views. Thanks to hjh for spotting an early bug on sc-users. Add your own sound... ( var numX=12, numY=8, width, height, margin; ...
-
... cEditBtns, <oscCalibBtns; var <midiEditGroups; var <oscTabs, <midiTabs; var midiView0, midiView1, oscView0, oscView1; var oscFlow0, <oscFlow1, midiFlow0, <midiFlow1; var cTabView3; *new { |widget, tab| ^super.new.init(widget, tab); } init { ...
-
... this opens a ClassGui which shows the structure and variables of the Class. If viewing in the context of an Insp then it opens this view in the currenly active InspManager window. Class Methods . new Arguments: class layout the parent view ...
-
... bounds = bounds . clear . gap . gap = gap . margin . margin = margin . place ( view ) . remove ( view ) Help template Copy and paste the text below and save to HelpSource/Classes/Decorator.schelp TITLE:: Decorator summary:: (put short desc ...
-
... color eq scale Inherited instance methods Examples Classes (extension) | GUI > Views'>Views | Libraries > jostMlib'>jostMlib CollapseButton Extension A button for the CollapseView Location: NOT INSTALLED! See also: jostMlib , CollapseView ...
-
asCode SCView extensions part of wslib Method for generating GUI style code from SCView objects note: asCode only works on CocoaGUI objects for now asCode ( varName, extraMethods ) asCode works as an 'asCompileString' for SCViews. varName : ...
-
... } init{ w = Window.new( "SenseWorld DataNetwork", Rect( 0, 130, 400, 150 ) ); w.view.decorator = FlowLayout.new( Rect( 0, 0, 400, 100), 5@5, 5@5 ); button1 = Button.new( w, Rect( 0, 0, 190, 80)).states_( [["View data nodes"]]).action_( {net ...
-
... ~simpleButton.value(win, Rect(0, 0, 20, rect.height)); playButton .action_({ | view | var val, msg; val = view.value; [ {player.stop; }, {player.play; }, {player.pause}, {player.resume; view.value = 1 } ][val].value; }) .onClose_({ ctl.rem ...
-
ToggleSwitch : SCViewHolder { classvar >defaultOnColor, >defaultOffColor; var <value=0,>font,toggleSize,>labelOffset=5,>radius=\auto,>knobInset=3,>label,>label2,labelColor,>offColor,<>drawRect, >onColor,>borderColor,<>drawFunc,toggleRect,>b ...