-
... quark. MultiTouchPad.gui; w = MultiTouchPad.guiWin; u = w.view.children.first; StaticText(w, Rect( 0, 0, 400, 100)) .stringColor_(Color.grey(0, 0.5)) .string_( "// shortcut keys for MultiTouchPad.guiWin: // m to maximise window // x to set ...
-
... ).states_( [ ["Show console"] ] ).action_( { DMXConsole.new( dmx ) } ); // GUI.staticText.new(w, Rect(0, 0, xsize - 2, 20)).string_("WiiMote" + wiimote.id + wiimote.address ) // .align_(0); //.background_(labelColor); cueview = GUI.composi ...
-
... l = argModel; this.view = View(parent, bounds); view.layout = VLayout( HLayout( StaticText() .align_(\center).fixedWidth_(50).string_("wtPos"), posSlider = LayoutValueSlider( initValue: 0, spec: [0, model.tables.size - 1.001] ) ), HLayout( ...
-
... Nil ) { labelWidth = (RoundView.skin ? ()).labelWidth ? 80; vws[ \labelView ] = StaticText( vws[ \view ], labelWidth @ 14 ) .string_( label.asString ++ " " ) .align_( \right ) .resize_( 4 ) .applySkin( RoundView.skin ); } { labelWidth = -4; ...
-
... , ["off", palette.button, Color.red] ]).fixedWidth_(30), nil ), infoTextString= StaticText().fixedHeight_(" ".bounds(fnt).height*6) .align_(\topLeft).background_(Color.grey(0.9, 0.5)) ); SGUI.report(win); SGUI.adapt(win); win.front; infoTex ...
-
... w,i| var vw_array = []; view.decorator = FlowLayout( view.bounds.moveTo(0,0) ); StaticText( view, 35@14 ).font_( eq[ \font ] ).align_( \right ).string_( "freq:" ); vw_array = vw_array.add( RoundNumberBox( view, 40@14 ).font_( eq[ \font ] ). ...
-
... retColor_(Color(0.9,0.9,0.9)) .background_(Color(0, 0, 0.3)) ; clockField = GUI.staticText.new(w, Rect((bound*3)+(inWidth*0.5), bound, (inWidth*0.5)-(bound*2), 30)) .align_(\center) .stringColor_(Color(1.0, 0.0, 0.0)) .background_(Color(0,0 ...
-
... DrawIcon.symbolArgs( iconName, vw.bounds ); }).canFocus_( false ); stringView = StaticText(window, Rect(80,4, window.bounds.width - 84, window.bounds.height - 28 ) ) .string_( string ).font_( Font( "Helvetica-Bold", 12 ) ); //.align_( \cent ...
-
... ); buttonTextColor = Color.white; if(string.isNil, {string = "Are you sure?"}); StaticText.new(dialog,Rect(30, 10, 220, 50)) .string_(string) .align_(\left); Button.new(dialog,Rect(30, 70, 100, 20)) .states_([ [ "Do it", destructiveButtonTe ...
-
... t = Font("Monaco", 10); // Pen.font_(Font("", 12)); zone.resize_(5); nameView = StaticText(zone, Rect(0,0, 50, 20)) .font_(font).string_("weights"); inNameView = UserView(zone, Rect(0,0, 200, 20)) .resize_(2); // elastic horiz inNameView.dr ...