summaryrefslogtreecommitdiffhomepage
path: root/editor/app.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-15 12:01:33 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-15 12:01:33 +0100
commit9a231ffd8bd35108092d218c834544657bfb5986 (patch)
tree7e34f76e6eb4195cab263f042061800abb077482 /editor/app.hpp
parent6aae07688b650be756a443495fa760c2f0a5dc24 (diff)
c
Diffstat (limited to 'editor/app.hpp')
-rw-r--r--editor/app.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/editor/app.hpp b/editor/app.hpp
index 5aefe4f5..662313bc 100644
--- a/editor/app.hpp
+++ b/editor/app.hpp
@@ -1,6 +1,6 @@
#pragma once
#include "compat/defs.hpp"
-#include "compat/enum-bitset.hpp"
+#include "compat/enum-bitset-fwd.hpp"
#include "floormat/app.hpp"
#include "keys.hpp"
#include "src/global-coords.hpp"
@@ -176,9 +176,8 @@ private:
Pointer<floormat::wireframe::meshes> _wireframe;
Pointer<tests_data_> _tests;
Pointer<editor> _editor;
-
- key_set keys;
- std::array<int, key_set::COUNT> key_modifiers = {};
+ Pointer<key_set> keys_;
+ std::array<int, key_COUNT> key_modifiers = {};
std::vector<popup_target> inspectors;
object_id _character_id = 0;
struct cursor_state cursor;