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