Пример #1
0
        public static void Draw(UIElementCollection children)
        {
            if (bannerText == null)
            {
                return;
            }

            Label text = bannerText.GetLabel();

            if (text == null)
            {
                bannerText = null;
                return;
            }
            children.Add(text);
        }
Пример #2
0
 public static void NewBanner(string s, Rect rect, bool scroll, Color col)
 {
     bannerText = new BannerText(s, rect, scroll, col);
 }
Пример #3
0
        public static void Draw(UIElementCollection children)
        {
            if (bannerText == null)
                return;

            Label text = bannerText.GetLabel();
            if (text == null)
            {
                bannerText = null;
                return;
            }
            children.Add(text);
        }
Пример #4
0
 public static void NewBanner(string s, Rect rect, bool scroll, Color col)
 {
     bannerText = new BannerText(s, rect, scroll, col);
 }