aboutsummaryrefslogtreecommitdiff
path: root/src/ui/control.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-11-05 23:25:57 +0800
committercrupest <crupest@outlook.com>2018-11-05 23:25:57 +0800
commitfb1b16cd0ab189d61efe6237b2c2b1f7f72f90de (patch)
treee537823b914b407dc9ce5b5a69f91dc93d834426 /src/ui/control.h
parenta908cff41ce987f4adc597f9e5ad4105e56e6ff4 (diff)
downloadcru-fb1b16cd0ab189d61efe6237b2c2b1f7f72f90de.tar.gz
cru-fb1b16cd0ab189d61efe6237b2c2b1f7f72f90de.tar.bz2
cru-fb1b16cd0ab189d61efe6237b2c2b1f7f72f90de.zip
Develop cursor.
Diffstat (limited to 'src/ui/control.h')
-rw-r--r--src/ui/control.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/ui/control.h b/src/ui/control.h
index a9dbc7a4..db89b3b6 100644
--- a/src/ui/control.h
+++ b/src/ui/control.h
@@ -226,8 +226,9 @@ namespace cru
//*************** region: cursor ***************
- //TODO!
- /*
+ // If cursor is set to null, then it uses parent's cursor.
+ // Window's cursor can't be null.
+
Cursor::Ptr GetCursor() const
{
return cursor_;
@@ -235,9 +236,6 @@ namespace cru
void SetCursor(const Cursor::Ptr& cursor);
- Cursor::Ptr GetCursorInherit();
- */
-
//*************** region: events ***************
//Raised when mouse enter the control.