addState

expect open fun addState(state: UShort)

Add one or more states to the object. The other state bits will remain unchanged. If specified in the styles, transition animation will be started from the previous state to the current.

Parameters

state

The states to add. E.g LV_STATE_PRESSED or LV_STATE_FOCUSED.


expect open fun addState(state: LvglState)

Add a state to the object. The other state bits will remain unchanged. If specified in the styles, transition animation will be started from the previous state to the current.

Parameters

state

The state to add. E.g LvglState.PRESSED.

actual open fun addState(state: UShort)
actual open fun addState(state: LvglState)
actual open fun addState(state: UShort)
actual open fun addState(state: LvglState)