Пример #1
0
        public RTSUIAlertQueue(WidgetRenderer _wr, UICAlertQueue _uic)
        {
            uic = _uic;
            wr  = _wr;

            WidgetBase              = new RectWidget(wr);
            WidgetBase.Color        = Color.Transparent;
            WidgetBase.LayerOffset  = 0.01f;
            WidgetBase.OffsetAlignX = Alignment.RIGHT;
            WidgetBase.Offset       = new Point(-uic.Width, 0);

            lRects = new LinkedList <AlertTuple>();
        }
Пример #2
0
        public RTSUIAlertQueue(WidgetRenderer _wr, UICAlertQueue _uic)
        {
            uic = _uic;
            wr = _wr;

            WidgetBase = new RectWidget(wr);
            WidgetBase.Color = Color.Transparent;
            WidgetBase.LayerOffset = 0.01f;
            WidgetBase.OffsetAlignX = Alignment.RIGHT;
            WidgetBase.Offset = new Point(-uic.Width, 0);

            lRects = new LinkedList<AlertTuple>();
        }