refactor(ui): extract retained runtime composition
This commit is contained in:
parent
5d9e98c118
commit
ff06aa3107
7 changed files with 727 additions and 605 deletions
|
|
@ -111,6 +111,13 @@ reverse ownership order. `UiHost` removes Silk device subscriptions first, then
|
|||
disposes the manager/controllers, then its GL renderer. `GameWindow.OnClosing`
|
||||
tears this runtime down before session and game-state sources.
|
||||
|
||||
`RetailUiRuntime` is the production composition boundary. `GameWindow` creates
|
||||
the GL/DAT resolvers and supplies focused state/action binding records in one
|
||||
mount call; the runtime owns all LayoutDesc imports, controller construction,
|
||||
window registration, plugin mounts, cursor feedback, layout persistence, and the
|
||||
retained tick/draw/restore/dispose paths. Panel-specific construction must not
|
||||
move back into `GameWindow.OnLoad`.
|
||||
|
||||
---
|
||||
|
||||
## Project Structure (current + target)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue