aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/style/Condition.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/style/Condition.h')
-rw-r--r--include/cru/ui/style/Condition.h2
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_;
};