From da6f0bcfc6ec786cf14f67f100b4c50cf2325db4 Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 16 Feb 2022 17:30:49 +0800 Subject: ... --- include/cru/ui/style/Condition.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/cru') 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_; }; -- cgit v1.2.3