aboutsummaryrefslogtreecommitdiff
path: root/src/ui/mapper/style/StyleRuleMapper.cpp
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/ui/mapper/style/StyleRuleMapper.cpp
parent6753cf4430704de0cc83ebd83425b5e3be430ad4 (diff)
downloadcru-4e0b7d82cd64ef8016dcb49247a8a5e4de8a0b3d.tar.gz
cru-4e0b7d82cd64ef8016dcb49247a8a5e4de8a0b3d.tar.bz2
cru-4e0b7d82cd64ef8016dcb49247a8a5e4de8a0b3d.zip
Rename ClonePtr, update theme.
Diffstat (limited to 'src/ui/mapper/style/StyleRuleMapper.cpp')
-rw-r--r--src/ui/mapper/style/StyleRuleMapper.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/mapper/style/StyleRuleMapper.cpp b/src/ui/mapper/style/StyleRuleMapper.cpp
index f14d11da..30fedb16 100644
--- a/src/ui/mapper/style/StyleRuleMapper.cpp
+++ b/src/ui/mapper/style/StyleRuleMapper.cpp
@@ -1,5 +1,5 @@
#include "cru/ui/mapper/style/StyleRuleMapper.h"
-#include "cru/base/ClonablePtr.h"
+#include "cru/base/ClonePtr.h"
#include "cru/ui/mapper/MapperRegistry.h"
#include "cru/ui/mapper/style/IConditionMapper.h"
#include "cru/ui/mapper/style/IStylerMapper.h"
@@ -13,15 +13,15 @@ bool StyleRuleMapper::XmlElementIsOfThisType(xml::XmlElementNode* node) {
return cru::string::CaseInsensitiveCompare(node->GetTag(), "StyleRule") == 0;
}
-ClonablePtr<ui::style::StyleRule> StyleRuleMapper::DoMapFromXml(
+ClonePtr<ui::style::StyleRule> StyleRuleMapper::DoMapFromXml(
xml::XmlElementNode* node) {
std::vector<IConditionMapper*> condition_mappers =
MapperRegistry::GetInstance()->GetMappersByInterface<IConditionMapper>();
std::vector<IStylerMapper*> styler_mappers =
MapperRegistry::GetInstance()->GetMappersByInterface<IStylerMapper>();
- std::vector<ClonablePtr<Condition>> conditions;
- std::vector<ClonablePtr<Styler>> stylers;
+ std::vector<ClonePtr<Condition>> conditions;
+ std::vector<ClonePtr<Styler>> stylers;
for (auto child : node->GetChildren()) {
if (child->GetType() == xml::XmlNode::Type::Element) {