Skip to main content

Module chrome

Module chrome 

Source
Expand description

Editor chrome — branded UI strips that surround the dock panels.

These panels are owned entirely by the editor application. They contain all Khora-specific branding (logo, project name, brand colors), all menu definitions, and all status-bar formatting. The shell and the egui backend know nothing about them — they are just regular EditorPanel implementations that the editor registers at startup at the appropriate PanelLocation slots (TopBar, Spine, StatusBar, …).

§Layout

  • TitleBarPanel — branded top strip with menus + Cmd+K search (44px).
  • SpinePanel — vertical mode switcher on the far-left edge (56px).
  • StatusBarPanel — bottom metrics strip (24px).

Gizmo tool selection and Play/Stop transport controls live as overlays inside the 3D viewport (see panels::viewport::paint_tool_pill / paint_transport_pill), not as a top toolbar.

Re-exports§

pub use spine::SpinePanel;
pub use status_bar::StatusBarPanel;
pub use title_bar::TitleBarPanel;

Modules§

spine
Spine — the vertical workspace switcher on the far-left edge.
status_bar
Status bar — one monospace strip of live facts.
title_bar
Title bar — branded top strip with brand pill, native menus and Cmd+K search.