aboutsummaryrefslogtreecommitdiff
path: root/src/ui/control.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-03-23 23:52:07 +0800
committercrupest <crupest@outlook.com>2019-03-23 23:52:07 +0800
commite8be3841457853daefc26d0ca00256ad8c44f593 (patch)
tree66d9204423c3887ebc7d781d13d815ae0443d620 /src/ui/control.hpp
parent2ecfdaa20d8436948e4a73da73d6a11b78e88371 (diff)
downloadcru-e8be3841457853daefc26d0ca00256ad8c44f593.tar.gz
cru-e8be3841457853daefc26d0ca00256ad8c44f593.tar.bz2
cru-e8be3841457853daefc26d0ca00256ad8c44f593.zip
...
Diffstat (limited to 'src/ui/control.hpp')
-rw-r--r--src/ui/control.hpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/ui/control.hpp b/src/ui/control.hpp
index 8454e981..a44399bf 100644
--- a/src/ui/control.hpp
+++ b/src/ui/control.hpp
@@ -1,12 +1,8 @@
#pragma once
#include "pre.hpp"
-#include "system_headers.hpp"
-
#include "base.hpp"
-#include "cursor.hpp"
#include "events/ui_event.hpp"
-#include "input_util.hpp"
#include "ui_base.hpp"
namespace cru::ui {
@@ -60,14 +56,6 @@ class Control : public Object {
bool HasFocus();
- //*************** region: cursor ***************
- // If cursor is set to null, then it uses parent's cursor.
- // Window's cursor can't be null.
- public:
- Cursor::Ptr GetCursor() const { return cursor_; }
-
- void SetCursor(const Cursor::Ptr& cursor);
-
//*************** region: events ***************
public:
// Raised when mouse enter the control.
@@ -107,7 +95,5 @@ class Control : public Object {
private:
Window* window_ = nullptr;
Control* parent_ = nullptr;
-
- Cursor::Ptr cursor_{};
};
} // namespace cru::ui