What fills a themed rectangle: a theme slot (follows theme swaps) or a fixed 0xAARRGGBB
colour (stays put). One Int at runtime — the six slot ids live in the alpha-zero range no
real colour occupies, so resolve() tells them apart with a single branch.
from Int means both forms read naturally where a UIFill is expected: slot names resolve
unqualified (new UIPanel(w, h, CARD)) and any colour literal is accepted as a fixed fill
(new UIPanel(w, h, 0xFF1E1E21)).
The encoding reserves alpha == 0, so a fully transparent fixed fill can't be expressed —
use a non-blocking group or the widget's alpha instead.
BG->UITheme.bg(window/backdrop)PANEL->UITheme.panel(base surface)PANEL2->UITheme.panel2(raised surface)PANEL3->UITheme.panel3(highest surface)CARD->UITheme.card(grouped content)INPUT->UITheme.inputBg(recessed input well)
Static methods
staticinlineresolve(this:Int):Int
The ARGB colour this fill paints right now: theme slots re-read the live palette (so
widgets calling this in render() follow theme swaps), fixed colours return themselves.
Returns:
the resolved 0xAARRGGBB colour