|
Project Zomboid Lua Docs 42.20.3
Unofficial documentation for Project Zomboid's Lua
|
Public Member Functions | |
| UIFont | getFont (string key) |
| number | getFontHeight (string key) |
| void | setFont (string key, UIFont font) |
| ISBrush | getBrush (string key) |
| ISStyle () | |
| Public Member Functions inherited from ISBaseObject | |
| void | initialise () |
| ISBaseObject | derive (string type) |
| boolean | instanceof (unknown object, string type) |
| void | addEventListener (string _event, function _callback, unknown _target) |
| void | removeEventListener (string _event, function _callback) |
| void | triggerEvent (string _event, unknown ...) |
| void | clearEventListeners () |
| ISBaseObject () | |
Static Public Member Functions | |
| static ISStyle | getDefault () |
| static void | setDefault (ISStyle style) |
Public Attributes | |
| number | buttonHeight |
| number | labelHeight |
| number | borderSpacing |
| number | joypadTexSize |
| number | buttonPadding |
| number | initialY |
| Public Attributes inherited from ISBaseObject | |
| string | Type |
| ISBaseObject | SuperType |
| table< string, table< function, unknown > > | __eventListeners |
Static Public Attributes | |
| static table< any, umbrella::ISStyle::FontEntry > | fonts |
| static table< any, ISBrush > | brushes |
| static ISStyle | default |
| ISStyle::ISStyle | ( | ) |
| ISBrush ISStyle::getBrush | ( | string | key | ) |
|
static |
| UIFont ISStyle::getFont | ( | string | key | ) |
| number ISStyle::getFontHeight | ( | string | key | ) |
|
static |
| void ISStyle::setFont | ( | string | key, |
| UIFont | font ) |
| number ISStyle::borderSpacing |
|
static |
| number ISStyle::buttonHeight |
| number ISStyle::buttonPadding |
|
static |
|
static |
| number ISStyle::initialY |
| number ISStyle::joypadTexSize |
| number ISStyle::labelHeight |