Skip to content

net.kernelpanicsoft.archie.gui.composables.theme

Types

TextureStates

object TextureStates

Constant keys used to look up ThemeState entries within a ComposableTheme's state map.

WidgetState

object WidgetState

Resolves a stateful composable's TextureStates key from an ordered set of independent boolean state axes (hovered, checked, pressed, ...), replacing the hand-written when chain every stateful composable (Checkbox, Radio, Switch, Button, Slider, Tab) used to maintain separately - which had drifted out of sync with each other (e.g. Tab's combined hover state only fired via its selected axis, not its pressed axis, unlike every other component - see resolve's "Tab" note).