1 [
BaseContainerProps(configRoot :
true), SCR_ButtonEffectTitleAttribute(
"Visibility",
"m_sWidgetName")]
15 bool m_bActivatedHovered;
21 bool m_bDisabledActivated;
39 override void OnStateDefault(
bool instant)
41 Apply(m_bDefault, instant);
45 override void OnStateHovered(
bool instant)
47 Apply(m_bHovered, instant);
51 override void OnStateActivated(
bool instant)
53 Apply(m_bActivated, instant);
57 override void OnStateActivatedHovered(
bool instant)
59 Apply(m_bActivatedHovered, instant);
63 override void OnClicked(
bool instant)
65 Apply(m_bClicked, instant);
69 override void OnStateDisabled(
bool instant)
71 Apply(m_bDisabled, instant);
75 override void OnStateDisabledActivated(
bool instant)
77 Apply(m_bDisabledActivated, instant);
81 override void OnFocusGained(
bool instant)
83 Apply(m_bFocusGained, instant);
87 override void OnFocusLost(
bool instant)
89 Apply(m_bFocusLost, instant);
93 override void OnToggledOn(
bool instant)
95 Apply(m_bToggledOn, instant);
99 override void OnToggledOff(
bool instant)
101 Apply(m_bToggledOff, instant);
106 override void OnDisabled()
108 AnimateWidget.StopAnimation(m_wTarget, WidgetAnimationOpacity);
112 protected void Apply(
bool visible,
bool instant)
114 m_wTarget.SetVisible(visible);