ManiaScript Reference  2019-05
CMlControl Struct Reference
Inheritance diagram for CMlControl:
CNod CMlCamera CMlEntry CMlFrame CMlGauge CMlGraph CMlLabel CMlMediaPlayer CMlMinimap CMlQuad CMlTextEdit

Public Types

enum  AlignHorizontal { Left, HCenter, Right, None }
 
enum  AlignVertical {
  Top, VCenter, Bottom, None,
  VCenter2
}
 

Public Member Functions

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

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 control.

Member Enumeration Documentation

◆ AlignHorizontal

Enumerator
Left 
HCenter 
Right 
None 

◆ AlignVertical

Enumerator
Top 
VCenter 
Bottom 
None 
VCenter2 

Member Function Documentation

◆ DataAttributeExists()

Boolean CMlControl::DataAttributeExists ( Text  DataName)

◆ DataAttributeGet()

Text CMlControl::DataAttributeGet ( Text  DataName)

◆ DataAttributeSet()

Void CMlControl::DataAttributeSet ( Text  DataName,
Text  DataValue 
)

◆ Focus()

Void CMlControl::Focus ( )

◆ HasClass()

Boolean CMlControl::HasClass ( Text  Class)

◆ Hide()

Void CMlControl::Hide ( )

◆ Show()

Void CMlControl::Show ( )

Member Data Documentation

◆ AbsolutePosition_V3

const Vec2 CMlControl::AbsolutePosition_V3

◆ AbsoluteRotation

const Real CMlControl::AbsoluteRotation

◆ AbsoluteScale

const Real CMlControl::AbsoluteScale

◆ ControlClasses

const Text [] CMlControl::ControlClasses

◆ ControlId

const Text CMlControl::ControlId

◆ HorizontalAlign

AlignHorizontal CMlControl::HorizontalAlign

◆ IsFocused

const Boolean CMlControl::IsFocused

◆ Parent

const CMlFrame CMlControl::Parent

◆ RelativePosition_V3

Vec2 CMlControl::RelativePosition_V3

◆ RelativeRotation

Real CMlControl::RelativeRotation

◆ RelativeScale

Real CMlControl::RelativeScale

◆ Size

Vec2 CMlControl::Size

◆ ToolTip

Text CMlControl::ToolTip

◆ VerticalAlign

AlignVertical CMlControl::VerticalAlign

◆ Visible

Boolean CMlControl::Visible

◆ ZIndex

Real CMlControl::ZIndex