-
... 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 ...
-
... s" , Rect (200, 800, 600, 600)); // SCWindow (0,3..arr.size-1).do{ |index| GUI .staticText.new(w, Rect ( (arr[index] +1 * 300 ), (arr[index+1] +1 * 300 ), 20, 20)).string_( "x" ).background_(~cols[arr[index+2].linlin(-1, 1, 0, ~cols.size-1) ...
-
... 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 ...
-
... so: NumberBox Description EZNumber is wrapper class which creates an (optional) StaticText , and a NumberBox . Some Important Issues Regarding NumberBox If the parent is nil , then EZNumber will create its own window. See EZGui more options ...
-
... (128, 64, 340, 160)); w.front; c = Slider .new(w, Rect (10, 10, 300, 30)); d = StaticText .new(w, Rect (10, 40, 300, 30)); c.action = { d.string = "unmapped value" + c.value.round(0.01) + "......" + "mapped value" + a.map(c.value) }; ) // ...
-
... 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 ...
-
... 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 ...
-
... = { if(undoAr[0].notNil == true) { undoAr.removeAt(0); }; }; }; // source index StaticText(win, Rect(4, 3, 50, 20)).string_("Source"); sourceNum = StaticText(win, Rect(50, 3, 30, 20)).string_("1"); sourceName = TextField(win, Rect(85, 3, 15 ...
-
... { }); v = VLayoutView(w, Rect(140, 20, 200, 300)); // Group the following views StaticText(v, Rect(20, 20, 180, 60)) .string_("The button does nothing at first, so try dragging a function to the button"); DragSource(v, Rect(20, 20, 80, 26)) ...