aboutsummaryrefslogtreecommitdiff
path: root/src/ui/control.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-04-01 18:08:58 +0800
committercrupest <crupest@outlook.com>2019-04-01 18:08:58 +0800
commitde00126c6aeba189a50296df455dd516e21e4176 (patch)
tree3d89a8a36a3603096d4371230c2d071f91e9e986 /src/ui/control.hpp
parent055a3cde0cd19c896f3e498b774078654555c065 (diff)
downloadcru-de00126c6aeba189a50296df455dd516e21e4176.tar.gz
cru-de00126c6aeba189a50296df455dd516e21e4176.tar.bz2
cru-de00126c6aeba189a50296df455dd516e21e4176.zip
...
Diffstat (limited to 'src/ui/control.hpp')
-rw-r--r--src/ui/control.hpp16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/ui/control.hpp b/src/ui/control.hpp
index 2504aa62..b69734d6 100644
--- a/src/ui/control.hpp
+++ b/src/ui/control.hpp
@@ -1,17 +1,15 @@
#pragma once
-#include "pre.hpp"
+#include "cru/common/base.hpp"
-#include "base.hpp"
-#include "events/ui_event.hpp"
-#include "ui_base.hpp"
+#include "cru/ui/event/ui_event.hpp"
+
+#include ""
+
+#include <string_view>
namespace cru::ui {
class Window;
-namespace render {
-class RenderObject;
-}
-
class Control : public Object {
friend class Window;
@@ -26,7 +24,7 @@ class Control : public Object {
~Control() override = default;
public:
- virtual StringView GetControlType() const = 0;
+ virtual std::wstring_view GetControlType() const = 0;
//*************** region: tree ***************
public: