Companion

object Companion

Properties

Link copied to clipboard
const val DANGER: Byte = 0
Link copied to clipboard

Fallback font library bundled with PolyUI

Link copied to clipboard

The fallback default image bundled with PolyUI

Link copied to clipboard
const val INPUT_DISABLED: Byte
Link copied to clipboard
const val INPUT_HOVERED: Byte = 1
Link copied to clipboard
const val INPUT_NONE: Byte = 0
Link copied to clipboard
const val INPUT_PRESSED: Byte = 2
Link copied to clipboard

If the current OS is detected as macOS

Link copied to clipboard
Link copied to clipboard
const val SUCCESS: Byte = 2
Link copied to clipboard
const val WARNING: Byte = 1

Functions

Link copied to clipboard
inline fun timed(log: Boolean = true, msg: String? = null, block: () -> Unit): Long

Time the block and return how long it took, as well as logging with the msg if log is true.