aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/render
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-02-08 16:53:51 +0800
committercrupest <crupest@outlook.com>2022-02-08 16:53:51 +0800
commit74bb9cd27242b9320f99ff4d2b50c3051576cc14 (patch)
tree744bac5799c593d1d6f81e7b09581bea626f2cde /include/cru/ui/render
parentb90c398de829d1ba5329651d75bae82f5e4085fe (diff)
downloadcru-74bb9cd27242b9320f99ff4d2b50c3051576cc14.tar.gz
cru-74bb9cd27242b9320f99ff4d2b50c3051576cc14.tar.bz2
cru-74bb9cd27242b9320f99ff4d2b50c3051576cc14.zip
...
Diffstat (limited to 'include/cru/ui/render')
-rw-r--r--include/cru/ui/render/Base.h (renamed from include/cru/ui/render/Base.hpp)2
-rw-r--r--include/cru/ui/render/BorderRenderObject.h (renamed from include/cru/ui/render/BorderRenderObject.hpp)8
-rw-r--r--include/cru/ui/render/CanvasRenderObject.h (renamed from include/cru/ui/render/CanvasRenderObject.hpp)2
-rw-r--r--include/cru/ui/render/FlexLayoutRenderObject.h (renamed from include/cru/ui/render/FlexLayoutRenderObject.hpp)2
-rw-r--r--include/cru/ui/render/LayoutHelper.h (renamed from include/cru/ui/render/LayoutHelper.hpp)4
-rw-r--r--include/cru/ui/render/LayoutRenderObject.h (renamed from include/cru/ui/render/LayoutRenderObject.hpp)4
-rw-r--r--include/cru/ui/render/MeasureRequirement.h (renamed from include/cru/ui/render/MeasureRequirement.hpp)4
-rw-r--r--include/cru/ui/render/RenderObject.h (renamed from include/cru/ui/render/RenderObject.hpp)10
-rw-r--r--include/cru/ui/render/ScrollBar.h (renamed from include/cru/ui/render/ScrollBar.hpp)26
-rw-r--r--include/cru/ui/render/ScrollRenderObject.h (renamed from include/cru/ui/render/ScrollRenderObject.hpp)10
-rw-r--r--include/cru/ui/render/StackLayoutRenderObject.h (renamed from include/cru/ui/render/StackLayoutRenderObject.hpp)4
-rw-r--r--include/cru/ui/render/TextRenderObject.h (renamed from include/cru/ui/render/TextRenderObject.hpp)2
12 files changed, 39 insertions, 39 deletions
diff --git a/include/cru/ui/render/Base.hpp b/include/cru/ui/render/Base.h
index ac67349e..fca67086 100644
--- a/include/cru/ui/render/Base.hpp
+++ b/include/cru/ui/render/Base.h
@@ -1,5 +1,5 @@
#pragma once
-#include "../Base.hpp"
+#include "../Base.h"
namespace cru::ui::render {
class RenderObject;
diff --git a/include/cru/ui/render/BorderRenderObject.hpp b/include/cru/ui/render/BorderRenderObject.h
index bf4b27a1..d75a979f 100644
--- a/include/cru/ui/render/BorderRenderObject.hpp
+++ b/include/cru/ui/render/BorderRenderObject.h
@@ -1,9 +1,9 @@
#pragma once
#include <string_view>
-#include "../style/ApplyBorderStyleInfo.hpp"
-#include "RenderObject.hpp"
-#include "cru/platform/GraphicsBase.hpp"
-#include "cru/ui/Base.hpp"
+#include "../style/ApplyBorderStyleInfo.h"
+#include "RenderObject.h"
+#include "cru/platform/GraphicsBase.h"
+#include "cru/ui/Base.h"
namespace cru::ui::render {
class CRU_UI_API BorderRenderObject : public RenderObject {
diff --git a/include/cru/ui/render/CanvasRenderObject.hpp b/include/cru/ui/render/CanvasRenderObject.h
index 68400271..ca55ebc6 100644
--- a/include/cru/ui/render/CanvasRenderObject.hpp
+++ b/include/cru/ui/render/CanvasRenderObject.h
@@ -1,5 +1,5 @@
#pragma once
-#include "RenderObject.hpp"
+#include "RenderObject.h"
namespace cru::ui::render {
// Layout logic:
diff --git a/include/cru/ui/render/FlexLayoutRenderObject.hpp b/include/cru/ui/render/FlexLayoutRenderObject.h
index c6fb7211..3a8348f6 100644
--- a/include/cru/ui/render/FlexLayoutRenderObject.hpp
+++ b/include/cru/ui/render/FlexLayoutRenderObject.h
@@ -1,5 +1,5 @@
#pragma once
-#include "LayoutRenderObject.hpp"
+#include "LayoutRenderObject.h"
#include <string_view>
diff --git a/include/cru/ui/render/LayoutHelper.hpp b/include/cru/ui/render/LayoutHelper.h
index 518dc5a3..c2377066 100644
--- a/include/cru/ui/render/LayoutHelper.hpp
+++ b/include/cru/ui/render/LayoutHelper.h
@@ -1,7 +1,7 @@
#pragma once
-#include "Base.hpp"
+#include "Base.h"
-#include "MeasureRequirement.hpp"
+#include "MeasureRequirement.h"
namespace cru::ui::render {
float CalculateAnchorByAlignment(Alignment alignment, float start_point,
diff --git a/include/cru/ui/render/LayoutRenderObject.hpp b/include/cru/ui/render/LayoutRenderObject.h
index 424a5831..42a3aa55 100644
--- a/include/cru/ui/render/LayoutRenderObject.hpp
+++ b/include/cru/ui/render/LayoutRenderObject.h
@@ -1,7 +1,7 @@
#pragma once
-#include "RenderObject.hpp"
+#include "RenderObject.h"
-#include "cru/platform/graphics/util/Painter.hpp"
+#include "cru/platform/graphics/util/Painter.h"
namespace cru::ui::render {
template <typename TChildLayoutData>
diff --git a/include/cru/ui/render/MeasureRequirement.hpp b/include/cru/ui/render/MeasureRequirement.h
index 90d02a02..c740385b 100644
--- a/include/cru/ui/render/MeasureRequirement.hpp
+++ b/include/cru/ui/render/MeasureRequirement.h
@@ -1,7 +1,7 @@
#pragma once
-#include "Base.hpp"
+#include "Base.h"
-#include "cru/common/String.hpp"
+#include "cru/common/String.h"
#include <algorithm>
#include <limits>
diff --git a/include/cru/ui/render/RenderObject.hpp b/include/cru/ui/render/RenderObject.h
index bac97640..1e47e7fc 100644
--- a/include/cru/ui/render/RenderObject.hpp
+++ b/include/cru/ui/render/RenderObject.h
@@ -1,10 +1,10 @@
#pragma once
-#include "Base.hpp"
+#include "Base.h"
-#include "MeasureRequirement.hpp"
-#include "cru/common/Base.hpp"
-#include "cru/common/Event.hpp"
-#include "cru/ui/Base.hpp"
+#include "MeasureRequirement.h"
+#include "cru/common/Base.h"
+#include "cru/common/Event.h"
+#include "cru/ui/Base.h"
#include <cstddef>
#include <string>
diff --git a/include/cru/ui/render/ScrollBar.hpp b/include/cru/ui/render/ScrollBar.h
index f1007d4d..84d4375b 100644
--- a/include/cru/ui/render/ScrollBar.hpp
+++ b/include/cru/ui/render/ScrollBar.h
@@ -1,17 +1,17 @@
#pragma once
-#include "Base.hpp"
-#include "cru/common/Base.hpp"
-#include "cru/common/Event.hpp"
-#include "cru/platform/graphics/Base.hpp"
-#include "cru/platform/graphics/Brush.hpp"
-#include "cru/platform/graphics/Geometry.hpp"
-#include "cru/platform/graphics/Painter.hpp"
-#include "cru/platform/gui/Cursor.hpp"
-#include "cru/platform/gui/TimerHelper.hpp"
-#include "cru/platform/gui/UiApplication.hpp"
-#include "cru/ui/Base.hpp"
-#include "cru/ui/controls/Control.hpp"
-#include "cru/ui/helper/ClickDetector.hpp"
+#include "Base.h"
+#include "cru/common/Base.h"
+#include "cru/common/Event.h"
+#include "cru/platform/graphics/Base.h"
+#include "cru/platform/graphics/Brush.h"
+#include "cru/platform/graphics/Geometry.h"
+#include "cru/platform/graphics/Painter.h"
+#include "cru/platform/gui/Cursor.h"
+#include "cru/platform/gui/TimerHelper.h"
+#include "cru/platform/gui/UiApplication.h"
+#include "cru/ui/Base.h"
+#include "cru/ui/controls/Control.h"
+#include "cru/ui/helper/ClickDetector.h"
#include <gsl/pointers>
#include <memory>
diff --git a/include/cru/ui/render/ScrollRenderObject.hpp b/include/cru/ui/render/ScrollRenderObject.h
index 19814c51..bb282953 100644
--- a/include/cru/ui/render/ScrollRenderObject.hpp
+++ b/include/cru/ui/render/ScrollRenderObject.h
@@ -1,10 +1,10 @@
#pragma once
-#include "RenderObject.hpp"
+#include "RenderObject.h"
-#include "cru/common/Event.hpp"
-#include "cru/platform/graphics/util/Painter.hpp"
-#include "cru/ui/Base.hpp"
-#include "cru/ui/render/ScrollBar.hpp"
+#include "cru/common/Event.h"
+#include "cru/platform/graphics/util/Painter.h"
+#include "cru/ui/Base.h"
+#include "cru/ui/render/ScrollBar.h"
#include <memory>
#include <optional>
diff --git a/include/cru/ui/render/StackLayoutRenderObject.hpp b/include/cru/ui/render/StackLayoutRenderObject.h
index 2f832e55..e141d16e 100644
--- a/include/cru/ui/render/StackLayoutRenderObject.hpp
+++ b/include/cru/ui/render/StackLayoutRenderObject.h
@@ -1,6 +1,6 @@
#pragma once
-#include "LayoutRenderObject.hpp"
-#include "cru/ui/Base.hpp"
+#include "LayoutRenderObject.h"
+#include "cru/ui/Base.h"
namespace cru::ui::render {
// Measure Logic:
diff --git a/include/cru/ui/render/TextRenderObject.hpp b/include/cru/ui/render/TextRenderObject.h
index 601bd0a8..3b5f581a 100644
--- a/include/cru/ui/render/TextRenderObject.hpp
+++ b/include/cru/ui/render/TextRenderObject.h
@@ -1,5 +1,5 @@
#pragma once
-#include "RenderObject.hpp"
+#include "RenderObject.h"
#include <string>