Expand description
Brand-mark painters — the Khora “diamond” shape and its containing pills.
The diamond itself is defined once in khora_tool_ui::widgets; the helpers
here adapt it to the editor’s (cx, cy, half_extent) convention and add the
editor-only outline + brand-pill composite.
Functions§
- paint_
brand_ pill - Paints the editor’s branded “pill” (rounded 999 background containing a diamond, the engine name, a separator and the active project name).
- paint_
diamond_ filled - Paints a filled 4-point diamond centred at
(cx, cy)with half-extentsize. Adapter over [khora_tool_ui::widgets::diamond] (whosesizeis the full width), so the geometry is defined in exactly one place. - paint_
diamond_ outline - Paints a 4-point diamond (rotated square) outline centered at
(cx, cy).