-
//f.olofsson 2019 SGUI { //abstract class classvar currentPalette, <>font, <>themes, <currentTheme; var <view, >action; *initClass { themes= ( dark: QPalette.dark.highlight_(Color.green(1, 0.75)), light: QPalette.light.highlight_(Color.gree ...
-
... , bounds).front}, bounds) }, draw: { arg pen, bounds, style; pen.color = style['fontColor']; pen.font = style['font']; if(style['center'], { pen.stringCenteredIn(~name.value, bounds) }, { pen.stringLeftJustIn(~name.value, bounds.insetBy(2, ...
-
... ath.asWFSPath2.draw( 1, pixelScale: vw.pixelScale * 1.5, color: color); } { Pen.font = Font( Font.defaultSansFace, 16 ); Pen.color = Color.red(0.66); Pen.stringAtPoint( "?", 5@0 ); }; }) .mouseDownAction_({ |vw, sx, sy, mod, x, y, isInside, ...
-
... = StaticText.new(this); subView.string = parameterName.asString ++ ":"; subView.font = Font(Font.defaultSansFace, bold: true); currentLayout.add(subView); labelString = ""; lineHeight = 0; totalHeight = 0; // NumberBox // RangeSlider // Sco ...
-
... ata; // Miscellaneous variables var numberOfPoints, timeScale, win, subwin, font, labelColor, windowColor, presetArray, presetButtons, masterOut; /* , , , , , , , , , , freqRatioDisplayAnumber, freqRatioDisplayBnumber, , , , , ; ...
-
... ct(0,40,50,20))); StaticText(v,Rect(0,60,50,20)) .string_(name).align_(\center).font_(Font("Futura", 10)); }; }, simpknob: { |win, name, cv, rect| var v; ~label.value(win, name); cv.asArray.do { |cv| v = CompositeView(win, Rect(0,0,50,60)); ...
-
... awFunc = { |uv| Pen.stringCenteredIn( "q.draw.demoUV.drawFunc runs", uv.bounds, Font("Futura", 24), Color.white ); }; // make sure history has a line History.enter("// this is a historic line"); // and show the last entered code line on the ...
-
... ~tex_1 = StaticText(w.view, 80@20) .string_("Button_1") .align_(\center) .font_(Font("Monaco", 10)) .background_(Color.white); ~tex_2 = StaticText(w.view, 80@20) .string_("Button_2") .align_(\center) .font_(Font("Monaco", 10)) ...
-
... hods new Inherited class methods Instance methods Changing Appearance setColors font Inherited instance methods Undocumented instance methods initViews listView Examples Classes | GUI > EZ-GUI'>EZ-GUI EZListView : EZLists : EZGui : Object A ...
-
... thods Inherited class methods Undocumented class methods * new ( name , units , font ) Instance Methods Inherited instance methods Undocumented instance methods - init - span - span = value - value - value = val From superclass: Object - vi ...