View menu — panel visibility toggles for all 5 panels

Each panel (Stage Editor, Scene Hierarchy, Viewport, Property Panel,
Timeline) now has a checkable menu item under View. Closing a panel via
its X button also unchecks the entry. Stage Info and Demo Window follow
below a separator.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-15 22:39:50 +08:00
parent 7f0fa6a944
commit e5d7967455
5 changed files with 121 additions and 27 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ public:
void SetSelectedPrimPath(const std::string& path);
// ── Main render (called from Application::RenderUI) ──────────────────────
void Render();
void Render(bool* p_open = nullptr);
// ── Pick callbacks (wired by Application after construction) ─────────────
std::function<void(const std::string&)> OnPrimPicked;