![]() |
FrameworkZ 10.8.3
Provides a framework for Project Zomboid with various systems.
|
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) |
Contains all of the User Interfaces for FrameworkZ.
Definition at line 73 of file __Foundation.lua.
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.
int length The length of the object you're centering the text in.
<a | href="variable_types.html#string" >string fontSize The font size of the text (could be UIFont.Small, UIFont.Medium, UIFont.Large, or UIFont.Title). |
<a | href="variable_types.html#string" >string text The text you're centering. |
void GetHeight | ( | fontSize | , |
text | ) |
void GetMiddle | ( | length | , |
fontSize | , | ||
text | ) |