-
... , 170)); w.view.maxSize_(Size(*Window.screenBounds.extent.asArray)); w.layout = VLayout().margins_(4).spacing_(2); dropper = DragSink(w).object_("*** drop file here ***") .receiveDragHandler_ { |ds| var drag = View.currentDrag; var pathSep ...
-
... iimote", Rect.new(0, 0, 500, 500) ); window.alwaysOnTop = true; window.layout = VLayout.new( HLayout.new( StaticText.new.string_("status:"), statusText = StaticText.new.string_("scanning"), connectButton = Button.new.string_("connect") ), H ...
-
w = Window().front; w.layout = VLayout( HLayout( MultiSliderView().elasticMode_(1) .minSize_(Size(120, 200)).maxSize_(Size(180, 300)).indexIsHorizontal_(false).value_({ 1.0.rand } ! 17), UserView().minSize_(Size(200, 200)).maxSize_(Size(300 ...
-
... | if(action.notNil) { action.value(this) }; }); } initializeView { mainLayout = VLayout(); mainLayout.margins = 0!4; this.layout = mainLayout; textEditing = TextViewFactory.createInstance(this, class: "script-editor"); textEditing.string = ...
-
... er.put(key, action) }; // Window layout window = Window("DAC Tester") .layout_( VLayout( VLayout( HLayout( StaticText().string_("Default Server"), view.startButton, view.rebootButton, view.meterButton, ), HLayout( StaticText().string_("Outp ...
-
... s.width - historyWidthOffset, bounds.height - historyHeightOffset ) ); layout = VLayout(historyWindow); } }
-
... Spec= ControlSpec(-1, 1, 'lin', 0, -1); var controllers= List.new; view.layout= VLayout( HLayout( inA= RedNumberBox().maxWidth_(bw).maxHeight_(lh), RedStaticText(nil, nil, "inA ("++redMix.def.metadata.info.inA++")").maxHeight_(lh) ), HLayou ...
-
w = Window.new; w.layout = VLayout( Button().states_([["Foo"]]), 20, TextView().string_("Bar\nBar\nBar\n"), nil ); w.front mPage.layout_( VLayout([ Button, HLayout([ TextField(), 0.3, Button() ]), 0.2, Slider() ], Rect() // optionally give ...
-
... groundImage; var folder, files; var win= Window("sFiles", winRect); win.layout= VLayout(); win.layout.add( folder= DragSink().object_("drop folder or files here") .canReceiveDragHandler_{ View.currentDrag.isString or:{View.currentDrag.isArr ...
-
... w(name, winRect); rows= List.new; //one dictionary per keyboard row win.layout= VLayout( HLayout( SGUI.shrink(StaticText().string_("Incomming keycodes from HIDtoOSC:")), codeTextString= StaticText().fixedSize_(Size(140, " ".bounds(fntMono). ...