mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Added UI component, resource & system. Now renders on screen and live reloads
This commit is contained in:
@@ -270,7 +270,6 @@ namespace Nuake
|
||||
OS::OpenIn(file->GetAbsolutePath());
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Editor->Selection = EditorSelection(file);
|
||||
@@ -320,6 +319,10 @@ namespace Nuake
|
||||
{
|
||||
dragType = "_AudioFile";
|
||||
}
|
||||
else if (fileExtension == ".html")
|
||||
{
|
||||
dragType = "_UIFile";
|
||||
}
|
||||
|
||||
ImGui::SetDragDropPayload(dragType.c_str(), (void*)(pathBuffer), sizeof(pathBuffer));
|
||||
ImGui::Text(file->GetName().c_str());
|
||||
|
||||
Reference in New Issue
Block a user