-
... iew is the abstract superclass for all SC GUI widgets. You cannot call SCView directly. Several key methods and variables are defined in SCView and inherited in its subclasses. This help file contains important information about many of the ...
-
... e it conveniently on the screen if the bounds are a Point . If the bounds are a Rect , then the Rect determines the window bounds. bounds - An instance of Rect or Point . Default value is 160@22 . label - the label. Default value is nil. If ...
-
... sses. This is the parent window to which the sheet will be attached. bounds - A Rect or Point specifying the size of the window. resizable - A Boolean indicating whether this window can be resized by the user. The default is false. border - ...
-
... * zoom, y / n + offset * zoom) } ! n } ! n; w = Window ( "Julia set" , bounds: Rect (200, 200, xs, ys)).front; w.view.background_( Color .black); w.drawHook = { n.do { |x| n.do { |y| var z = field[x][y]; z = f.(z); field[x][y] = z; Pen .co ...
-
... ot; } ); // using spec for sliders: ( var w, c, d; w = Window .new( "control" , Rect (128, 64, 340, 160)); w.front; c = Slider .new(w, Rect (10, 10, 300, 30)); d = StaticText .new(w, Rect (10, 40, 300, 30)); c.action = { d.string = "unmappe ...
-
... lace it in an existing window: ProxyMonitorGui (~test, Window ( "ProxyMonitor", Rect(200, 200, 400, 100) ).front); ProxyMonitorGui (~test, Window ( "ProxyMonitor" ).front, bounds: 350@40); P roxyMonitorGui (~test, Window ( "ProxyMonitor" ). ...
-
... desired size and position where to display a JITGui. can be nil, a point, or a rect. JITGuis know their minimum size ( minSize), and if bounds is nil, minSize is used. if bounds is a point or rect, it will be set to at least minSize. With ...
-
... perclass for EZ widget wrappers Inherits from: Object Users will not normally directly create instances of EZGui, but only use it through its subclasses. It provides the basic mechanisms for various EZ widget wrappers. It also provides a st ...
-
... e it conveniently on the screen if the bounds are a Point . If the bounds are a Rect , then the Rect determines the window bounds. bounds - An instance of Rect or Point . Default value is 160@200 . label - The label. Default value is nil. I ...
-
... function for SCPen draw{ // Draw the fill SCPen.fillColor = Color.grey; Pen.addRect(Rect(0,0, this.bounds.width*value,this.bounds.height)); Pen.fill; // Draw the triangle SCPen.fillColor = Color.red; Pen.moveTo(((this.bounds.width*value)-5 ...