Primer: UI #754

Open
SakulFlee wants to merge 7 commits from ui-primer into main
Owner
No description provided.
- Add orbital_egui crate with git dependency on egui (rev 3fcadda for wgpu 30)
- EguiModule implements Module trait, inserts EguiOverlay as RenderOverlayResource
- EguiState ECS resource with toggle system (F2 key)
- RenderOverlay trait extended with on_window_event() for input forwarding
- RenderOverlayContext extended with window reference
- Deferred initialization pattern (winit_state created on first frame)
- PerformancePanel showing viewport size, dt, FPS
- ScenePanel placeholder for future ECS inspection

Workspace compiles cleanly with no warnings.
Press F2 to toggle the egui debug UI overlay.
File restructuring:
- state.rs: EguiState + EguiPanels resource
- module.rs: EguiModule struct, builder, Module impl
- system.rs: sys_egui_toggle
- overlay.rs: EguiOverlay (reads panels from ECS)
- lib.rs: thin re-export module

ECS integration:
- Panels stored as EguiPanels ECS resource instead of on overlay
- Any module can register panels via get_resource_mut::<EguiPanels>()
- EguiModule::with_panel() still works (inserts into resource)
- Removed clone_panel() from Panel trait (no longer needed)

Workspace compiles cleanly.
Added UI Demo
Some checks failed
ci/woodpecker/pr/linting Pipeline failed
ci/woodpecker/pr/test unknown status
5bd534b171
Author
Owner

Closes #584

Closes #584
style: auto-format code
Some checks failed
ci/woodpecker/pr/linting Pipeline failed
ci/woodpecker/pr/test unknown status
813856a060
Some checks failed
ci/woodpecker/pr/linting Pipeline failed
Required
Details
ci/woodpecker/pr/test unknown status
Required
Details
Some required checks were not successful.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin ui-primer:ui-primer
git switch ui-primer
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SakulFlee/Orbital!754
No description provided.