Adding some functionality to the standard Window class. Requires RedVector and SwingOSC. (This class can also be used with osx-swing. Copy the class file RedJWindow.sc into the osx folder.)
Alias for UserView: -drawFunc.
Starts an internal thread on the AppClock updating at rate fps.
Stop internal thread.
Change window size while keeping x and y position. The argument can also be a RedVector
Set window background. Alias for view.background_
Boolean.
Returns a RedVector for mouse x and y position. Click&drag in window to set position.
If the window is updating.
Access to the embedded view.
Start automatic refresh. Default at 60fps (although swingosc seems capped at 50).
Current frame.
Current average framerate.