We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm using the latest ControlP5 library (v.2.2.5) in Processing 2.2.1 for an old piece of code.
I got the following error:**The function window() does not exist**
However, the same code runs correctly in Processing 2.2.1 using an early version of ControlP5(v.2.0.4). So, may I ask what has been changed for ControlP5.window().isMouseOver() method? and how to fix the code to run it using the latest ControlP5 library in both Processing 2.2.1 and 3.0.2?
Thank you very much!
Answers
advice is greatly appreciated!
Dear all, really appreciate if you can give some advice on this issue!
http://www.sojamo.de/libraries/controlP5/reference/index.html
http://www.sojamo.de/libraries/controlP5/reference/controlP5/ControlP5.html
http://www.sojamo.de/libraries/controlP5/reference/controlP5/ControlP5Legacy.html
https://GitHub.com/sojamo/controlp5/issues
Hi, use getWindow instead.
controlP5.getWindow(this).isMouseOver()
orcontrolP5.isMouseOver()
. (also see the source code of ControlP5.java).