Package-level declarations

Types

Link copied to clipboard
abstract class Component(at: Vec2, size: Vec2, alignment: Align = AlignDefault)

Component is the base class of everything on the screen in PolyUI.

Link copied to clipboard
abstract class Drawable(children: Component? = arrayOf(), at: Vec2 = Vec2.ZERO, alignment: Align = AlignDefault, size: Vec2 = Vec2.ZERO, visibleSize: Vec2 = Vec2.ZERO, palette: Colors.Palette? = null, val focusable: Boolean = false) : Scrollable, Cloneable

The most basic thing in the PolyUI rendering system.

Link copied to clipboard
abstract class Inputtable(at: Vec2, size: Vec2, alignment: Align, val focusable: Boolean) : Component

Extensions to Component which allow it to send and receive events.

Link copied to clipboard
abstract class Scrollable(at: Vec2, size: Vec2, visibleSize: Vec2, alignment: Align, val focusable: Boolean) : Inputtable

Extensions to Component which allow it to listen to scroll events and scroll itself.