summaryrefslogtreecommitdiff
path: root/source/Asura.Editor/controls/widget.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-08-01 09:15:04 +0800
committerchai <chaifix@163.com>2019-08-01 09:15:04 +0800
commit99b90496765df21c5f377f42b9ed073ccb34c1fd (patch)
tree201cade18b6571d6ab5318945aed59a3610295a5 /source/Asura.Editor/controls/widget.h
parent084623519e95f0ab0cf4bc328b5fa736d679c5bd (diff)
*misc
Diffstat (limited to 'source/Asura.Editor/controls/widget.h')
-rw-r--r--source/Asura.Editor/controls/widget.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/source/Asura.Editor/controls/widget.h b/source/Asura.Editor/controls/widget.h
deleted file mode 100644
index df914bf..0000000
--- a/source/Asura.Editor/controls/widget.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#ifndef __ASURA_EDITOR_WIDGET_H__
-#define __ASURA_EDITOR_WIDGET_H__
-
-#include <list>
-
-#include <asura-utils/scripting/portable.hpp>
-#include <asura-utils/type.h>
-#include <asura-utils/math/rect.hpp>
-#include <asura-utils/math/vector2.hpp>
-#include <asura-core/input/event.h>
-
-namespace AsuraEditor
-{
-
- ///
- /// Asura EditorĿؼ߼Ⱦں¼ѯֻ¼Ӧ߼ӿڡ
- ///
- ASURA_ABSTRACT class Widget : public AEScripting::Object
- {
-
- public:
-
- ///
- /// ؼֻбڵѡΪfocusʱŻᴦ룬ԺܸЧ
- ///
- virtual void OnEvent(AEInput::Event& e) = 0;
-
- ///
- ///
- ///
- virtual void OnPaint() = 0;
-
- protected:
-
- AEMath::Vector2i mPos;
- AEMath::Recti mBBox;
-
- };
-
-}
-
-#endif \ No newline at end of file