aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-11-01 22:16:24 +0800
committercrupest <crupest@outlook.com>2021-11-01 22:16:24 +0800
commit7045737332f742cec36c3d35f48fad82cd41a04b (patch)
treefe37c9cc781e728baa1db545529246578f232964 /include/cru/platform
parent1dca2841da6f024f613d6dc16de456d5035f8fce (diff)
downloadcru-7045737332f742cec36c3d35f48fad82cd41a04b.tar.gz
cru-7045737332f742cec36c3d35f48fad82cd41a04b.tar.bz2
cru-7045737332f742cec36c3d35f48fad82cd41a04b.zip
...
Diffstat (limited to 'include/cru/platform')
-rw-r--r--include/cru/platform/graphics/Base.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/platform/graphics/Base.hpp b/include/cru/platform/graphics/Base.hpp
index 62ff15c3..26ae725a 100644
--- a/include/cru/platform/graphics/Base.hpp
+++ b/include/cru/platform/graphics/Base.hpp
@@ -18,8 +18,8 @@ struct IPainter;
struct ITextLayout;
struct TextHitTestResult {
- int position;
+ gsl::index position;
bool trailing;
- bool insideText;
+ bool inside_text;
};
} // namespace cru::platform::graphics