AbstractDecorationWidget

abstract class AbstractDecorationWidget : Widget, Drawable

Base class for a non-interactable widget used simply for rendering information. In Fzzy Config this is used for Decoration-based rendering, but it can be used elsewhere.

The width and height of this widget are locked to 20, override if you need variable or different dimensions.

Author

fzzyhmstrs

Since

0.6.0

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun getNavigationFocus(): ScreenRect
Link copied to clipboard
abstract fun render(context: DrawContext, mouseX: Int, mouseY: Int, delta: Float)
Link copied to clipboard
open fun setPosition(x: Int, y: Int)