Changeset 3291 for code/branches/core4/src/core/WindowEventListener.h
- Timestamp:
- Jul 14, 2009, 11:50:47 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/core/WindowEventListener.h
r3290 r3291 38 38 class _CoreExport WindowEventListener : virtual public OrxonoxClass 39 39 { 40 public: 40 friend class OgreWindowEventListener; 41 42 protected: 41 43 WindowEventListener(); 42 44 virtual ~WindowEventListener() { } 43 45 46 //! Returns the current render window width 47 unsigned int getWindowWidth() const { return windowWidth_s; } 48 //! Returns the current render window height 49 unsigned int getWindowHeight() const { return windowHeight_s; } 50 51 private: 44 52 //! Window has been moved 45 53 virtual void windowMoved() { } … … 50 58 //! Window has lost/gained focus 51 59 virtual void windowFocusChanged() { } 60 61 static void moveWindow(); 62 static void resizeWindow(unsigned int newWidth, unsigned int newHeight); 63 static void changeWindowFocus(); 64 65 //! Static variable that holds the latest distributed information 66 static unsigned int windowWidth_s; 67 static unsigned int windowHeight_s; 52 68 }; 53 69 }
Note: See TracChangeset
for help on using the changeset viewer.