From 560c0ead613658a2b7444907c3d1d69e49be8c32 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 27 Jan 2022 21:21:51 +0800 Subject: ... --- include/cru/ui/controls/Control.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/cru/ui/controls') diff --git a/include/cru/ui/controls/Control.hpp b/include/cru/ui/controls/Control.hpp index ed6233a9..c51643be 100644 --- a/include/cru/ui/controls/Control.hpp +++ b/include/cru/ui/controls/Control.hpp @@ -67,7 +67,7 @@ class CRU_UI_API Control : public Object { void SetCursor(std::shared_ptr cursor); public: - style::StyleRuleSet* GetStyleRuleSet(); + std::shared_ptr GetStyleRuleSet(); //*************** region: events *************** public: @@ -151,7 +151,7 @@ class CRU_UI_API Control : public Object { std::shared_ptr cursor_ = nullptr; - std::unique_ptr style_rule_set_; + std::shared_ptr style_rule_set_; std::unique_ptr style_rule_set_bind_; }; } // namespace cru::ui::controls -- cgit v1.2.3