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

Attached to root of marker dynamic base layout. More...

Inheritance diagram for SCR_MapMarkerDynamicWComponent:
[legend]

Public Member Functions

void SetMarkerEntity (notnull SCR_MapMarkerEntity marker)
 
void SetLayerID (int id)
 
void SetImage (ResourceName icon, string quad, float aspectRatio=1, int sizeFlag=64)
 Supports custom aspect ratio in case of non standard size imagesets.
 
void SetText (string text)
 
void SetTextVisible (bool state)
 
void SetColor (Color color)
 
override void HandlerAttached (Widget w)
 
- Public Member Functions inherited from SCR_ScriptedWidgetComponent
override void HandlerAttached (Widget w)
 
override bool OnClick (Widget w, int x, int y, int button)
 
Widget GetRootWidget ()
 
bool IsVisible ()
 

Protected Attributes

int m_iLayerID
 
ImageWidget m_wMarkerIcon
 
TextWidget m_wMarkerText
 
SCR_MapMarkerEntity m_MarkerEnt
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Additional Inherited Members

- Static Public Member Functions inherited from SCR_ScriptedWidgetComponent
static SCR_ScriptedWidgetComponent GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true)
 Base method for component lookup through the widget library.
 
- Public Attributes inherited from SCR_ScriptedWidgetComponent
ref ScriptInvoker m_OnClick = new ScriptInvoker
 

Detailed Description

Attached to root of marker dynamic base layout.

Member Function Documentation

◆ HandlerAttached()

override void SCR_MapMarkerDynamicWComponent.HandlerAttached ( Widget  w)

◆ SetColor()

void SCR_MapMarkerDynamicWComponent.SetColor ( Color  color)
Parameters
[in]color

◆ SetImage()

void SCR_MapMarkerDynamicWComponent.SetImage ( ResourceName  icon,
string  quad,
float  aspectRatio = 1,
int  sizeFlag = 64 
)

Supports custom aspect ratio in case of non standard size imagesets.

Parameters
[in]icon
[in]quad
[in]aspectRatio

◆ SetLayerID()

void SCR_MapMarkerDynamicWComponent.SetLayerID ( int  id)

◆ SetMarkerEntity()

void SCR_MapMarkerDynamicWComponent.SetMarkerEntity ( notnull SCR_MapMarkerEntity  marker)
Parameters
[in]marker

◆ SetText()

void SCR_MapMarkerDynamicWComponent.SetText ( string  text)
Parameters
[in]text

◆ SetTextVisible()

void SCR_MapMarkerDynamicWComponent.SetTextVisible ( bool  state)
Parameters
[in]state

Member Data Documentation

◆ m_iLayerID

int SCR_MapMarkerDynamicWComponent.m_iLayerID
protected

◆ m_MarkerEnt

SCR_MapMarkerEntity SCR_MapMarkerDynamicWComponent.m_MarkerEnt
protected

◆ m_wMarkerIcon

ImageWidget SCR_MapMarkerDynamicWComponent.m_wMarkerIcon
protected

◆ m_wMarkerText

TextWidget SCR_MapMarkerDynamicWComponent.m_wMarkerText
protected

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