Class TooltipPropertyWidget
- Namespace
- TaleWorlds.MountAndBlade.GauntletUI.Widgets.Information
- Assembly
- TaleWorlds.MountAndBlade.GauntletUI.Widgets.dll
public class TooltipPropertyWidget : Widget
- Inheritance
-
TooltipPropertyWidget
- Inherited Members
Constructors
TooltipPropertyWidget(UIContext)
public TooltipPropertyWidget(UIContext context)
Parameters
context
UIContext
Properties
DefaultSeperatorSpriteName
[Editor(false)]
public string DefaultSeperatorSpriteName { get; set; }
Property Value
DefinitionLabel
[Editor(false)]
public RichTextWidget DefinitionLabel { get; set; }
Property Value
DefinitionLabelContainer
[Editor(false)]
public Widget DefinitionLabelContainer { get; set; }
Property Value
DefinitionText
[Editor(false)]
public string DefinitionText { get; set; }
Property Value
DescriptionTextBrush
[Editor(false)]
public Brush DescriptionTextBrush { get; set; }
Property Value
IsBattleMode
public bool IsBattleMode { get; }
Property Value
IsBattleModeOver
public bool IsBattleModeOver { get; }
Property Value
IsCost
public bool IsCost { get; }
Property Value
IsMultiLine
public bool IsMultiLine { get; }
Property Value
IsRelation
public bool IsRelation { get; }
Property Value
IsTwoColumn
public bool IsTwoColumn { get; }
Property Value
ModifyDefinitionColor
[Editor(false)]
public bool ModifyDefinitionColor { get; set; }
Property Value
PropertyModifier
[Editor(false)]
public int PropertyModifier { get; set; }
Property Value
PropertyModifierAsFlag
public TooltipPropertyWidget.TooltipPropertyFlags PropertyModifierAsFlag { get; }
Property Value
RundownSeperatorSpriteName
[Editor(false)]
public string RundownSeperatorSpriteName { get; set; }
Property Value
SubtextBrush
[Editor(false)]
public Brush SubtextBrush { get; set; }
Property Value
TextColor
[Editor(false)]
public Color TextColor { get; set; }
Property Value
TextHeight
[Editor(false)]
public int TextHeight { get; set; }
Property Value
TitleBackgroundSpriteName
[Editor(false)]
public string TitleBackgroundSpriteName { get; set; }
Property Value
TitleTextBrush
[Editor(false)]
public Brush TitleTextBrush { get; set; }
Property Value
ValueBackgroundSpriteWidget
[Editor(false)]
public ListPanel ValueBackgroundSpriteWidget { get; set; }
Property Value
ValueLabel
[Editor(false)]
public RichTextWidget ValueLabel { get; set; }
Property Value
ValueLabelContainer
[Editor(false)]
public Widget ValueLabelContainer { get; set; }
Property Value
ValueNameTextBrush
[Editor(false)]
public Brush ValueNameTextBrush { get; set; }
Property Value
ValueText
[Editor(false)]
public string ValueText { get; set; }
Property Value
ValueTextBrush
[Editor(false)]
public Brush ValueTextBrush { get; set; }
Property Value
Methods
OnLateUpdate(float)
protected override void OnLateUpdate(float dt)
Parameters
dt
float
OnUpdate(float)
protected override void OnUpdate(float dt)
Parameters
dt
float
RefreshSize(bool, float, float, float, Brush, Brush)
public void RefreshSize(bool inBattleScope, float battleScopeSize, float maxValueLabelSizeX, float maxDefinitionLabelSizeX, Brush definitionRelationBrush = null, Brush valueRelationBrush = null)
Parameters
inBattleScope
boolbattleScopeSize
floatmaxValueLabelSizeX
floatmaxDefinitionLabelSizeX
floatdefinitionRelationBrush
BrushvalueRelationBrush
Brush
SetBattleScope(bool)
public void SetBattleScope(bool battleScope)
Parameters
battleScope
bool
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).