BlisterUI.Widgets.WidgetRenderer.WidgetRenderer C# (CSharp) Method

WidgetRenderer() public method

public WidgetRenderer ( GraphicsDevice g, SpriteFont f ) : System
g GraphicsDevice
f Microsoft.Xna.Framework.Graphics.SpriteFont
return System
        public WidgetRenderer(GraphicsDevice g, SpriteFont f)
        {
            tPixel = new Texture2D(g, 1, 1);
            tPixel.SetData(new Color[] { Color.White });
            fDefault = f;

            rects = new List<DrawableRect>();
            texts = new List<DrawableText>();
        }