Improved filesystem browser, color accent, drag n drop, new icons

This commit is contained in:
antopilo
2024-09-16 20:12:36 -04:00
parent da995b99c8
commit dd3cc823c0
22 changed files with 422 additions and 105 deletions

View File

@@ -10,6 +10,8 @@
#include "src/UI/NuakeUI.h"
#include "src/UI/UIInputManager.h"
void EditorApplication::OnInit()
{
using namespace Nuake;
@@ -73,6 +75,13 @@ void EditorApplication::OnInit()
}
});
m_Window->SetOnDragNDropCallback([&](Window& window, const std::vector<std::string>& paths) {
for (auto& layer : m_LayerStack)
{
layer->OnDragNDrop(paths);
}
});
PushLayer(CreateScope<EditorLayer>());
}