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