Basic drag & drop

This commit is contained in:
Simon Lübeß
2025-06-17 14:43:06 +02:00
parent 2c0b000afc
commit 07faafd28d
4 changed files with 361 additions and 5 deletions
+12
View File
@@ -5,6 +5,8 @@ using GlitchyEditor.Assets;
using GlitchyEditor.Assets.Importers;
using GlitchyEditor.Assets.Processors;
using GlitchyEditor.Assets.Exporters;
using DirectX.Common;
using GlitchyEditor.Platform.Windows;
namespace GlitchyEditor
{
@@ -16,8 +18,18 @@ namespace GlitchyEditor
{
Log.ClientLogger = new EditorLogger();
Log.EngineLogger = new EditorLogger() { IsEngineLogger = true };
// TODO: Windows only
HResult result = OleInitialize(null);
Log.EngineLogger.Assert(result case .S_OK);
PushLayer(new EditorLayer(args, _contentManager));
}
public ~this()
{
OleUninitialize();
}
protected override IContentManager InitContentManager()