Skip to content

docking feature + example#6

Merged
Sunrisepeak merged 2 commits into
mainfrom
feat/docking-feature
Jun 4, 2026
Merged

docking feature + example#6
Sunrisepeak merged 2 commits into
mainfrom
feat/docking-feature

Conversation

@Sunrisepeak
Copy link
Copy Markdown
Member

imgui = { version, features = [\"docking\"] } — Dock* API surface gated by the feature, facade auto-enables docking, sources from upstream docking tag (1.92.8-docking superset; default behavior unchanged, all tests pass). Pre-docked example verified rendering (docked tab bar). Pairs with mcpp-index#36 (compat.imgui 1.92.8-docking). Requires mcpp ≥ 0.0.47 (features mechanism).

imgui = { version, features = ["docking"] }:
- sources switch to upstream's docking tag (compat.imgui 1.92.8-docking, a
  superset — identical behavior with the feature off; default build/tests
  unchanged).
- core exports the Dock* surface gated by MCPP_FEATURE_DOCKING
  (DockSpace/DockSpaceOverViewport/SetNextWindowDockID/GetWindowDockID/
  IsWindowDocked + ConfigFlags_DockingEnable/Cond_FirstUseEver constants;
  plain-int typedefs intentionally not re-aliased — GMF typedef name clash).
- imgui.app facade auto-enables ImGuiConfigFlags_DockingEnable.
- examples/docking: pre-docked Toolbox/Inspector via DockSpaceOverViewport
  (verified rendering: docked tab bar). CI builds it (needs mcpp >= 0.0.47
  for features; CI installs latest).
@Sunrisepeak Sunrisepeak merged commit 4c1f281 into main Jun 4, 2026
3 of 6 checks passed
@Sunrisepeak Sunrisepeak deleted the feat/docking-feature branch June 4, 2026 00:44
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.

2 participants