public static void NewBanner(string s, Rect rect, bool scroll, Color col) { bannerText = (s != null) ? new BannerText(s, rect, scroll, col) : null; }
public static void Draw(UIElementCollection children) { if (bannerText == null) return; Label text = bannerText.GetLabel(); if (text == null) { bannerText = null; return; } children.Add(text); }