Unravel Engine C++ Reference
Loading...
Searching...
No Matches
hierarchy_panel.h
Go to the documentation of this file.
1#pragma once
3
4#include "../entity_panel.h"
5#include <base/basetypes.hpp>
6#include <context/context.hpp>
7
8
9namespace unravel
10{
11// Forward declarations
12class editing_manager;
13class scene;
15{
16public:
18
19 void init(rtti::context& ctx);
20
21 void on_frame_ui_render(rtti::context& ctx, const char* name);
22
23private:
24 // UI drawing functions
25 void draw_prefab_mode_header(rtti::context& ctx) const;
26 auto get_scene_display_name(const editing_manager& em, scene* target_scene) const -> std::string;
27 void draw_scene_hierarchy(rtti::context& ctx) const;
28 void handle_window_empty_click(rtti::context& ctx) const;
29};
30} // namespace unravel
hierarchy_panel(imgui_panels *parent)
void init(rtti::context &ctx)
std::string name
Definition hub.cpp:27
Represents a scene in the ACE framework, managing entities and their relationships.
Definition scene.h:21