ManiaScript Trackmania 2020  30/10/2024
CMlLabel Class Reference

Manialink entry. More...

#include <2024_10_30.h>

Inheritance diagram for CMlLabel:
CMlControl CNod

Public Types

enum  EBlendMode { Default, Add }
 
enum  EFilterProfanities { Never, OnlyIfNotTranslated, Always }
 
- Public Types inherited from CMlControl
enum  AlignHorizontal { Left, HCenter, Right, None }
 
enum  AlignVertical {
  Top, VCenter, Bottom, None,
  VCenter2
}
 

Public Member Functions

Void SetText (Text NewText)
 
Real ComputeWidth (Text Text)
 
Real ComputeWidth (Text Text, Boolean Translated)
 
Real ComputeHeight (Text Text)
 
Void TTS_Focus ()
 
Void TTS_Unfocus ()
 
- Public Member Functions inherited from CMlControl
Boolean HasClass (Text Class)
 
Boolean DataAttributeExists (Text DataName)
 
Text DataAttributeGet (Text DataName)
 
Void DataAttributeSet (Text DataName, Text DataValue)
 
Void Show ()
 
Void Hide ()
 
Void Focus ()
 
Void ScriptEvents_Disable ()
 
Void ScriptEvents_Restore ()
 

Public Attributes

Text Style
 
Text Substyle
 
Text TextFont
 
Text Value
 
Integer const ValueLineCount
 
Integer MaxLine
 
Real LineSpacing
 
Real ItalicSlope
 
Boolean AppendEllipsis
 
Boolean AutoNewLine
 
Real Opacity
 
Text TextPrefix
 
Vec3 TextColor
 
Real TextSizeReal
 
CMlLabel::EBlendMode Blend
 
Text TTS_AltText
 
Boolean TTS_AltText_Translate
 
CMlLabel::EFilterProfanities FilterProfanities
 
- Public Attributes inherited from CMlControl
CMlFrame *const Parent
 
Text const ControlId
 
Vec2 Size
 
CMlControl::AlignHorizontal HorizontalAlign
 
CMlControl::AlignVertical VerticalAlign
 
Boolean Visible
 
Vec2 RelativePosition_V3
 
Real ZIndex
 
Real RelativeScale
 
Real RelativeRotation
 
Vec2 const AbsolutePosition_V3
 
Real const AbsoluteScale
 
Real const AbsoluteRotation
 
Text ToolTip
 
Boolean const IsFocused
 
- Public Attributes inherited from CNod
Ident const Id
 

Detailed Description

Manialink entry.

Supported declare modes :

  • Local

Definition at line 14152 of file 2024_10_30.h.

Member Enumeration Documentation

◆ EBlendMode

Enumerator
Default 
Add 

Definition at line 14157 of file 2024_10_30.h.

14157  {
14158  Default,
14159  Add,
14160  };

◆ EFilterProfanities

Enumerator
Never 
OnlyIfNotTranslated 
Always 

Definition at line 14164 of file 2024_10_30.h.

14164  {
14165  Never,
14167  Always,
14168  };

Member Function Documentation

◆ ComputeHeight()

Real CMlLabel::ComputeHeight ( Text  Text)

◆ ComputeWidth() [1/2]

Real CMlLabel::ComputeWidth ( Text  Text)

◆ ComputeWidth() [2/2]

Real CMlLabel::ComputeWidth ( Text  Text,
Boolean  Translated 
)

◆ SetText()

Void CMlLabel::SetText ( Text  NewText)

◆ TTS_Focus()

Void CMlLabel::TTS_Focus ( )

◆ TTS_Unfocus()

Void CMlLabel::TTS_Unfocus ( )

Member Data Documentation

◆ AppendEllipsis

Boolean CMlLabel::AppendEllipsis

Definition at line 14208 of file 2024_10_30.h.

◆ AutoNewLine

Boolean CMlLabel::AutoNewLine

Definition at line 14212 of file 2024_10_30.h.

◆ Blend

CMlLabel::EBlendMode CMlLabel::Blend

Definition at line 14232 of file 2024_10_30.h.

◆ FilterProfanities

CMlLabel::EFilterProfanities CMlLabel::FilterProfanities

Definition at line 14264 of file 2024_10_30.h.

◆ ItalicSlope

Real CMlLabel::ItalicSlope

Definition at line 14204 of file 2024_10_30.h.

◆ LineSpacing

Real CMlLabel::LineSpacing

Definition at line 14200 of file 2024_10_30.h.

◆ MaxLine

Integer CMlLabel::MaxLine

Definition at line 14196 of file 2024_10_30.h.

◆ Opacity

Real CMlLabel::Opacity

Definition at line 14216 of file 2024_10_30.h.

◆ Style

Text CMlLabel::Style

Definition at line 14172 of file 2024_10_30.h.

◆ Substyle

Text CMlLabel::Substyle

Definition at line 14176 of file 2024_10_30.h.

◆ TextColor

Vec3 CMlLabel::TextColor

Definition at line 14224 of file 2024_10_30.h.

◆ TextFont

Text CMlLabel::TextFont

Definition at line 14180 of file 2024_10_30.h.

◆ TextPrefix

Text CMlLabel::TextPrefix

Used to include styling attributes like $s,$o...

Definition at line 14220 of file 2024_10_30.h.

◆ TextSizeReal

Real CMlLabel::TextSizeReal

Definition at line 14228 of file 2024_10_30.h.

◆ TTS_AltText

Text CMlLabel::TTS_AltText

Definition at line 14248 of file 2024_10_30.h.

◆ TTS_AltText_Translate

Boolean CMlLabel::TTS_AltText_Translate

Definition at line 14252 of file 2024_10_30.h.

◆ Value

Text CMlLabel::Value

Definition at line 14188 of file 2024_10_30.h.

◆ ValueLineCount

Integer const CMlLabel::ValueLineCount

Definition at line 14192 of file 2024_10_30.h.


The documentation for this class was generated from the following file:
CMlLabel::Never
@ Never
Definition: 2024_10_30.h:14165
CMlLabel::Default
@ Default
Definition: 2024_10_30.h:14158
CMlLabel::OnlyIfNotTranslated
@ OnlyIfNotTranslated
Definition: 2024_10_30.h:14166
CMlLabel::Always
@ Always
Definition: 2024_10_30.h:14167
CMlLabel::Add
@ Add
Definition: 2024_10_30.h:14159