Table of Contents

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

bool

_text

protected readonly Text _text

Field Value

Text

Properties

AutoHideIfEmpty

public bool AutoHideIfEmpty { get; set; }

Property Value

bool

FloatText

[Editor(false)]
public float FloatText { get; set; }

Property Value

float

IntText

[Editor(false)]
public int IntText { get; set; }

Property Value

int

Text

[Editor(false)]
public string Text { get; set; }

Property Value

string

Methods

OnRender(TwoDimensionContext, TwoDimensionDrawContext)

protected override void OnRender(TwoDimensionContext twoDimensionContext, TwoDimensionDrawContext drawContext)

Parameters

twoDimensionContext TwoDimensionContext
drawContext 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).