HudLayout
A layout for elements of HUD.
A layout arranges positions and possibly sizes of its elements.
Functions
Link copied to clipboard
Adds given element to this layout.
Link copied to clipboard
abstract fun addInputEventListener(listener: HudElement.InputEventListener)
Content copied to clipboard
Adds given input events listener to this element.
Link copied to clipboard
abstract fun handleInputEvent(position: <Error class: unknown class>, event: Any?): Boolean
Content copied to clipboard
Link copied to clipboard
Arranges this layout's elements.
Link copied to clipboard
Removes given element from this layout.
Link copied to clipboard
Removes an element at the given index from this layout.
Link copied to clipboard
abstract fun removeInputEventListener(listener: HudElement.InputEventListener)
Content copied to clipboard
Removes given input events listener from this element.