Project Zomboid Lua Docs 42.20.3
Unofficial documentation for Project Zomboid's Lua
Loading...
Searching...
No Matches
ISStyle Class Reference
Inheritance diagram for ISStyle:
ISBaseObject

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

Constructor & Destructor Documentation

◆ ISStyle()

ISStyle::ISStyle ( )

Member Function Documentation

◆ getBrush()

ISBrush ISStyle::getBrush ( string key)

◆ getDefault()

ISStyle ISStyle::getDefault ( )
static

◆ getFont()

UIFont ISStyle::getFont ( string key)

◆ getFontHeight()

number ISStyle::getFontHeight ( string key)

◆ setDefault()

void ISStyle::setDefault ( ISStyle style)
static

◆ setFont()

void ISStyle::setFont ( string key,
UIFont font )

Member Data Documentation

◆ borderSpacing

number ISStyle::borderSpacing

◆ brushes

table<any, ISBrush> ISStyle::brushes
static

◆ buttonHeight

number ISStyle::buttonHeight

◆ buttonPadding

number ISStyle::buttonPadding

◆ default

ISStyle ISStyle::default
static

◆ fonts

table<any, umbrella::ISStyle::FontEntry> ISStyle::fonts
static

◆ initialY

number ISStyle::initialY

◆ joypadTexSize

number ISStyle::joypadTexSize

◆ labelHeight

number ISStyle::labelHeight

The documentation for this class was generated from the following files: