topical media & game development
lib-of-vs-libs-openFrameworks-app-ofAppBaseWindow.h / h
ifndef _OF_BASE_WINDOW
define _OF_BASE_WINDOW
include <ofTypes.h>
class ofBaseApp;
class ofAppBaseWindow{
public:
ofAppBaseWindow(){};
virtual ~ofAppBaseWindow(){};
virtual void setupOpenGL(int w, int h, int screenMode) {}
virtual void initializeWindow() {}
virtual void runAppViaInfiniteLoop(ofBaseApp * appPtr) {}
virtual void hideCursor() {}
virtual void showCursor() {}
virtual void setWindowPosition(int x, int y) {}
virtual void setWindowShape(int w, int h) {}
virtual int getFrameNum() { return 0; }
virtual float getFrameRate() {return 0; }
virtual ofPoint getWindowPosition() {return ofPoint(); }
virtual ofPoint getWindowSize(){return ofPoint(); }
virtual ofPoint getScreenSize(){return ofPoint(); }
virtual void setFrameRate(float targetRate){}
virtual void setWindowTitle(string title){}
virtual int getWindowMode() {return 0;}
virtual void setFullscreen(bool fullscreen){}
virtual void toggleFullscreen(){}
virtual void enableSetupScreen(){}
virtual void disableSetupScreen(){}
};
endif
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.