Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
InspectorPanel.h
Go to the documentation of this file.
1/*
2 * Olympe Blueprint Editor - Inspector Panel
3 *
4 * Dynamic inspector that adapts to context:
5 * - Shows node properties when a graph node is selected
6 * - Shows entity components when a runtime entity is selected
7 */
8
9#pragma once
10
11#include <string>
12
13namespace Olympe
14{
16 {
17 None,
20 AssetFile // New context for asset file metadata
21 };
22
23 /**
24 * InspectorPanel - Adaptive inspector panel
25 * Displays properties based on current selection context
26 */
28 {
29 public:
32
33 void Initialize();
34 void Shutdown();
35 void Render();
36
37 private:
40 void RenderAssetFileInspector(); // New method for asset metadata
41 void RenderComponentProperties(uint64_t entityId, const std::string& componentType);
42
44 };
45}
ComponentTypeID GetComponentTypeID_Static()
Definition ECS_Entity.h:56
InspectorPanel - Adaptive inspector panel Displays properties based on current selection context.
void RenderComponentProperties(uint64_t entityId, const std::string &componentType)
InspectorContext DetermineContext()