Esempio n. 1
0
        public OutputManager()
        {
            alphaSinceLastFrame = 1;
            textElements        = new List <OverlayElement>();
            container           = (OverlayContainer)OverlayManager.Singleton.CreateOverlayElement("BorderPanel", "msgContainer");
            o        = OverlayManager.Singleton.Create("msgOverlay");
            o.ZOrder = 254;
            o.Show();

            container.MetricsMode = GuiMetricsMode.GMM_RELATIVE;
            container._setPosition(0, 0);
            container.Width  = 0.2f;
            container.Height = 0.1f;
            o.Add2D(container);

            buffer   = new StringVector();
            instance = this;
        }