Exemple #1
0
        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);
        }
Exemple #2
0
        public override bool Update()
        {
            if (!base.Update())
            {
                return(false);
            }

            m_image.Update();

            return(true);
        }