#ifndef Window_h__ #define Window_h__ #include "IWindow.h" #include "delegate/Delegate.h" #include "Build.h" #include "LString.h" #include "DisplayMode.h" #include "IWindowDemander.h" #include "IInputSystem.h" namespace LifeCore { class Window : public IWindow { public: //events EVENT(ExitEvent); ExitEvent Event_Quit; EVENT1(WindowEvent, IWindow*); WindowEvent Event_Resize; WindowEvent Event_SwitchFullscreen; WindowEvent Event_Deactivate; WindowEvent Event_Activate; protected: bool bCursorVisible; bool bModeSwitching; bool bFullscreen; bool bActive; int width; int height; String caption; DisplayMode fsMode; }; } #endif // Window_h__