Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ToolMenuButtonComponent.c
Go to the documentation of this file.
2 {
3  TextWidget m_wTextLimit;
4 
5  //------------------------------------------------------------------------------------------------
7  void SetText(string text)
8  {
9  m_wTextLimit.SetText(text);
10  }
11 
12  //------------------------------------------------------------------------------------------------
14  void SetTextVisible(bool state)
15  {
16  m_wTextLimit.SetVisible(state);
17  }
18 
19  //------------------------------------------------------------------------------------------------
20  override void HandlerAttached(Widget w)
21  {
22  super.HandlerAttached(w);
23  m_wTextLimit = TextWidget.Cast(w.FindAnyWidget("TextLimit"));
24  }
25 }
SCR_ToolMenuButtonComponent
Definition: SCR_ToolMenuButtonComponent.c:1
SCR_ButtonImageComponent
Definition: SCR_ButtonImageComponent.c:2