FrameworkZ 10.8.3
Provides a framework for Project Zomboid with various systems.
Loading...
Searching...
No Matches
FrameworkZ::UI Class Reference

Contains all of the User Interfaces for FrameworkZ. More...

Data Structures

class  CharacterPreview
 
class  CharacterView
 
class  CreateCharacterAppearance
 
class  CreateCharacterFaction
 
class  CreateCharacterInfo
 
class  Introduction
 
class  LoadCharacterMenu
 
class  MainMenu
 
class  Notification
 
class  TabMenu
 
class  TabPanel
 
class  TabSession
 

Public Member Functions

void GetCenteredX (length, fontSize, text)
 Get the x position to center text based on the text's width and what you're centering relative to.
 
void GetHeight (fontSize, text)
 
void GetMiddle (length, fontSize, text)
 

Detailed Description

Contains all of the User Interfaces for FrameworkZ.

Definition at line 73 of file __Foundation.lua.

Member Function Documentation

◆ GetCenteredX()

void GetCenteredX ( length ,
fontSize ,
text  )

Get the x position to center text based on the text's width and what you're centering relative to.

Parameters

int length The length of the object you're centering the text in.

Parameters
<ahref="variable_types.html#string" >string fontSize The font size of the text (could be UIFont.Small, UIFont.Medium, UIFont.Large, or UIFont.Title).
<ahref="variable_types.html#string" >string text The text you're centering.

◆ GetHeight()

void GetHeight ( fontSize ,
text  )

◆ GetMiddle()

void GetMiddle ( length ,
fontSize ,
text  )

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