mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-09-16 15:49:25 -04:00
Both UIs need the same stoplight/PDF/error/series icons. WinForms selected pre-baked PNGs by name while Avalonia composed vector layers in XAML, so the two drifted and every new combination needed another pair of PNGs. Port the Avalonia artwork and palette into LibationUiBase and rasterize it with SkiaSharp, keyed by a descriptor of the finite combinations and cached in memory. EntryStatus.ButtonImage now serves that shared rendering to both UIs. Co-authored-by: rmcrackan <rmcrackan@gmail.com>