*
This commit is contained in:
@@ -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__
|
||||
Reference in New Issue
Block a user