From ec2060983edd2b77ff90b2533404d77ea892a5d9 Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 16 Feb 2022 17:35:47 +0800 Subject: ... --- include/cru/ui/style/Condition.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/cru/ui/style') diff --git a/include/cru/ui/style/Condition.h b/include/cru/ui/style/Condition.h index 446e5bc0..b45c0e07 100644 --- a/include/cru/ui/style/Condition.h +++ b/include/cru/ui/style/Condition.h @@ -150,6 +150,8 @@ class CRU_UI_API CheckedCondition : public Condition { return new CheckedCondition(checked_); } + bool IsChecked() const { return checked_; } + private: bool checked_; }; -- cgit v1.2.3