//-------------------------------------------------- int ofGetWindowWidth(){ return (int)window->getWindowSize().x; }
//-------------------------------------------------- int ofGetWindowHeight(){ return (int)window->getWindowSize().y; }
//-------------------------------------------------- ofPoint ofGetWindowSize() { //this can't be return ofPoint(ofGetWidth(), ofGetHeight()) as width and height change based on orientation. return window->getWindowSize(); }