diff options
author | crupest <crupest@outlook.com> | 2018-11-05 23:25:57 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-11-05 23:25:57 +0800 |
commit | fb1b16cd0ab189d61efe6237b2c2b1f7f72f90de (patch) | |
tree | e537823b914b407dc9ce5b5a69f91dc93d834426 /src/ui/control.h | |
parent | a908cff41ce987f4adc597f9e5ad4105e56e6ff4 (diff) | |
download | cru-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.h | 8 |
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. |