aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/graph/text_layout.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/text_layout.hpp
parentabf604f8c6ec89c8d7df7062fe10fd17c60d5719 (diff)
downloadcru-b129c5a144dfb116082689ffaaa9ac78e2403656.tar.gz
cru-b129c5a144dfb116082689ffaaa9ac78e2403656.tar.bz2
cru-b129c5a144dfb116082689ffaaa9ac78e2403656.zip
...
Diffstat (limited to 'include/cru/platform/graph/text_layout.hpp')
-rw-r--r--include/cru/platform/graph/text_layout.hpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/cru/platform/graph/text_layout.hpp b/include/cru/platform/graph/text_layout.hpp
index d1cfb44b..20009c0d 100644
--- a/include/cru/platform/graph/text_layout.hpp
+++ b/include/cru/platform/graph/text_layout.hpp
@@ -1,19 +1,10 @@
#pragma once
#include "resource.hpp"
-#include <memory>
#include <string>
#include <vector>
namespace cru::platform::graph {
-struct IFont;
-
-struct TextHitTestResult {
- int position;
- bool trailing;
- bool insideText;
-};
-
struct ITextLayout : virtual IGraphResource {
virtual std::string GetText() = 0;
virtual void SetText(std::string new_text) = 0;