diff options
author | crupest <crupest@outlook.com> | 2022-02-16 17:30:49 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-16 17:30:49 +0800 |
commit | da6f0bcfc6ec786cf14f67f100b4c50cf2325db4 (patch) | |
tree | 8e9a2c5389ba9f352f5823c0eec525a04993f2b4 /include/cru/ui/style | |
parent | 674e8af2e92074b71c77e656a54244ce2693460c (diff) | |
download | cru-da6f0bcfc6ec786cf14f67f100b4c50cf2325db4.tar.gz cru-da6f0bcfc6ec786cf14f67f100b4c50cf2325db4.tar.bz2 cru-da6f0bcfc6ec786cf14f67f100b4c50cf2325db4.zip |
...
Diffstat (limited to 'include/cru/ui/style')
-rw-r--r-- | include/cru/ui/style/Condition.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/ui/style/Condition.h b/include/cru/ui/style/Condition.h index 1038c34b..446e5bc0 100644 --- a/include/cru/ui/style/Condition.h +++ b/include/cru/ui/style/Condition.h @@ -89,6 +89,8 @@ class CRU_UI_API FocusCondition : public Condition { return new FocusCondition(has_focus_); } + bool IsHasFocus() const { return has_focus_; } + private: bool has_focus_; }; |