ofEvents

Below are the public methods of ofEvents

ofEvents functions

ofGetMousePressed(...)

bool ofGetMousePressed(int button=-1)

ofGetKeyPressed(...)

bool ofGetKeyPressed(int key=-1)

ofGetMouseX()

int ofGetMouseX()

ofGetMouseY()

int ofGetMouseY()

ofGetPreviousMouseX()

int ofGetPreviousMouseX()

ofGetPreviousMouseY()

int ofGetPreviousMouseY()

ofSetEscapeQuitsApp(...)

void ofSetEscapeQuitsApp(bool bQuitOnEsc)

exitApp()

void exitApp()

ofNotifySetup()

void ofNotifySetup()

ofNotifyUpdate()

void ofNotifyUpdate()

ofNotifyDraw()

void ofNotifyDraw()

ofNotifyKeyPressed(...)

void ofNotifyKeyPressed(int key)

ofNotifyKeyReleased(...)

void ofNotifyKeyReleased(int key)

ofNotifyMousePressed(...)

void ofNotifyMousePressed(int x, int y, int button)

ofNotifyMouseReleased(...)

void ofNotifyMouseReleased(int x, int y, int button)

ofNotifyMouseDragged(...)

void ofNotifyMouseDragged(int x, int y, int button)

ofNotifyMouseMoved(...)

void ofNotifyMouseMoved(int x, int y)

ofNotifyExit()

void ofNotifyExit()

ofNotifyWindowResized(...)

void ofNotifyWindowResized(int width, int height)