summaryrefslogtreecommitdiff
path: root/source/libs/asura-lib-core/graphics/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/libs/asura-lib-core/graphics/window.h')
-rw-r--r--source/libs/asura-lib-core/graphics/window.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/source/libs/asura-lib-core/graphics/window.h b/source/libs/asura-lib-core/graphics/window.h
index 0bfd6a1..1b219a2 100644
--- a/source/libs/asura-lib-core/graphics/window.h
+++ b/source/libs/asura-lib-core/graphics/window.h
@@ -12,15 +12,16 @@ namespace AsuraEngine
namespace Graphics
{
+ class WindowImpl;
+
enum WindowStyle
{
WINDOW_STYLE_FULLSCREEN = 1 << 1,
};
- class WindowImpl;
-
///
- /// ڣֶ֧രڡڱ༭Ҫ֧֣runnerֻҪһڡͬĿͻʵִ˽ӿڲֶעᵽlua
+ /// ϷĵڣrunnerֻҪһڡͬĿͻʵִ˽ӿڲֶעᵽlua༭ᵼ࣬޽ӵ༭
+ /// ⴰϡ
///
class Window
: public RenderTarget
@@ -63,6 +64,16 @@ namespace AsuraEngine
WindowImpl* mImpl;
+ LUAX_DECL_METHOD(_Show);
+ LUAX_DECL_METHOD(_Hide);
+ LUAX_DECL_METHOD(_SetResolution);
+ LUAX_DECL_METHOD(_SetFullScreen);
+ LUAX_DECL_METHOD(_SetTitle);
+ LUAX_DECL_METHOD(_SetWindowStyle);
+ LUAX_DECL_METHOD(_Clear);
+ LUAX_DECL_METHOD(_Draw);
+ LUAX_DECL_METHOD(_SwapRenderBuffer);
+
};
using RenderWindow = Window;
@@ -71,8 +82,6 @@ namespace AsuraEngine
{
public:
-
-
};
}