SparrohUILib
Shared UI library for Sparroh Mycopunk mods. Provides themed widgets, HUD builders, windows, and resolution-aware layout.
CHANGELOG
Changelog
1.1.1
- Fixed gear-bar / button hover being wiped when
SetInteractableorSetStyleran every frame UIButtonnow tracks hover/press state and reapplies the correct color after style/interactable changesGearActionBar.Register/SetText/SetInteractableonly apply when values actually change- Stronger, style-specific button hover/pressed colors for Default, Primary, Danger, and Active
1.1.0
- Added hex color parsing helpers:
UIColors.TryParseHex,UIColors.ParseHex - Added
ConfigColorhelper for binding hex color config entries with cachedColorvalues
1.0.0
- Initial release of SparrohUILib
- Theme system with Mycopunk-inspired palette and resolution-aware scaling
- Core UI factory and layout helpers
- HUD builders (single-line and multi-line panels)
- Widgets: text, button, toggle, input field, panel, scroll view, separator, dropdown, slider, progress bar, tabs, tooltip
- Overlay windows and confirmation dialogs (per-window canvases)