Open SableRaf opened 2 years ago
Processing 4 added new core functions to replace the surface methods as can be seen in the Beta 5 and Beta 7 release notes. These changes are also mentioned here https://github.com/processing/processing4/issues/53
surface
The reference needs to be updated to reflect those updates:
windowResize(w, h)
surface.setSize(w, h)
windowResizable()
surface.setResizable()
windowMove(x, y)
surface.setLocation(x, y)
windowTitle()
surface.setTitle()
windowResized()
windowMoved()
In case you want to contribute to this task, here is how to edit the reference.
Note: surface methods are still backwards compatible but you are encouraged to use the new methods for future sketches
Can't fix this until https://github.com/processing/processing-doclet/issues/1 is solved
Hey @SableRaf I want to work on this issue. Please assign it to me.
Processing 4 added new core functions to replace the
surface
methods as can be seen in the Beta 5 and Beta 7 release notes. These changes are also mentioned here https://github.com/processing/processing4/issues/53The reference needs to be updated to reflect those updates:
windowResize(w, h)
replacessurface.setSize(w, h)
windowResizable()
replacessurface.setResizable()
(reference)windowMove(x, y)
replacessurface.setLocation(x, y)
(reference)windowTitle()
replacessurface.setTitle()
(reference)windowResized()
event handlerwindowMoved()
event handlerIn case you want to contribute to this task, here is how to edit the reference.
Note: surface methods are still backwards compatible but you are encouraged to use the new methods for future sketches