#pragma once #include #include #include #include namespace lt { class PropertiesPanel; class SceneHierarchyPanel: public Panel { public: SceneHierarchyPanel(); SceneHierarchyPanel( memory::Ref context, memory::Ref properties_panel = nullptr ); void on_user_interface_update(); void set_context( memory::Ref context, memory::Ref properties_panel = nullptr ); private: void draw_node(Entity entity, const std::string &label); memory::Ref m_context; memory::Ref m_properties_panel_context; Entity m_selection_context; }; } // namespace lt