aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/mapper/style/FontStylerMapper.h
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-12-15 21:27:33 +0800
committerYuqian Yang <crupest@crupest.life>2025-12-15 21:27:33 +0800
commitc77072d586bf7aca58e6465ceab3d11a0be0021f (patch)
tree83605be90fd32104ef74bbd1d84d900aaf0271ce /include/cru/ui/mapper/style/FontStylerMapper.h
parentbc3fa9650699046f3a87a620282ee43f26b2fa75 (diff)
downloadcru-c77072d586bf7aca58e6465ceab3d11a0be0021f.tar.gz
cru-c77072d586bf7aca58e6465ceab3d11a0be0021f.tar.bz2
cru-c77072d586bf7aca58e6465ceab3d11a0be0021f.zip
Clean up mapper codes.
Diffstat (limited to 'include/cru/ui/mapper/style/FontStylerMapper.h')
-rw-r--r--include/cru/ui/mapper/style/FontStylerMapper.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/cru/ui/mapper/style/FontStylerMapper.h b/include/cru/ui/mapper/style/FontStylerMapper.h
deleted file mode 100644
index 6a79eb99..00000000
--- a/include/cru/ui/mapper/style/FontStylerMapper.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#pragma once
-#include "../Mapper.h"
-#include "IStylerMapper.h"
-
-namespace cru::ui::mapper::style {
-class FontStylerMapper : public BasicClonePtrMapper<ui::style::FontStyler>,
- public virtual IStylerMapper {
- public:
- FontStylerMapper();
- ~FontStylerMapper() override;
-
- public:
- bool SupportMapFromXml() override { return true; }
-
- ClonePtr<ui::style::Styler> MapStylerFromXml(
- xml::XmlElementNode* node) override {
- return MapFromXml(node);
- }
-
- protected:
- ClonePtr<ui::style::FontStyler> DoMapFromXml(
- xml::XmlElementNode* node) override;
-};
-} // namespace cru::ui::mapper::style