aboutsummaryrefslogtreecommitdiff
path: root/source/EditorInspector.hpp
diff options
context:
space:
mode:
authorhnOsmium0001 <[email protected]>2022-04-09 13:29:41 -0700
committerhnOsmium0001 <[email protected]>2022-04-09 13:29:41 -0700
commit906557f094e407ce21d429ef647bc75fe3179cf1 (patch)
tree5e6aaed6537a0328318b6cd6561f6a76bf8aa27d /source/EditorInspector.hpp
parente47a98793e58a5dbbe76bfed27e59408e43538e4 (diff)
More work on editor
Diffstat (limited to 'source/EditorInspector.hpp')
-rw-r--r--source/EditorInspector.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/EditorInspector.hpp b/source/EditorInspector.hpp
new file mode 100644
index 0000000..d74b7a8
--- /dev/null
+++ b/source/EditorInspector.hpp
@@ -0,0 +1,17 @@
+#pragma once
+
+class IEditorInspectorTarget {
+public:
+ virtual void ShowInspector() = 0;
+};
+
+class EditorInspector {
+private:
+ IEditorInspectorTarget* mCurrentTarget = nullptr;
+
+public:
+ void Show();
+
+ IEditorInspectorTarget* GetCurrentTarget() const;
+ void SetCurrentTarget(IEditorInspectorTarget* target);
+};