summaryrefslogtreecommitdiff
path: root/source/Asura.Editor/widgets/label.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-03-25 23:46:59 +0800
committerchai <chaifix@163.com>2019-03-25 23:46:59 +0800
commit03b3b8ae80559745f98ef94569b421adddeb441f (patch)
tree7bf46892fef7453d4c25172333bd4fbddb29ee16 /source/Asura.Editor/widgets/label.h
parent82956beb1fe17e1226327638c8ab22b5f5adfc1d (diff)
*misc
Diffstat (limited to 'source/Asura.Editor/widgets/label.h')
-rw-r--r--source/Asura.Editor/widgets/label.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/source/Asura.Editor/widgets/label.h b/source/Asura.Editor/widgets/label.h
index 6889818..1d053f8 100644
--- a/source/Asura.Editor/widgets/label.h
+++ b/source/Asura.Editor/widgets/label.h
@@ -1,15 +1,22 @@
#ifndef __ASURA_EDITOR_LABEL_H__
#define __ASURA_EDITOR_LABEL_H__
+#include <asura-lib-utils/scripting/portable.hpp>
+#include <asura-lib-core/graphics/image.h>
+
+#include "widget.h"
+
namespace AsuraEditor
{
class Label
+ : public Widget
+ , public AEScripting::Portable<Label>
{
-
public:
-
+ void OnEvent(AEInput::Event& e) override;
+ void OnPaint() override;
};