summaryrefslogtreecommitdiffhomepage
path: root/floormat/events.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'floormat/events.hpp')
-rw-r--r--floormat/events.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/floormat/events.hpp b/floormat/events.hpp
index c7d36379..b5294d76 100644
--- a/floormat/events.hpp
+++ b/floormat/events.hpp
@@ -1,4 +1,5 @@
#pragma once
+#include <Corrade/Containers/StringView.h>
#include <Magnum/Math/Vector2.h>
namespace floormat {
@@ -32,11 +33,11 @@ struct mouse_scroll_event final {
};
struct text_input_event final {
- Containers::StringView text;
+ StringView text;
};
struct text_editing_event final {
- Containers::StringView text;
+ StringView text;
int32_t start = 0, length = 0;
};