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:
17 hierarchy_panel(imgui_panels* parent, const char* name);
18
19 void init(rtti::context& ctx);
20
21 void draw_ui(rtti::context& ctx) override;
22 void on_after_render(rtti::context& ctx) override;
23
24 auto get_window_flags() const -> ImGuiWindowFlags override;
25
26private:
27 // UI drawing functions
28 void draw_prefab_mode_header(rtti::context& ctx) const;
29 auto get_scene_display_name(const editing_manager& em, scene* target_scene) const -> std::string;
30 void draw_scene_hierarchy(rtti::context& ctx) const;
31 void handle_window_empty_click(rtti::context& ctx) const;
32};
33} // namespace unravel
void on_after_render(rtti::context &ctx) override
void draw_ui(rtti::context &ctx) override
void init(rtti::context &ctx)
hierarchy_panel(imgui_panels *parent, const char *name)
auto get_window_flags() const -> ImGuiWindowFlags override
std::string name
Definition hub.cpp:33
const aiScene * scene
Represents a scene in the ACE framework, managing entities and their relationships.
Definition scene.h:70