Barotrauma Client Doc
Barotrauma.GUIFontPrefab Class Reference
Inheritance diagram for Barotrauma.GUIFontPrefab:
Barotrauma.GUIPrefab Barotrauma.Prefab

Public Member Functions

ScalableFont GetFontForCategory (TextManager.SpeciallyHandledCharCategory category)
 
 GUIFontPrefab (ContentXElement element, UIStyleFile file)
 
void LoadFont ()
 
override void Dispose ()
 
- Public Member Functions inherited from Barotrauma.GUIPrefab
 GUIPrefab (ContentXElement element, UIStyleFile file)
 
- Public Member Functions inherited from Barotrauma.Prefab
 Prefab (ContentFile file, Identifier identifier)
 
 Prefab (ContentFile file, ContentXElement element)
 

Properties

ScalableFont Font [get]
 
LanguageIdentifier Language [get]
 
- Properties inherited from Barotrauma.Prefab
ContentPackageContentPackage [get]
 
ContentPath FilePath [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from Barotrauma.Prefab
static void DisallowCallFromConstructor ()
 
- Public Attributes inherited from Barotrauma.Prefab
readonly Identifier Identifier
 
readonly ContentFile ContentFile
 
- Static Public Attributes inherited from Barotrauma.Prefab
static readonly ImmutableHashSet< Type > Types
 
- Protected Member Functions inherited from Barotrauma.GUIPrefab
override Identifier DetermineIdentifier (XElement element)
 
int ParseSize (XElement element, string attributeName)
 

Detailed Description

Definition at line 54 of file GUIPrefab.cs.

Constructor & Destructor Documentation

◆ GUIFontPrefab()

Barotrauma.GUIFontPrefab.GUIFontPrefab ( ContentXElement  element,
UIStyleFile  file 
)

Definition at line 82 of file GUIPrefab.cs.

Member Function Documentation

◆ Dispose()

override void Barotrauma.GUIFontPrefab.Dispose ( )
virtual

Implements Barotrauma.Prefab.

Definition at line 120 of file GUIPrefab.cs.

◆ GetFontForCategory()

ScalableFont Barotrauma.GUIFontPrefab.GetFontForCategory ( TextManager.SpeciallyHandledCharCategory  category)

Definition at line 69 of file GUIPrefab.cs.

◆ LoadFont()

void Barotrauma.GUIFontPrefab.LoadFont ( )

Definition at line 88 of file GUIPrefab.cs.

Property Documentation

◆ Font

ScalableFont Barotrauma.GUIFontPrefab.Font
get

Definition at line 58 of file GUIPrefab.cs.

◆ Language

LanguageIdentifier Barotrauma.GUIFontPrefab.Language
get

Definition at line 80 of file GUIPrefab.cs.