Skip to main content

Module shell

Module shell 

Source
Expand description

Concrete [EditorShell] backed by egui native panels.

Generic host: the shell knows nothing about Khora branding, menus, toolbars or status-bar contents. It just applies a theme, lays out the slots defined by [PanelLocation], and forwards each slot’s egui::Ui to the application-supplied [EditorPanel]s.

Slot layout (all registered panels are routed here):

┌──────────────────────────────────────────────────────┐
│  TopBar (stack, fixed height)                        │
├────────┬───────────────────────────┬─────────────────┤
│ Spine  │                           │                 │
│ (fixed │     Center                │   Right         │
│ width) │                           │   (resizable)   │
│        ├───────────────────────────┴─────────────────┤
│   +    │     Bottom (resizable, tabbed)              │
│  Left  ├──────────────────────────────────────────────┤
│        │     StatusBar (stack, fixed height)         │
└────────┴──────────────────────────────────────────────┘

Structs§

EguiEditorShell
Egui-backed editor shell using native SidePanel, TopBottomPanel, and CentralPanel for the dock layout.