summaryrefslogtreecommitdiff
path: root/Source/Asura.Framework/scripts/gui
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-01-31 09:06:15 +0800
committerchai <chaifix@163.com>2019-01-31 09:06:15 +0800
commitc581dfbf1e849f393861d15e82aa6446c0c1c310 (patch)
tree2df779ba98acdd04a4b52f6bff0de143dfba4600 /Source/Asura.Framework/scripts/gui
parentfc1713e9df3ae8db6e612610023e7bd5f6b6f5fe (diff)
*misc
Diffstat (limited to 'Source/Asura.Framework/scripts/gui')
-rw-r--r--Source/Asura.Framework/scripts/gui/button.lua21
-rw-r--r--Source/Asura.Framework/scripts/gui/text.lua0
2 files changed, 21 insertions, 0 deletions
diff --git a/Source/Asura.Framework/scripts/gui/button.lua b/Source/Asura.Framework/scripts/gui/button.lua
new file mode 100644
index 0000000..67d0943
--- /dev/null
+++ b/Source/Asura.Framework/scripts/gui/button.lua
@@ -0,0 +1,21 @@
+AsuraEngine.Button = AsuraEngine.Component.Sub("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/Asura.Framework/scripts/gui/text.lua b/Source/Asura.Framework/scripts/gui/text.lua
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Source/Asura.Framework/scripts/gui/text.lua