From 3cd44092c44651650a760752a3d374f610ca4f77 Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 16 Feb 2022 20:22:25 +0800 Subject: ... --- include/cru/ui/style/Styler.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/cru/ui/style/Styler.h b/include/cru/ui/style/Styler.h index d6cbc760..29c19975 100644 --- a/include/cru/ui/style/Styler.h +++ b/include/cru/ui/style/Styler.h @@ -37,6 +37,8 @@ class CRU_UI_API CompoundStyler : public Styler { } } + std::vector> GetChildren() const { return stylers_; } + virtual CompoundStyler* Clone() const override { return new CompoundStyler(stylers_); } @@ -84,6 +86,8 @@ class CRU_UI_API CursorStyler : public Styler { CursorStyler* Clone() const override { return new CursorStyler(cursor_); } + std::shared_ptr GetCursor() const { return cursor_; } + private: std::shared_ptr cursor_; }; -- cgit v1.2.3