00001 #ifndef _OF_BASE_WINDOW 00002 #define _OF_BASE_WINDOW 00003 00004 #include "ofTypes.h" 00005 00006 class ofBaseApp; 00007 00008 class ofAppBaseWindow{ 00009 00010 public: 00011 00012 ofAppBaseWindow(){}; 00013 virtual ~ofAppBaseWindow(){}; 00014 00015 virtual void setupOpenGL(int w, int h, int screenMode) {} 00016 virtual void initializeWindow() {} 00017 virtual void runAppViaInfiniteLoop(ofBaseApp * appPtr) {} 00018 00019 virtual void hideCursor() {} 00020 virtual void showCursor() {} 00021 00022 virtual void setWindowPosition(int x, int y) {} 00023 virtual void setWindowShape(int w, int h) {} 00024 00025 virtual int getFrameNum() { return 0; } 00026 virtual float getFrameRate() {return 0; } 00027 00028 virtual ofPoint getWindowPosition() {return ofPoint(); } 00029 virtual ofPoint getWindowSize(){return ofPoint(); } 00030 virtual ofPoint getScreenSize(){return ofPoint(); } 00031 00032 virtual void setFrameRate(float targetRate){} 00033 virtual void setWindowTitle(string title){} 00034 00035 virtual int getWindowMode() {return 0;} 00036 00037 virtual void setFullscreen(bool fullscreen){} 00038 virtual void toggleFullscreen(){} 00039 00040 virtual void enableSetupScreen(){} 00041 virtual void disableSetupScreen(){} 00042 00043 }; 00044 00045 #endif