Class TextWidget
- Namespace
- TaleWorlds.GauntletUI.BaseTypes
- Assembly
- TaleWorlds.GauntletUI.dll
public class TextWidget : ImageWidget
- Inheritance
-
TextWidget
- Derived
- Inherited Members
- Extension Methods
Constructors
TextWidget(UIContext)
public TextWidget(UIContext context)
Parameters
context
UIContext
Fields
IsTextValueDirty
protected bool IsTextValueDirty
Field Value
_text
protected readonly Text _text
Field Value
Properties
AutoHideIfEmpty
public bool AutoHideIfEmpty { get; set; }
Property Value
FloatText
[Editor(false)]
public float FloatText { get; set; }
Property Value
IntText
[Editor(false)]
public int IntText { get; set; }
Property Value
Text
[Editor(false)]
public string Text { get; set; }
Property Value
Methods
OnRender(TwoDimensionContext, TwoDimensionDrawContext)
protected override void OnRender(TwoDimensionContext twoDimensionContext, TwoDimensionDrawContext drawContext)
Parameters
twoDimensionContext
TwoDimensionContextdrawContext
TwoDimensionDrawContext
RefreshTextParameters()
protected void RefreshTextParameters()
SetText(string)
protected virtual void SetText(string value)
Parameters
value
string
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).