9 protected string m_sLabel;
12 protected string m_sMessage;
15 protected string m_sLabelText;
18 protected string m_sMessageText;
20 protected TextWidget m_wLabel;
21 protected TextWidget m_wMessage;
24 override void HandlerAttached(Widget w)
26 super.HandlerAttached(w);
28 m_wLabel = TextWidget.Cast(w.FindAnyWidget(m_sLabel));
29 m_wMessage = TextWidget.Cast(w.FindAnyWidget(m_sMessage));
32 m_wLabel.SetText(m_sLabelText);
39 void SetMessages(
string left,
string right)
42 m_sMessageText = right;
45 m_wLabel.SetText(left);
63 return m_wLabel.GetText();
67 TextWidget GetMessage()