public override bool Update() { if (m_needLayout) { Relayout(); } if (!base.Update()) { return(false); } if (m_image != null && !string.IsNullOrEmpty(m_image.Image)) { m_image.Alpha = Alpha; m_image.Update(); } if (m_label != null) { m_label.Alpha = Alpha; m_label.Update(); } return(true); }
public override bool Update() { if (!base.Update()) { return(false); } m_image.Update(); return(true); }