This commit is contained in:
2025-05-13 02:46:21 +03:00
parent 143e16692e
commit 86914b7fcc
610 changed files with 92343 additions and 2 deletions
+36
View File
@@ -0,0 +1,36 @@
#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__