aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/platform')
-rw-r--r--include/cru/platform/graph/base.hpp12
-rw-r--r--include/cru/platform/graph/fwd.hpp12
2 files changed, 10 insertions, 14 deletions
diff --git a/include/cru/platform/graph/base.hpp b/include/cru/platform/graph/base.hpp
index 0b011262..002c2f51 100644
--- a/include/cru/platform/graph/base.hpp
+++ b/include/cru/platform/graph/base.hpp
@@ -3,11 +3,19 @@
#include "../matrix.hpp"
#include "../resource.hpp"
-#include "fwd.hpp"
-
#include <memory>
namespace cru::platform::graph {
+// forward declarations
+struct IGraphFactory;
+struct IBrush;
+struct ISolidColorBrush;
+struct IFont;
+struct IGeometry;
+struct IGeometryBuilder;
+struct IPainter;
+struct ITextLayout;
+
struct TextHitTestResult {
int position;
bool trailing;
diff --git a/include/cru/platform/graph/fwd.hpp b/include/cru/platform/graph/fwd.hpp
deleted file mode 100644
index 508a49fa..00000000
--- a/include/cru/platform/graph/fwd.hpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#pragma once
-
-namespace cru::platform::graph {
-struct IGraphFactory;
-struct IBrush;
-struct ISolidColorBrush;
-struct IFont;
-struct IGeometry;
-struct IGeometryBuilder;
-struct IPainter;
-struct ITextLayout;
-} // namespace cru::platform::graph