public override void LoadContent(ContentManager Content) { base.LoadContent(Content); textPos = Position; font = new GameFont(new Rectangle(WindowRectangle.X + TextXOffset, WindowRectangle.Y + TextYOffset, WindowRectangle.Width - (TextXOffset * 2), WindowRectangle.Height - (TextYOffset * 2)), WindowRectangle.Width - (TextXOffset * 2)); font.LoadContent(Content, FontColor.Blue); font.Text = ""; }
public override void LoadContent(ContentManager Content) { base.LoadContent(Content); infoWnd = Content.Load<Texture2D>("Data\\GFX\\InfoBox"); font = new GameFont(new Rectangle(WindowRectangle.X + 10, WindowRectangle.Y + 10, WindowRectangle.Width - 20, WindowRectangle.Height - 20), WindowRectangle.Width - 30); font.LoadContent(Content, FontColor.Yellow); font.MultiLine = true; }