mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-21 20:08:40 +03:00
Added Screen space reflections and Editor UI refactoring
This commit is contained in:
29
Editor/src/Windows/FileSystemUI.h
Normal file
29
Editor/src/Windows/FileSystemUI.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
#include <src/Core/FileSystem.h>
|
||||
#include <src/Scene/Entities/Entity.h>
|
||||
#include "EditorInterface.h"
|
||||
|
||||
namespace Nuake {
|
||||
class FileSystemUI
|
||||
{
|
||||
private:
|
||||
EditorInterface* Editor;
|
||||
|
||||
public:
|
||||
Ref<Directory> m_CurrentDirectory;
|
||||
|
||||
FileSystemUI(EditorInterface* editor) {
|
||||
m_CurrentDirectory = FileSystem::RootDirectory;
|
||||
Editor = editor;
|
||||
}
|
||||
|
||||
void Draw();
|
||||
void DrawDirectoryContent();
|
||||
void DrawFiletree();
|
||||
void EditorInterfaceDrawFiletree(Ref<Directory> dir);
|
||||
void DrawDirectory(Ref<Directory> directory);
|
||||
bool EntityContainsItself(Entity source, Entity target);
|
||||
void DrawFile(Ref<File> file);
|
||||
void DrawDirectoryExplorer();
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user