-
... ect classes instead of GUI //took out relativeOrigin and rewrote to use sc3.3.1 userview x/y mouse positions //--changes090521 //added sortFunc, value_ and valueAction_. thanks miguel //--changes090114 //bugfix: userview canfocus now set to ...
-
... alenames, scaleObject; var thisX, lastX, thisY, lastY; var stringRecent, point, userView, tablet; var fundamental, octave, outbus, vol, fundamentalWin; var tmppoints; var playdstrings = {0} ! 8; // array counting how often strings are pluck ...
-
UMapGUI : UGUI { classvar <>nowBuildingUMap; var <>header, <>userView, <>mainComposite; var <>removeAction; var <>parentUnit; var <removeButton; var <>wasBuildingUMap; *viewNumLines { |unit| ^super.viewNumLines( unit ) + 1 + (2/18); } makeV ...
-
... ).maxSize_(Size(180, 300)).indexIsHorizontal_(false).value_({ 1.0.rand } ! 17), UserView().minSize_(Size(200, 200)).maxSize_(Size(300, 300)) .background_(Color.red) ), HLayout( StaticText().minSize_(Size(120, 120)).maxSize_(Size(180, 300)), ...
-
... = initFunc; color = Color.gray(0.85); hsv = [ 0, 0, 0.85 ]; color_picker_view = UserView(); // Main View // Resizing adjustments color_picker_view.onResize = { | view | margin = ( view.bounds.width * 0.05 ); v_slider.refresh; sv_slider.refr ...
-
... ounds) .string_(string); // toggle radio when clicked on string invButton = GUI.userView.new(w, stringbounds); invButton.background = Color.new255(11,11,11,0); invButton.canFocus = false; invButton.mouseDownAction = { argÊ view,x,y; //butto ...
-
... red[\DRAW] ? Rect(400,400,400,400)).front; q.draw.win.alpha_(0.7); // and put a userview on it, on which we can we draw: q.draw.uv = UserView(q.draw.win, q.draw.win.bounds.extent.asRect).front; q.draw.uv.background = Color.black; q.draw.uv. ...
-
... ssn.value > 0) { str = str ++ assn.key; }; }; str }, modStr, mod, code, window, userView, cond = Condition.new, rout, // how to tell when the user hit the real key? // it's different for each supported OS. yup. Qt is "cross platform" done = ...
-
... Rect(100, 200, 400, 400)}; var win= Window(this.class.name, b, false); var usr= UserView(win, Rect(0, 0, b.width, b.height)); usr.background= background ?? {Color.white}; usr.drawFunc= { Pen.translate(b.width*0.5, b.height*0.5); this.draw(b ...
-
... .string_("Click to launch instrument..."), GridLayout.rows( *images.collect{|x| UserView().drawFunc_{|usr| Pen.stringAtPoint(x.key.asString.drop(1), 50@50, Font(SGUI.font.name, 64))} .setBackgroundImage(x.value, 10).mouseUpAction_{SInstrume ...