summaryrefslogtreecommitdiff
path: root/source/Asura.Editor/controls/widget.h
diff options
context:
space:
mode:
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