From 1497dccd63a84b7ee2b229b1ad9c5c02718f2a78 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 19 Mar 2019 23:06:27 +0800 Subject: *rename --- source/Asura.Editor/widgets/widget.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 source/Asura.Editor/widgets/widget.h (limited to 'source/Asura.Editor/widgets/widget.h') diff --git a/source/Asura.Editor/widgets/widget.h b/source/Asura.Editor/widgets/widget.h new file mode 100644 index 0000000..437e2bf --- /dev/null +++ b/source/Asura.Editor/widgets/widget.h @@ -0,0 +1,24 @@ +#ifndef __ASURA_EDITOR_WIDGET_H__ +#define __ASURA_EDITOR_WIDGET_H__ + +#include + +namespace AusraEditor +{ + + /// + /// Asura Editor的控件逻辑,不包含渲染、窗口和事件轮询,只包含对事件的响应和逻辑处理接口。 + /// + class Widget : virtual public Object + { + + public: + + // 控件有绘制方法 + virtual void Draw() = 0; + + }; + +} + +#endif \ No newline at end of file -- cgit v1.1-26-g67d0