diff options
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 |