Trackmania ManiaScript Reference 2024.9.17.1117
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 Data Documentation

◆ TextPrefix

Text CMlLabel::TextPrefix

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


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