Trackmania ManiaScript Reference 2026.2.2.1751
A ManiaScript Reference of the new Trackmania.
Loading...
Searching...
No Matches
CMlLabel Class Reference

Manialink entry. More...

#include <doc.h>

Inheritance diagram for CMlLabel:
[legend]

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

Member Enumeration Documentation

◆ EBlendMode

Enumerator
Default 
Add 

◆ EFilterProfanities

Enumerator
Never 
OnlyIfNotTranslated 
Always 

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

◆ AutoNewLine

Boolean CMlLabel::AutoNewLine

◆ Blend

CMlLabel::EBlendMode CMlLabel::Blend

◆ FilterProfanities

CMlLabel::EFilterProfanities CMlLabel::FilterProfanities

◆ ItalicSlope

Real CMlLabel::ItalicSlope

◆ LineSpacing

Real CMlLabel::LineSpacing

◆ MaxLine

Integer CMlLabel::MaxLine

◆ Opacity

Real CMlLabel::Opacity

◆ Style

Text CMlLabel::Style

◆ Substyle

Text CMlLabel::Substyle

◆ TextColor

Vec3 CMlLabel::TextColor

◆ TextFont

Text CMlLabel::TextFont

◆ TextPrefix

Text CMlLabel::TextPrefix

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

◆ TextSizeReal

Real CMlLabel::TextSizeReal

◆ TTS_AltText

Text CMlLabel::TTS_AltText

◆ TTS_AltText_Translate

Boolean CMlLabel::TTS_AltText_Translate

◆ Value

Text CMlLabel::Value

◆ ValueLineCount

Integer const CMlLabel::ValueLineCount

The documentation for this class was generated from the following file: