Skip to content

Add editor layout preset menu - #514

Closed
yasufumi-nakata wants to merge 2 commits into
carboncopies:masterfrom
yasufumi-nakata:yasufumi/ers-100-layout-menu
Closed

yasufumi-nakata wants to merge 2 commits into
carboncopies:masterfrom
yasufumi-nakata:yasufumi/ers-100-layout-menu

Conversation

@yasufumi-nakata

Copy link
Copy Markdown
Contributor

Fixes #100.

I can't use the GitLab instance from this machine, so I'm submitting this through the GitHub mirror.

This replaces stale/conflicting PR #365 with a fresh branch against current master.

Summary:

  • Add a top-level Layout editor menu with preset apply, reload, and save-current-layout actions.
  • Wire the menu through the editor GUI and CMake targets.
  • Extend LayoutManager to load YAML layout presets from EditorAssets/Configuration/Layouts, support external ImGui ini payloads through ImGuiIniPath, preserve full ini data on save, and update existing presets by display name.
  • Move the default layout payload into EditorAssets/DefaultLayout/imgui.ini and point the default preset YAML at it.

Verification:

  • git diff --check
  • Confirmed default layout manifest references DisplayName and ImGuiIniPath, and that EditorAssets/DefaultLayout/imgui.ini exists.
  • Focused clang++ -std=c++17 -fsyntax-only check for LayoutManager.cpp and GUI_Menu_Layout.cpp using local stubs for unavailable external dependencies.

Known local build blocker:

  • Full CMake configure still cannot run in this checkout because ThirdParty/vcpkg/scripts/buildsystems/vcpkg.cmake is missing and no Unix Makefiles build program is configured (CMAKE_MAKE_PROGRAM unset).

@yasufumi-nakata
yasufumi-nakata force-pushed the yasufumi/ers-100-layout-menu branch from 3b4bb4e to f8b72b7 Compare May 15, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Layout Menu To Create Preset Editor Layouts

1 participant