mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Handle exceptions from C# Scripts + Log window + EditorLogger
+ Renamed Platform/DX11/ImGui.bf to .../Dx11ImGui.bf for clarity + ImGuiExtension: ImageButtonEx thata takes a TextureViewBinding + EditorLogger that logs to the LogWindow + Current logger can now be changed + Info, Trace, Warning and Error Icons
This commit is contained in:
@@ -171,6 +171,11 @@ namespace GlitchyEditor
|
||||
|
||||
ContentBrowserWindow.s_FolderTexture = _editorIcons.Folder;
|
||||
ContentBrowserWindow.s_FileTexture = _editorIcons.File;
|
||||
|
||||
LogWindow.s_ErrorIcon = _editorIcons.Error;
|
||||
LogWindow.s_WarningIcon = _editorIcons.Warning;
|
||||
LogWindow.s_InfoIcon = _editorIcons.Info;
|
||||
LogWindow.s_TraceIcon = _editorIcons.Trace;
|
||||
}
|
||||
|
||||
private void InitEditor()
|
||||
@@ -807,6 +812,9 @@ namespace GlitchyEditor
|
||||
|
||||
if(ImGui.MenuItem(AssetViewer.s_WindowTitle))
|
||||
_editor.AssetViewer.Open = true;
|
||||
|
||||
if(ImGui.MenuItem(LogWindow.s_WindowTitle))
|
||||
_editor.LogWindow.Open = true;
|
||||
|
||||
ImGui.EndMenu();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user