summaryrefslogtreecommitdiff
path: root/source/Asura.Editor/system/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Asura.Editor/system/window.h')
-rw-r--r--source/Asura.Editor/system/window.h82
1 files changed, 0 insertions, 82 deletions
diff --git a/source/Asura.Editor/system/window.h b/source/Asura.Editor/system/window.h
deleted file mode 100644
index c9837e3..0000000
--- a/source/Asura.Editor/system/window.h
+++ /dev/null
@@ -1,82 +0,0 @@
-#ifndef __ASURA_EDITOR_WINDOW_H__
-#define __ASURA_EDITOR_WINDOW_H__
-
-#include <windows.h>
-#include <string.h>
-
-#include <asura-utils/scripting/portable.hpp>
-
-#include "../type.h"
-
-namespace AsuraEditor
-{
-
- ///
- /// ڷָֻ˿ܵķ񣬾ĿؼӦóơ
- ///
- enum WindowStyle
- {
- WINDOW_STYLE_BASIC, ///<
- WINDOW_STYLE_TOOL, ///<
- WINDOW_STYLE_CONFIRM, ///< ȷϴ
- };
-
- ///
- /// ʱҪ
- ///
- struct WindowConfig
- {
- std::string title; ///<
- uint x, y; ///<
- uint width, height; ///< С
- WindowStyle style; ///<
- };
-
- ///
- /// ༭win32ڣÿһڰһHWNDһHDC
- ///
- class Window
- : public AEScripting::Portable<Window>
- {
- public:
-
- Window();
- ~Window();
-
- bool Init(WindowConfig& config);
-
- private:
-
- //------------------------------------------------------------------------------//
-
- LUAX_DECL_FACTORY(Window);
-
- LUAX_DECL_ENUM(WindowStyle);
-
- LUAX_DECL_METHOD(_New);
- LUAX_DECL_METHOD(_Init);
- LUAX_DECL_METHOD(_SetPosition);
-
- //------------------------------------------------------------------------------//
-
- ///
- /// ڡ
- ///
- Window* mParent;
-
- ///
- /// ھ豸ġ
- ///
- HWND mHWND;
- HDC mHDC;
-
- ///
- /// ڷ
- ///
- WindowStyle mStyle;
-
- };
-
-}
-
-#endif \ No newline at end of file