aboutsummaryrefslogtreecommitdiff
path: root/src/ThemeBuilder/components/stylers/CompoundStylerEditor.h
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-11-16 10:37:36 +0800
committerYuqian Yang <crupest@crupest.life>2025-11-16 11:00:52 +0800
commit4e0b7d82cd64ef8016dcb49247a8a5e4de8a0b3d (patch)
tree9e3226a79945ee02686aa2a8b2db4031937d20dc /src/ThemeBuilder/components/stylers/CompoundStylerEditor.h
parent6753cf4430704de0cc83ebd83425b5e3be430ad4 (diff)
downloadcru-4e0b7d82cd64ef8016dcb49247a8a5e4de8a0b3d.tar.gz
cru-4e0b7d82cd64ef8016dcb49247a8a5e4de8a0b3d.tar.bz2
cru-4e0b7d82cd64ef8016dcb49247a8a5e4de8a0b3d.zip
Rename ClonePtr, update theme.
Diffstat (limited to 'src/ThemeBuilder/components/stylers/CompoundStylerEditor.h')
-rw-r--r--src/ThemeBuilder/components/stylers/CompoundStylerEditor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ThemeBuilder/components/stylers/CompoundStylerEditor.h b/src/ThemeBuilder/components/stylers/CompoundStylerEditor.h
index 91d2bff5..f9265fbf 100644
--- a/src/ThemeBuilder/components/stylers/CompoundStylerEditor.h
+++ b/src/ThemeBuilder/components/stylers/CompoundStylerEditor.h
@@ -1,6 +1,6 @@
#pragma once
#include "StylerEditor.h"
-#include "cru/base/ClonablePtr.h"
+#include "cru/base/ClonePtr.h"
#include "cru/ui/DeleteLater.h"
#include "cru/ui/components/PopupButton.h"
#include "cru/ui/controls/FlexLayout.h"
@@ -13,14 +13,14 @@ class CompoundStylerEditor : public StylerEditor {
~CompoundStylerEditor() override;
public:
- ClonablePtr<ui::style::CompoundStyler> GetValue();
+ ClonePtr<ui::style::CompoundStyler> GetValue();
void SetValue(ui::style::CompoundStyler* styler, bool trigger_change = true);
- void SetValue(const ClonablePtr<ui::style::CompoundStyler>& styler,
+ void SetValue(const ClonePtr<ui::style::CompoundStyler>& styler,
bool trigger_change = true) {
SetValue(styler.get(), trigger_change);
}
- ClonablePtr<ui::style::Styler> GetStyler() override { return GetValue(); }
+ ClonePtr<ui::style::Styler> GetStyler() override { return GetValue(); }
private:
ui::controls::FlexLayout children_container_;