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