-
... iew.resize_(resize) } ok { okButton.doAction } revert { revertButton.doAction } font_ { |font| labelView !? { labelView.font = font }; [ revertButton, okButton ].do(_.font_(font)); } }
-
/* Problem: font setting does not really work yet on OS X. Seems to work with Post Window though. */ HelpDoc { var <>name, <>segments; *new { |name, segments| ^super.newCopyArgs(name, segments); } makeGUI { // ... var window = Window(name ? ...
-
... r <eqSetting, <view, <plotView, <ctrl; var <active = true; var <selected; var <>font, <>viewHeight = 14, <resize = 5; var <min = 20, <max = 22000, <range = 24; var <showLegend = true; var <>action; *new { |parent, bounds, eqSetting| ^super. ...
-
... r <eqSetting, <view, <plotView, <ctrl; var <active = true; var <selected; var <>font, <>viewHeight = 14, <resize = 5; var <min = 20, <max = 22000, <range = 24; var <showLegend = true; var <>action; *new { |parent, bounds, eqSetting| ^super. ...
-
... Buttons { |lineWidth, height| Button(zone, Rect(0,0, lineWidth * 0.2, height)) .font_(font) .states_([["resetLp", skin.fontColor, skin.offColor]]) .action_({ |but| object.resetLoop }); // Button(zone, Rect(0,0, lineWidth * 0.27 - 1, height) ...
-
... Buttons { |lineWidth, height| Button(zone, Rect(0,0, lineWidth * 0.2, height)) .font_(font) .states_([["resetLp", skin.fontColor, skin.offColor]]) .action_({ |but| object.resetLoop }); // Button(zone, Rect(0,0, lineWidth * 0.27 - 1, height) ...
-
... oreController,scoreViewController].do(_.remove) } makeGui{ |parent, bounds| var font = Font( Font.defaultSansFace, 11 ), view, size, marginH, marginV, playAlt; views = (); marginH = 2; marginV = 2; size = bounds.height - (2*marginV); view = ...
-
... s( bounds ); nowBuildingUMap = wasBuildingUMap; } makeHeader { |bounds| var boldFont; var umapdragbinInsert; var umapdragbinReplace; var infoString; var dragging; var isPattern, chain; var massEditWindowButton, currentUChainGUI, skin; var u ...
-
... lineX = 25; firstlineY = 120; gapY = 20; // inbetween lines of widgets //hel9 = Font("Helvetica", 9); style = XiiStyles(numChannels); // FUNCTIONS flushBuffer = { arg i; var srate=44100; if(server.actualSampleRate!=nil, {srate = server.actu ...
-
... ew(a, Rect(0.5, 0, 0.2, 0.05)); //button with one "state" b.string_("string") b.font_(Font.new(\Georgia).size_(24)) b.backgroundColor_(Color.green); b.textColor_(Color.red); b.action_({"bu1".postln}) //just a function b.remove //init only, ...