3 reference
string RadialBarWidgetName;
7 protected int m_ActionState;
10 protected ref WidgetFadeTimer m_FadeTimer;
11 protected bool m_Faded;
13 protected float m_InitProgress;
14 protected float m_Speed;
17 protected Widget m_RadialWidget;
18 protected ImageWidget m_LoaderImage;
21 void ContinuousActionProgress()
26 m_RadialWidget =
null;
32 m_FadeTimer =
new WidgetFadeTimer;
38 void ~ContinuousActionProgress()
49 m_RadialWidget =
m_Root.FindAnyWidget(
"PBRadial1");
50 m_LoaderImage = ImageWidget.Cast(
m_Root.FindAnyWidget(
"cap_init_loader") );
52 m_RadialWidget.GetScript(m_Radial);
61 if (
mission &&
Class.CastTo(hud,
mission.GetHud()) && (hud.IsHideHudPlayer() || !hud.GetHudState()))
82 m_LoaderImage.SetRotation(0, 0, m_Speed *
Math.RAD2DEG);
83 m_LoaderImage.Show(
true);
88 m_LoaderImage.SetRotation(0, 0, 0);
89 m_LoaderImage.Show(
false);
95 m_LoaderImage.SetRotation(0, 0, 0);
104 m_LoaderImage.Show(
false);
106 m_LoaderImage.SetRotation(0, 0, 0);
143 m_Radial.SetProgress(progress);