blob: 1ea38bf713a0787889c589aee433332905def4f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include "../Mapper.hpp"
#include "cru/ui/style/ApplyBorderStyleInfo.hpp"
#include "cru/xml/XmlNode.hpp"
namespace cru::ui::mapper::style {
class BorderStyleMapper : BasicMapper<ui::style::ApplyBorderStyleInfo> {
public:
CRU_DEFAULT_CONSTRUCTOR_DESTRUCTOR(BorderStyleMapper)
public:
bool SupportMapFromXml() override { return true; }
bool XmlElementIsOfThisType(xml::XmlElementNode* node) override;
protected:
std::unique_ptr<ui::style::ApplyBorderStyleInfo> DoMapFromXml(
xml::XmlElementNode* node) override;
};
} // namespace cru::ui::mapper::style
|