-
/* ( w = Window.new("test", Rect(0,0, 800, 600)).front; w.view.decorator = FlowLayout.new(w.view.bounds); b = { var spec = Spec.specs.select({|x| x.isKindOf(ControlSpec)}).keys.choose; MinBox.new(w, (0@0)@([rrand(20,100)@rrand(20,100)].choo ...
-
... sButtonLeft, ampLinesButtonRight, ampLinesPopup; var ampUsr, ampUsrAnim, ampUserView; var ampLfoDepthElement= SGUIelement(); var ampLfoDepthSpec= ControlSpec(0, 100, 'lin', 1, defaultAmpLfoDepth, "%"); var ampLfoRateElement= SGUIelement(); ...
-
ToggleTextField : SCViewHolder { // text field that is programmatically switchable on or off // when on, keyboard input goes into the string and is "trapped" // (no key bubbling) // when off, keyboard input bubbles up without going into the ...
-
ToggleTextField : SCViewHolder { // text field that is programmatically switchable on or off // when on, keyboard input goes into the string and is "trapped" // (no key bubbling) // when off, keyboard input bubbles up without going into the ...
-
... GameOfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ CodeEditView { var <>object, <cs; var <view, <textView, <okButton, <cancelButton, <revertButton, <labelView; var <>action, <>failAction; *new { |parent, bounds, object, ...
-
... ne on unicode value from keystroke // arrow keys, pass to default action of the view who has focus now (65361..65364) -> { |instance, view, char, modifiers, unicode, keycode, key| view.defaultKeyDownAction(char, modifiers, unicode, keycode, ...
-
ServerView : Singleton { classvar panelTypes, <>widgets, <actions, <>border=true, showOnBoot=true, serverViewShown=false; var <>view, <window, widgetLayout, server, <>widgets, containers; *initClass { panelTypes = IdentityDictionary(); widg ...
-
... *new { ^super.new.initXiiImageConverter; } initXiiImageConverter { var win, listview, files, format, height, width; var widthbox, heightbox, formatpop, convertbutt, dskbut, desktop; var htmlstring; files = []; width = 800; height = 0; deskt ...
-
... lay failed this.playUpdateGui(result); } playUpdateGui { arg playResult; parent.view.notClosed.if({ { parent.view.background_( // yellow if no play, green if it went ok playResult.isNil.if({ Color.new255(255, 248, 60) }, { Color.green }) ); ...
-
... lay failed this.playUpdateGui(result); } playUpdateGui { arg playResult; parent.view.notClosed.if({ { parent.view.background_( // yellow if no play, green if it went ok playResult.isNil.if({ Color.new255(255, 248, 60) }, { Color.green }) ); ...