Debug - 2009-05-15

Toggle Backgrounds on Labels

Code to modify

        Rectangle backgroundRect = Rectangle.Empty;

        bool hasBackground = true;
        public bool HasBackground { get { return hasBackground; } set { hasBackground = value; } }

        Align alignment = Align.Left;

And this

        public override void Draw(SpriteBatch spriteBatch)
        {
            if (hasBackground)
            {
                backgroundRect.X = (int)(area.X - Owner.Position.X);
                backgroundRect.Y = (int)(area.Y - Owner.Position.Y);
                spriteBatch.Draw(pixelTex,backgroundRect, BackColor);
            }

            if (lines.Count <= 1)