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