Skip to main content

Module shell

Module shell 

Source
Expand description

Abstract editor shell — generic host for dock-based panel layouts.

The shell owns no application logic and no branding. It only knows how to:

  • apply a theme to the underlying UI backend,
  • lay out panels in a small set of fixed slots (PanelLocation),
  • render those panels each frame via the [UiBuilder] abstraction.

Concrete implementations (e.g. egui) live in khora-infra. Editor-specific chrome (menu bars, toolbars, status bars, brand logos) is implemented as ordinary panels in the application crate (khora-editor) — never in the shell or the backend.

Traits§

EditorShell
The top-level editor shell — a generic host for docked panels.