summaryrefslogtreecommitdiff
path: root/source/Asura.Editor/widgets/widget.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-03-29 22:28:40 +0800
committerchai <chaifix@163.com>2019-03-29 22:28:40 +0800
commit157530b8b6e11efc5573d5a0db8987a440197aa1 (patch)
treef9df79c013885e13dc81e7046c9828037eb29e2e /source/Asura.Editor/widgets/widget.h
parente37b1dfd022bda4dfdcba243c0543c62c89db32f (diff)
*misc
Diffstat (limited to 'source/Asura.Editor/widgets/widget.h')
-rw-r--r--source/Asura.Editor/widgets/widget.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/source/Asura.Editor/widgets/widget.h b/source/Asura.Editor/widgets/widget.h
deleted file mode 100644
index 9ffd1fb..0000000
--- a/source/Asura.Editor/widgets/widget.h
+++ /dev/null
@@ -1,43 +0,0 @@
-#ifndef __ASURA_EDITOR_WIDGET_H__
-#define __ASURA_EDITOR_WIDGET_H__
-
-#include <list>
-
-#include <asura-lib-utils/scripting/portable.hpp>
-#include <asura-lib-utils/type.h>
-#include <asura-lib-utils/math/rect.hpp>
-#include <asura-lib-utils/math/vector2.hpp>
-#include <asura-lib-core/input/event.h>
-
-namespace AsuraEditor
-{
-
- ///
- /// Asura EditorĿؼ߼Ⱦں¼ѯֻ¼Ӧ߼ӿڡ
- ///
- ASURA_ABSTRACT class Widget
- : public virtual AEScripting::NativeAccessor
- {
-
- 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