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; }
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; }