-
... <>dragOn=4; // pixel distance to initiate drag or a symbol like \isCntrl var <>background, <styles, <defaultStyle; var pen, boxWidth, boxHeight, boxBounds, font; var plus, mainInlets, mainOutlets, mainPlus; *new { arg mx, w, bounds; ^super ...
-
... dr.respondsTo( \myIP ) }) { ip = NetAddr.myIP; } { ip = s.addr.ip; }; composite.background = Color.gray(0.5).alpha_(0.2); StaticText(composite, Rect( 22, 2, 200,16 ) ) .font_( font.boldVariant ) .toolTip_( "LoadBalancer %, % Servers\n\n".fo ...
-
... .height - style.winLoc.y; w = win; w.alwaysOnTop_(true).userCanClose_(false); w.background_(style.winCol); w.layout = VLayout( *(butz = numB.collect { Button(w).states_([this.blankState]).font_(style.font) }) ); ^win.moveTo(winLocX, winLocY ...
-
... ).front; vLayoutView = VLayoutView(window, Rect(0,0,width,height)); window.view.background_(Color.grey(0.8)); this.displayPreferenceControls(vLayoutView); this.createButtons(vLayoutView); } displayPreferenceControls { |view| preferences.do ...
-
... tWindow : Radicles {var text, <>megaString, <>time=0.1, <>deviation=0.01, win, <backgroundColor; *new {arg window, bounds, font, qpalette; ^super.new.initBasicClass(window, bounds, font, qpalette); } initBasicClass {arg window, bounds, font ...
-
... chain.notes_( tf.string ); } { chain.notes_( nil ); }; updateNotes = true; }) .background_( Color.gray(0.8) ) .resize_(5); composite.decorator.nextLine; //composite.decorator.top = composite.bounds.height - (PresetManagerGUI.getHeight + 8 ...
-
... e gradients here, because the tabs are drawn with Pen. Gradients only work with background_; Custom color schemes and shapes can be controlled with instance variables or with the *new variations below. name a name for the window if a new wi ...
-
... format(b.id, b.user["login"], b.description, title, b.files[title]["content"])).background_(Color(0.9, 0.9, 0.9, 1.0)).syntaxColorize } ) ///////////////////// create a tip /////////////// // write your tip into a separate document; // firs ...
-
... GUI .window.new( "draw on us" , Rect (128, 64, format[0], format[1]));\ w.view.background= colors[1];\ \ participation = Participation (collective).start;\ \ participation.addResponder( '/track' , \ |t,r,msg| \ var point = msg[2] @ msg[3]; ...
-
... oltipWindow, Rect(5, 2, text.size * 8 + 10, 16)) .string_(text) .align_(\left) .background_(Color.grey(0.9)) .font_(Font("Helvetica", 12)); tooltipWindow.front; }); }; // Función para ocultar el tooltip hideTooltip = { if (tooltipWindow.not ...