Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_GroupSizeTooltipDetail.c
Go to the documentation of this file.
3{
4 protected TextWidget m_Text;
6
7 //------------------------------------------------------------------------------------------------
8 override bool NeedUpdate()
9 {
10 return m_Text != null;
11 }
12
13 //------------------------------------------------------------------------------------------------
15 {
17 if (!group)
18 return;
19
20 if (m_Text)
21 m_Text.SetText(group.GetSize().ToString());
22 }
23
24 //------------------------------------------------------------------------------------------------
25 override bool InitDetail(SCR_EditableEntityComponent entity, Widget widget)
26 {
27 m_Text = TextWidget.Cast(widget);
28 return m_Text != null;
29
30 //--- ToDo: Progress bar to show status compared to initial group size
31 //m_Value = TextWidget.Cast(m_Widget.FindAnyWidget("Value"));
32 //m_Bar = ProgressBarWidget.Cast(m_Widget.FindAnyWidget("Bar"));
33 //return m_Value || m_Bar;
34 }
35}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
void SCR_EditableGroupComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
class SCR_KeyBindingFilter BaseContainerCustomTitleField("m_sBindString")
override bool InitDetail(SCR_EditableEntityComponent entity, Widget widget)
override void UpdateDetail(SCR_EditableEntityComponent entity)