#pragma once #include #include #include "EditorInterface.h" namespace Nuake { class FileSystemUI { private: EditorInterface* Editor; public: Ref m_CurrentDirectory; FileSystemUI(EditorInterface* editor) { m_CurrentDirectory = FileSystem::RootDirectory; Editor = editor; } void Draw(); void DrawDirectoryContent(); void DrawFiletree(); void EditorInterfaceDrawFiletree(Ref dir); void DrawDirectory(Ref directory); bool EntityContainsItself(Entity source, Entity target); void DrawFile(Ref file); void DrawDirectoryExplorer(); }; }