-
... illStroke; } }; Unit } renderIO { IO{ this.render } } value { this.render } } + UserView { setDrawing { |drawing| ^IO{ { this.drawFunc = drawing; this.refresh }.defer } } } + Window { setDrawing { |drawing| ^IO{ { this.drawFunc = drawing; t ...
-
... g parent, bounds; var area; needleColor = Color.black(0.8, 0.8); this.view_(GUI.userView.new(parent, bounds)) .relativeOrigin_(true); this.view.drawFunc_({ var bounds; bounds = Rect(0, 0, this.view.bounds.width, this.view.bounds.height); // ...
-
GMUserView: Filter: Description Class methods new Inherited class methods Instance methods style displayBorder displayBackground displayFrame Internal Methods init drawBorder drawBackground drawFrame interactionRect stringCenteredIn Interna ...
-
... cColor = Color.white(0.9); selColor = Color.yellow(0.9); zone.resize_(5); usr = UserView(zone, zone.bounds.moveTo(0,0).insetBy(2,2)).resize_(5); usr.background = Color.grey(0.5); usr.animate_(true); usr.drawFunc = { |usr| if (object.notNil) ...
-
... cColor = Color.white(0.9); selColor = Color.yellow(0.9); zone.resize_(5); usr = UserView(zone, zone.bounds.moveTo(0,0).insetBy(2,2)).resize_(5); usr.background = Color.grey(0.5); usr.animate_(true); usr.drawFunc = { |usr| if (object.notNil) ...
-
... es. GUI --- Spline GUIs may be placed on any window or view and even on another UserView. They can be zoomed in the X dimension for time-domain splines (for instance automation curves). Double click to create a new point. Click a point to s ...
-
... fieldSize * 0.5; var headRadius = fieldSize * 0.3; point = Point(0, 0); uview = UserView.new(parent, bounds); uview.mouseUpAction = { point.x = 0; point.y = 0; }; uview.mouseMoveAction = { |view, x, y, mod| point.x = x / halfWidth - 1; poin ...
-
... fieldSize * 0.5; var headRadius = fieldSize * 0.3; point = Point(0, 0); uview = UserView.new(parent, bounds); uview.mouseUpAction = { point.x = 0; point.y = 0; }; uview.mouseMoveAction = { |view, x, y, mod| point.x = x / halfWidth - 1; poin ...
-
... the case when a Window becomes or ceases to be the active one. Custom views The UserView is a view that displays and does nothing on itself, but allows you to define how it will be drawn, and for which you can define the entire behavior usi ...
-
... ); // sub view for automation control, master volume, scale factor masterView = UserView(win, Rect(0, height - 76, 325, 72)); masterView.addFlowLayout(); fxBut = Button(masterView, Rect(0, height - 95, 320, 20)) .focusColor_(palette.color(' ...