2 using Microsoft.Xna.Framework;
     3 using Microsoft.Xna.Framework.Graphics;
     5 namespace Loot.UI.Common.Controls.Panel
     7     internal class GuiPanel : GuiFramedElement
     9         private static Texture2D _texture => Assets.Textures.GUI.PanelTexture;
    11         public GuiPanel() : base(
new Vector2(316, 50), 
new Vector2(10, 10))
    15         protected override void DrawSelf(SpriteBatch spriteBatch)
    17             base.DrawSelf(spriteBatch);
    19             var parentBounds = GetOuterDimensions().ToRectangle();
    23                 _texture.BoundsFromParent(parentBounds),