private void DrawTitleBar(SpriteBatch spriteBatch)
{
var titleRegion = new Rectangle(_mTitleBar.Center.X - _mTitleBar.Width / 4, _mTitleBar.Top + (int)_mPadding.Y,
(int)((_mTitleBar.Width / 2 - 2 * _mPadding.Y)), (int)(_mTitleBar.Height - 2 * _mPadding.Y));
var titleBackgroundRegion = new Rectangle(_mGraphics.GraphicsDevice.Viewport.Bounds.X,
_mGraphics.GraphicsDevice.Viewport.Y, _mGraphics.GraphicsDevice.Viewport.Width, _mTitleBar.Bottom - _mGraphics.GraphicsDevice.Viewport.Y);
//Draw the title and the title background
spriteBatch.Draw(_mTitleBackground, titleBackgroundRegion, Color.White);
spriteBatch.Draw(_mTitle, titleRegion, Color.White);
//Draw the star count
Vector2 size = _mFontBig.MeasureString(_mStarCount + "");
spriteBatch.Draw(_mStar, new Rectangle((int)(_mTitleBar.Right - size.Y - _mTitleBar.Width / 32), (int)(_mTitleBar.Bottom - size.Y * 1.25f), (int)size.Y, (int)size.Y), Color.White);
spriteBatch.DrawString(_mFont, "x", new Vector2(_mTitleBar.Right - size.Y * 1.25f - _mTitleBar.Width / 32, _mTitleBar.Bottom - size.Y), Color.White);
spriteBatch.DrawString(_mFontBig, _mStarCount + "", new Vector2(_mTitleBar.Right - size.X - size.Y * 1.25f - _mTitleBar.Width / 32, _mTitleBar.Bottom - size.Y * 1.25f), Color.White);
//Draw B to go back
size = _mFont.MeasureString("Press B to go Back");
spriteBatch.DrawString(_mFont, "Press B to go Back", new Vector2(_mTitleBar.Left + _mTitleBar.Width / 128, _mTitleBar.Bottom - size.Y - _mTitleBar.Height / 6), Color.White);
}