aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/graph/base.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-03-18 21:16:25 +0800
committercrupest <crupest@outlook.com>2020-03-18 21:16:25 +0800
commitb129c5a144dfb116082689ffaaa9ac78e2403656 (patch)
tree08c3540569260c4231996f769040beb3737e5b4b /include/cru/platform/graph/base.hpp
parentabf604f8c6ec89c8d7df7062fe10fd17c60d5719 (diff)
downloadcru-b129c5a144dfb116082689ffaaa9ac78e2403656.tar.gz
cru-b129c5a144dfb116082689ffaaa9ac78e2403656.tar.bz2
cru-b129c5a144dfb116082689ffaaa9ac78e2403656.zip
...
Diffstat (limited to 'include/cru/platform/graph/base.hpp')
-rw-r--r--include/cru/platform/graph/base.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/cru/platform/graph/base.hpp b/include/cru/platform/graph/base.hpp
index 8c2a2d2f..0b011262 100644
--- a/include/cru/platform/graph/base.hpp
+++ b/include/cru/platform/graph/base.hpp
@@ -2,3 +2,15 @@
#include "../graph_base.hpp"
#include "../matrix.hpp"
#include "../resource.hpp"
+
+#include "fwd.hpp"
+
+#include <memory>
+
+namespace cru::platform::graph {
+struct TextHitTestResult {
+ int position;
+ bool trailing;
+ bool insideText;
+};
+} // namespace cru::platform::graph