ofMouseEventArgs

This class is integrated into the openframeworks events system. When a mouse event (mouse pressed, mouse released...) happens we record mouse information inside an object of the class. Used to send event messages. In the new openFrameworks release we can find a very ilustrative example about how to use events in openFrameworks.

ofMouseEventArgs methods

x()

ofMouseEventArgs::x()

When a mouse event happens x - position of our mouse gets recorded here.

y()

ofMouseEventArgs::y()

When a mouse event happens, y - position of our mouse gets recorded here.