Expand description
Editor widget library — composite widgets used by panels.
Each widget is a free function that takes &mut dyn UiBuilder plus
whatever parameters it needs (theme, data, callbacks). Widgets paint to
absolute screen coordinates via the new [UiBuilder] primitives —
paint_*, interact_rect, etc. — so they compose cleanly without
relying on egui’s auto-layout.
Modules§
- brand
- Brand-mark painters — the Khora “diamond” shape and its containing pills.
- chrome
- Chrome widgets — pieces shared between title bar, status bar and panel
headers. Everything below paints to absolute screen-space coordinates and
tracks its own click hit-test via [
UiBuilder::interact_rect]. - controls
- Field-level controls used inside Inspector cards and panel toolbars.
- enum_
variants - Registry of inspector-editable enum variants.
- inspector
- Inspector widget library — header, cards, JSON property walker, tabs.
- paint
- Low-level painting helpers used by other widgets.
- tile
- Asset-browser tile widget — type-coloured gradient thumbnails.