This commit is contained in:
Simon Lübeß
2023-03-25 13:04:02 +01:00
parent d54cdf43ee
commit 5893cfb74a
6 changed files with 99 additions and 245 deletions
@@ -14,6 +14,8 @@ namespace GlitchyEditor.EditWindows
class ContentBrowserWindow : EditorWindow
{
public const String s_WindowTitle = "Content Browser";
private append String _currentDirectory = .();
private append String _selectedFile = .();
@@ -40,7 +42,7 @@ namespace GlitchyEditor.EditWindows
_currentDirectory.Set(_manager.ContentDirectory);
}
if(!ImGui.Begin("Content Browser", &_open, .None))
if(!ImGui.Begin(s_WindowTitle, &_open, .None))
{
ImGui.End();
return;