diff options
author | chai <chaifix@163.com> | 2019-07-29 09:06:09 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-07-29 09:06:09 +0800 |
commit | ecd7883521cbde02f4f1a6b23a7b3b601c32dbef (patch) | |
tree | 37d94224896ea6a27777f67d31ec8d71cbfc91f9 /source/modules/asura-core/window/window.h | |
parent | 7894c2971626f9560b4ec77a1ce5a9a64a4f3810 (diff) |
*misc
Diffstat (limited to 'source/modules/asura-core/window/window.h')
-rw-r--r-- | source/modules/asura-core/window/window.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/source/modules/asura-core/window/window.h b/source/modules/asura-core/window/window.h index d0f62c1..835535d 100644 --- a/source/modules/asura-core/window/window.h +++ b/source/modules/asura-core/window/window.h @@ -39,9 +39,7 @@ namespace AsuraEngine WINDOW_ALWAYS_ON_TOP = 1 << 14, ///< window should always be above others }; - /// /// Windowʼ - /// struct WindowConfig { uint width, height; ///< ߴ @@ -63,17 +61,13 @@ namespace AsuraEngine { public: - /// /// ϷʱĴΨһģ༭õࡣ - /// LUAX_DECL_SINGLETON(Window); Window(); ~Window(); - /// /// ڡ - /// bool Init(const WindowConfig& config); void Exit(); @@ -85,9 +79,7 @@ namespace AsuraEngine void Show(); void Hide(); - /// /// ǿ˫ĴڣҪչʾǰ̨ - /// void SwapRenderBuffer(); void Clear(const AEGraphics::Color& col = AEGraphics::Color::Black) override; @@ -98,7 +90,9 @@ namespace AsuraEngine private: - //----------------------------------------------------------------------------// + WindowImpl* mImpl; + + luaxport: LUAX_DECL_ENUM(WindowFlag, 0); @@ -114,10 +108,6 @@ namespace AsuraEngine LUAX_DECL_METHOD(_Clear); LUAX_DECL_METHOD(_Draw); - //----------------------------------------------------------------------------// - - WindowImpl* mImpl; - }; using RenderWindow = Window; |