diff options
author | chai <chaifix@163.com> | 2019-08-07 21:08:47 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-08-07 21:08:47 +0800 |
commit | 0c391fdbce5a079cf03e483eb6174dd47806163d (patch) | |
tree | b06cd7a9d0ae0d9bb9e82f3dcb786dfce11f8628 /Source/modules/asura-framework/scripts/gui | |
parent | 9686368e58e25cbd6dc37d686bdd2be3f80486d6 (diff) |
*misc
Diffstat (limited to 'Source/modules/asura-framework/scripts/gui')
-rw-r--r-- | Source/modules/asura-framework/scripts/gui/button.lua | 21 | ||||
-rw-r--r-- | Source/modules/asura-framework/scripts/gui/text.lua | 0 | ||||
-rw-r--r-- | Source/modules/asura-framework/scripts/gui/widget.lua | 14 |
3 files changed, 35 insertions, 0 deletions
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 --- /dev/null +++ b/Source/modules/asura-framework/scripts/gui/text.lua 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 |