-
... .window.new("SWDataSlot", Rect(xposScreen, yposScreen, xsize, ysize )).front; w.view.decorator = FlowLayout(Rect(0, 0, xsize, ysize), 2@2, 2@2); decorator = w.view.decorator; w; }; if ( decorator.isNil, { try { decorator = w.view.decorator ...
-
/* * FILENAME: SCMMultiStepView * * DESCRIPTION: * Based on the sclang EZSlider, however it's a child of View and the child views are organised by a layout, so it can scale. * * SCMMultiStepView(nil, 400@100, \db.asSpec, 0.5, "test").front( ...
-
... ]; var window= Window.new("Plotter Example", Rect(0,0,1024,600)).front; window.view.layout_(VLayout( //the plotters (plotterA= Plotter("PlotterA",nil,View())).interactionView.minSize_(500@150).canFocus_(false), (plotterB= Plotter("PlotterB ...
-
HadronModTargetControl a simple control view for Hadron modulator plugins HadronModTargetControl is a custom view that integrates itself with the rest of Hadron system for your modulator plugins. To see it in action, check out the help file ...
-
... ){ if( what === msg ){ modelChangedActionDictionary.keysValuesDo{ | k,a| if(k.isView){ {a.value( theChanger) }.defer; }{ a.value( theChanger ) } } } }{ objChangedActionDictionary[theChanger].value( theChanger ); } } prLinkTo{ | obj, linkfun ...
-
... r vID and by vID. Even if its typical use is to be input inside the NimChimpsky view or though a GeoDocument , you can nevertheless simply pass a command string to the parser through the .parse method, which is what the NimChimpsky view doe ...
-
HadronCanvasItem { var <parentCanvas, <parentPlugin, <objView, <inPortBlobs, <outPortBlobs, oldMouseXY, conMan, isSelected, isOnMouseMove, justSelected; *new {|argParentCanvas, argParentPlugin, argX, argY| ^super.new.init(argParentCanvas, a ...
-
... rescaled, inv, rstScale; // show ktlMap, paramsToRecord, nonRescalableCtls? makeViews { |options| super.makeViews(options); zone.decorator.nextLine.shift(0, 5); this.addScaleItems(zone.bounds.width - 8, skin.buttonHeight); } addScaleItems { ...
-
... ion; var time, <>stepFreq; var window; var <>rDiff, <>aziDiff, <>eleDiff; var <>viewDiff; var <renderAddresses; var <numObjects=0; var objectsID; var worldView; var <sweetSpotSize=2; var <maxDistance; //maximum distance on the room from the ...
-
... olor .black, Color .gray];\ var penWidth = 1;\ \ \ // based on example of SCUserView \ drawing = \ | collective | \ \ var w, v, txt, tmppoints, undone, all, participation;\ tmppoints = (); // dictionary for temp data of each collaborator \ ...