Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_CustomEditableEntityUIComponent.c
Go to the documentation of this file.
2 {
3  [Attribute("Icon")]
4  protected string m_sIconWidgetName;
5 
6  //------------------------------------------------------------------------------------------------
8  {
9  if (info)
10  {
11  //--- Set custom texture
12  ImageWidget iconWidget = ImageWidget.Cast(GetWidget().FindAnyWidget(m_sIconWidgetName));
13  info.SetIconTo(iconWidget);
14  }
15  }
16 }
SCR_EditableEntityBaseSlotUIComponent
Definition: SCR_EditableEntityBaseSlotUIComponent.c:6
SCR_CustomEditableEntityUIComponent
Definition: SCR_CustomEditableEntityUIComponent.c:1
m_sIconWidgetName
protected string m_sIconWidgetName
Definition: SCR_GroupEditableEntityUIComponent.c:6
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_BaseEditableEntityUIComponent
Definition: SCR_BaseEditableEntityUIComponent.c:8
SCR_UIInfo
Definition: SCR_UIInfo.c:7
SCR_EditableEntityComponent
Definition: SCR_EditableEntityComponent.c:13
GetWidget
protected Widget GetWidget()
Definition: SCR_VonDisplay.c:155