From c302f5ae5f9e30a28e487e8a764d9cc31546bbea Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 29 Mar 2019 22:51:04 +0800 Subject: *rename --- .../modules/asura-framework/scripts/gui/button.lua | 21 +++++++++++++++++++++ source/modules/asura-framework/scripts/gui/text.lua | 0 .../modules/asura-framework/scripts/gui/widget.lua | 14 ++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 source/modules/asura-framework/scripts/gui/button.lua create mode 100644 source/modules/asura-framework/scripts/gui/text.lua create mode 100644 source/modules/asura-framework/scripts/gui/widget.lua (limited to 'source/modules/asura-framework/scripts/gui') diff --git a/source/modules/asura-framework/scripts/gui/button.lua b/source/modules/asura-framework/scripts/gui/button.lua new file mode 100644 index 0000000..b122931 --- /dev/null +++ b/source/modules/asura-framework/scripts/gui/button.lua @@ -0,0 +1,21 @@ +AsuraEngine.Button = AsuraEngine.Component.Extend("Button") + +local Button = AsuraEngine.Button + +function Button.Ctor(self) + +end + +function Button.OnEvent(e) + +end + +function Button.OnRender() + +end + +function Button.OnUpdate(dt) + +end + +return Button \ No newline at end of file diff --git a/source/modules/asura-framework/scripts/gui/text.lua b/source/modules/asura-framework/scripts/gui/text.lua new file mode 100644 index 0000000..e69de29 diff --git a/source/modules/asura-framework/scripts/gui/widget.lua b/source/modules/asura-framework/scripts/gui/widget.lua new file mode 100644 index 0000000..430ade0 --- /dev/null +++ b/source/modules/asura-framework/scripts/gui/widget.lua @@ -0,0 +1,14 @@ +--[[ +Imgui,用在游戏里面 +]] +local Widget = AsuraEngine.Component("Widget") + +function Widget.Ctor(self) + +end + +function Widget.OnEvent(self, e) + +end + +return Widget \ No newline at end of file -- cgit v1.1-26-g67d0