ManiaScript Reference  2019-05
CMlLabel Struct Reference
Inheritance diagram for CMlLabel:
CMlControl CNod

Public Types

enum  EBlendMode { Default, Add }
 
- 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)
 
- 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 ()
 

Public Attributes

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

Detailed Description

Supported declare modes : Local Manialink entry.

Member Enumeration Documentation

◆ EBlendMode

Enumerator
Default 
Add 

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)

Member Data Documentation

◆ AppendEllipsis

Boolean CMlLabel::AppendEllipsis

◆ AutoNewLine

Boolean CMlLabel::AutoNewLine

◆ Blend

EBlendMode CMlLabel::Blend

◆ 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

◆ TextSizeReal

Real CMlLabel::TextSizeReal

◆ Value

Text CMlLabel::Value

◆ ValueLineCount

const Integer CMlLabel::ValueLineCount