Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Attributes | List of all members
MapLine Interface Reference

Map line. More...

Public Member Functions

void CreateLine (notnull Widget rootW, bool drawStart=false)
 
void SetButtonVisible (bool target)
 
void DestroyLine (bool cacheDrawn=false)
 
void UpdateLine (bool updateEndPos)
 
void MapLine (SCR_MapEntity mapEnt, SCR_MapDrawingUI ownerComp)
 

Public Attributes

bool m_bIsLineDrawn
 
bool m_bIsDrawMode
 
float m_fStartPointX
 
float m_fStartPointY
 
float m_fEndPointX
 
float m_fEndPointY
 
Widget m_wRootW
 
Widget m_wLine
 
ImageWidget m_wLineImage
 
Widget m_wDeleteButton
 
SCR_ButtonImageComponent m_DeleteButtonComp
 
SCR_MapEntity m_MapEntity
 
SCR_MapDrawingUI m_OwnerComponent
 

Protected Member Functions

void OnButtonClick ()
 
void OnButtonFocus ()
 
void OnButtonFocusLost (Widget w)
 
void OnMouseEnter (Widget w)
 
void OnMouseLeave (Widget w)
 

Static Protected Attributes

static const ref Color BUTTON_RED = Color.FromSRGBA(197, 75, 75, 255)
 

Detailed Description

Map line.

Constructor & Destructor Documentation

◆ MapLine()

void MapLine.MapLine ( SCR_MapEntity  mapEnt,
SCR_MapDrawingUI  ownerComp 
)
Parameters
[in]mapEnt
[in]ownerComp

Member Function Documentation

◆ CreateLine()

void MapLine.CreateLine ( notnull Widget  rootW,
bool  drawStart = false 
)
Parameters
[in]rootW
[in]drawStart

◆ DestroyLine()

void MapLine.DestroyLine ( bool  cacheDrawn = false)
Parameters
[in]cacheDrawn

◆ OnButtonClick()

void MapLine.OnButtonClick ( )
protected

◆ OnButtonFocus()

void MapLine.OnButtonFocus ( )
protected

◆ OnButtonFocusLost()

void MapLine.OnButtonFocusLost ( Widget  w)
protected

◆ OnMouseEnter()

void MapLine.OnMouseEnter ( Widget  w)
protected

◆ OnMouseLeave()

void MapLine.OnMouseLeave ( Widget  w)
protected

◆ SetButtonVisible()

void MapLine.SetButtonVisible ( bool  target)
Parameters
[in]target

◆ UpdateLine()

void MapLine.UpdateLine ( bool  updateEndPos)
Parameters
[in]updateEndPos

Member Data Documentation

◆ BUTTON_RED

const ref Color MapLine.BUTTON_RED = Color.FromSRGBA(197, 75, 75, 255)
staticprotected

◆ m_bIsDrawMode

bool MapLine.m_bIsDrawMode

◆ m_bIsLineDrawn

bool MapLine.m_bIsLineDrawn

◆ m_DeleteButtonComp

SCR_ButtonImageComponent MapLine.m_DeleteButtonComp

◆ m_fEndPointX

float MapLine.m_fEndPointX

◆ m_fEndPointY

float MapLine.m_fEndPointY

◆ m_fStartPointX

float MapLine.m_fStartPointX

◆ m_fStartPointY

float MapLine.m_fStartPointY

◆ m_MapEntity

SCR_MapEntity MapLine.m_MapEntity

◆ m_OwnerComponent

SCR_MapDrawingUI MapLine.m_OwnerComponent

◆ m_wDeleteButton

Widget MapLine.m_wDeleteButton

◆ m_wLine

Widget MapLine.m_wLine

◆ m_wLineImage

ImageWidget MapLine.m_wLineImage

◆ m_wRootW

Widget MapLine.m_wRootW

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