1 [
BaseContainerProps(configRoot :
true), SCR_ButtonEffectTitleAttribute(
"Text",
"m_sWidgetName")]
15 string m_sActivatedHovered;
21 string m_sDisabledActivated;
24 string m_sFocusGained;
36 override void OnStateDefault(
bool instant)
42 override void OnStateHovered(
bool instant)
48 override void OnStateActivated(
bool instant)
54 override void OnStateActivatedHovered(
bool instant)
56 Apply(m_sActivatedHovered);
60 override void OnStateDisabled(
bool instant)
66 override void OnStateDisabledActivated(
bool instant)
72 override void OnFocusGained(
bool instant)
74 Apply(m_sFocusGained);
78 override void OnFocusLost(
bool instant)
84 override void OnToggledOn(
bool instant)
90 override void OnToggledOff(
bool instant)
96 protected void Apply(
string text)
98 TextWidget tw = TextWidget.Cast(m_wTarget);