Пример #1
0
        public void OnAlert(string m, AlertLevel l)
        {
            var at = new AlertTuple(uic.AlertDuration, wr, uic.Buffer, uic.Width, uic.Height, uic.TextHeight);
            if(lRects.Last != null) {
                lRects.Last.Value.Base.Parent = at.Base;
            }
            lRects.AddLast(at);
            at.Base.Parent = WidgetBase;

            at.Text.Text = m;
        }
Пример #2
0
        public void OnAlert(string m, AlertLevel l)
        {
            var at = new AlertTuple(uic.AlertDuration, wr, uic.Buffer, uic.Width, uic.Height, uic.TextHeight);

            if (lRects.Last != null)
            {
                lRects.Last.Value.Base.Parent = at.Base;
            }
            lRects.AddLast(at);
            at.Base.Parent = WidgetBase;

            at.Text.Text = m;
        }