-
... e tab positions and orders focusHistory, <window, <context, // thu GUI COntext <pen, >closeIcon, >detachIcon, labelAlign=\auto, left = 0, // probably obsolete top = 0 // probably obsolete ; *new{ arg parent, bounds; ^super.new.init(parent, ...
-
... eil.do({ |i| (bounds.width/tileSize).ceil.do({ |ii| if( ((i + ii) % 2) == 1 ) { Pen.addRect( Rect( ii * tileSize, i * tileSize, tileSize, tileSize ) ); }; }); }); Pen.fillAxialGradient( bounds.leftBottom + (0@(tileSize.neg)), bounds.leftTop ...
-
... xtH)) .align_(labelAlign) .font_(Font("Helvetica", labelSize)) .string_(""); // Pen draws in here usrView = UserView(compView, Rect(0, txtH, size, size)).canFocus_(false); scs= XiiDiscs.new; // does the interval calcs dotsColFn = { Color.bl ...
-
... = that.scale; radius = that.radius * scale; // Draw outline Pen.line(that.ox@that.oy,that.x@that.y); // not in qt... if((GUI.scheme == "CocoaGUI") and: (radius > 5.0), { Pen.setShadow(1@1, scal ...
-
... ing;\ var format = [340, 360];\ var colors = [ Color .black, Color .gray];\ var penWidth = 1;\ \ \ // based on example of SCUserView \ drawing = \ | collective | \ \ var w, v, txt, tmppoints, undone, all, participation;\ tmppoints = (); // ...
-
... .3; var outer= view.bounds.height*0.5; var slice= 2pi/RedMst.clock.beatsPerBar; Pen.color_(colFore); RedMst.clock.beatsPerBar.do{|x| Pen.addAnnularWedge( midPnt, inner, outer, x*slice+1.5pi, slice ) }; Pen.stroke; Pen.addAnnularWedge( midPn ...
-
... super.interactionRect.width * colorPickerWidth) - (margin * 1.5)).do({ |xIndex| Pen.addRect( Rect( super.interactionRect.left + margin + xIndex, yOrigin, 1, ( (super.interactionRect.height - (margin * 3)) * (1 - previewHeight) ) ); ); Pen.f ...
-
... Pt; if (ghostPos.notNil) { xpos = ghostPos * width; centPt = xpos@(height*0.5); Pen.color_(dict[\ghostCol]); Pen.width_(1); Pen.addRoundedRect(Rect.aboutPoint(centPt, 8, height*0.5 - 2), 5, 5); Pen.addArc(centPt, 5, 0, 2pi); Pen.stroke; }; ...
-
... {|view| var mult = view.bounds.extent.asArray; // clipping into the boundingbox Pen.addRect( view.bounds.moveTo( 0, 0 )); Pen.clip; // draw Background Pen.color = background; Pen.addRect( view.bounds.moveTo( 0, 0 )); Pen.fill; normedData.do ...
-
... s.height); blackKeySize= Size(whiteKeySize.width*0.6, whiteKeySize.height*0.6); Pen.push; x= 0; Pen.strokeColor= Color.black; keys.do{|key| var strRect, velPoint; if(key.isWhite, { key.put(\rect, Rect(x, 0, whiteKeySize.width, whiteKeySize. ...