aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-01-19 23:17:49 +0800
committercrupest <crupest@outlook.com>2022-01-19 23:17:49 +0800
commit05abe24e4b076b9b9e40132b6504f06ca31bc68b (patch)
treeaa80bff251643a1c4ff25a1f17bad4f8b2950245
parent31422f87f729bd35bcebfb277d08b230424e3618 (diff)
downloadcru-05abe24e4b076b9b9e40132b6504f06ca31bc68b.tar.gz
cru-05abe24e4b076b9b9e40132b6504f06ca31bc68b.tar.bz2
cru-05abe24e4b076b9b9e40132b6504f06ca31bc68b.zip
...
-rw-r--r--include/cru/ui/mapper/PointMapper.hpp4
-rw-r--r--src/ui/CMakeLists.txt2
-rw-r--r--src/ui/mapper/PointMapper.cpp3
3 files changed, 9 insertions, 0 deletions
diff --git a/include/cru/ui/mapper/PointMapper.hpp b/include/cru/ui/mapper/PointMapper.hpp
new file mode 100644
index 00000000..0f7f39fe
--- /dev/null
+++ b/include/cru/ui/mapper/PointMapper.hpp
@@ -0,0 +1,4 @@
+#pragma once
+#include "Mapper.hpp"
+
+namespace cru::ui::mapper {}
diff --git a/src/ui/CMakeLists.txt b/src/ui/CMakeLists.txt
index 0d42c8b7..9dbe9b3c 100644
--- a/src/ui/CMakeLists.txt
+++ b/src/ui/CMakeLists.txt
@@ -28,6 +28,8 @@ add_library(cru_ui SHARED
host/WindowHost.cpp
mapper/Mapper.cpp
mapper/MapperRegistry.cpp
+ mapper/PointMapper.cpp
+ mapper/ThicknessMapper.cpp
render/BorderRenderObject.cpp
render/CanvasRenderObject.cpp
render/FlexLayoutRenderObject.cpp
diff --git a/src/ui/mapper/PointMapper.cpp b/src/ui/mapper/PointMapper.cpp
new file mode 100644
index 00000000..abd586a4
--- /dev/null
+++ b/src/ui/mapper/PointMapper.cpp
@@ -0,0 +1,3 @@
+#include "cru/ui/mapper/PointMapper.hpp"
+
+namespace cru::ui::mapper {}