summaryrefslogtreecommitdiffhomepage
path: root/editor/inspect.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-09-01 22:27:30 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-09-01 22:27:30 +0200
commit31fd5bbc08234686cf798a93a18e0bb73615d1bf (patch)
tree59b964d01885916c5d49fef3c168ff10dcbdd93f /editor/inspect.hpp
parent053ea3aa1c443c368f8b43591e3e970e12b50c70 (diff)
rename entity -> object
Diffstat (limited to 'editor/inspect.hpp')
-rw-r--r--editor/inspect.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/inspect.hpp b/editor/inspect.hpp
index 5bfb7c1f..df543f96 100644
--- a/editor/inspect.hpp
+++ b/editor/inspect.hpp
@@ -1,6 +1,6 @@
#pragma once
#include <utility>
-namespace floormat { struct entity; }
+namespace floormat { struct object; }
namespace floormat::entities {
struct erased_accessor;
@@ -27,7 +27,7 @@ template<typename T> using field_repr_slider = field_repr_<T, field_repr, field_
template<typename T> using field_repr_drag = field_repr_<T, field_repr, field_repr::drag>;
template<typename T> using field_repr_cbx = field_repr_<T, field_repr, field_repr::cbx>;
-bool inspect_entity_subtype(entity& x);
+bool inspect_object_subtype(object& x);
template<typename T> bool inspect_field(void* datum, const entities::erased_accessor& accessor,
const ArrayView<const std::pair<StringView, size_t>>& list,