5 protected string m_sIcon;
8 protected ref Color m_cDefaultColor;
11 protected ref Color m_cAltColor;
13 protected ImageWidget m_wIcon;
15 protected ResourceName m_sTexture;
16 protected string m_sImage;
23 override void HandlerAttached(Widget w)
25 super.HandlerAttached(w);
37 m_Entry.GetOnIconChange().Remove(OnEntryIconChange);
41 super.SetEntry(entry);
46 m_Entry.GetOnIconChange().Insert(OnEntryIconChange);
54 void SetImage(ResourceName texture,
string image)
63 void SetLayoutSize(
float size)
66 FrameSlot.SetSize(m_wSizeLayout, size, size);
70 void SetIconColor(Color color =
null)
76 m_wIcon.SetColor(m_cDefaultColor);
84 return Color.FromInt(m_cAltColor.PackToInt());
94 SetImage(texture, image);