feat(editor): quest count and open format save indicator in Info panel

This commit is contained in:
Kelsi 2026-05-05 10:58:11 -07:00
parent 126567a1d0
commit a3b6653e15

View file

@ -2104,10 +2104,12 @@ void EditorUI::renderPropertiesPanel(EditorApp& app) {
if (hist.canUndo() || hist.canRedo()) if (hist.canUndo() || hist.canRedo())
ImGui::Text("Undo: %zu Redo: %zu", hist.undoCount(), hist.redoCount()); ImGui::Text("Undo: %zu Redo: %zu", hist.undoCount(), hist.redoCount());
ImGui::Text("Quests: %zu", app.getQuestEditor().questCount());
if (app.getTerrainEditor().hasUnsavedChanges()) if (app.getTerrainEditor().hasUnsavedChanges())
ImGui::TextColored(ImVec4(1, 0.8f, 0.3f, 1), "* Unsaved (Ctrl+S to save)"); ImGui::TextColored(ImVec4(1, 0.8f, 0.3f, 1), "* Unsaved (Ctrl+S to save)");
else else
ImGui::TextColored(ImVec4(0.5f, 0.8f, 0.5f, 1), "Saved"); ImGui::TextColored(ImVec4(0.5f, 0.8f, 0.5f, 1), "Saved (open format)");
} }
ImGui::End(); ImGui::End();
} }