render Entry
open override fun renderEntry(context: DrawContext, x: Int, y: Int, width: Int, height: Int, mouseX: Int, mouseY: Int, hovered: Boolean, focused: Boolean, delta: Float)
Base render method for the entry.
Author
fzzyhmstrs
Since
0.6.0
Parameters
context
DrawContext
x
Integer position of the left edge of the entry in pixels
y
Integer position of the top edge of the entry in pixels
width
Integer width of the entry in pixels
height
Integer height of the entry in pixels
mouse X
Integer horizontal position of the mouse from the left of the screen in pixels
mouse Y
Integer vertical position of the mouse from the top of the screen in pixels
hovered
whether the entry is hovered with the mouse
focused
whether the entry is focused (has been clicked on or navigated to via keyboard)
delta
tick delta