public override void Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch sb)
{
sb.Begin(SpriteSortMode.Immediate, BlendState.AlphaBlend, SamplerState.PointWrap, DepthStencilState.None, _rasterizerScissorsState);
sb.Draw(frameText, new Rectangle(X, Y, width, height), Color.White);
//if (new Rectangle(X, Y, width, height).Contains((int)GUI.InputManager.MousePosition.X, (int)GUI.InputManager.MousePosition.Y))
// if(GUI.InputManager.MouseManager.State.LeftButton == Microsoft.Xna.Framework.Input.ButtonState.Pressed)
// sb.Draw(backText, ClientArea, Color.Gray);
// else
// sb.Draw(backText, ClientArea, Color.LightGray);
//else
sb.Draw(backText, ClientArea, topColor);
topColor = Color.White;
Rectangle oldsc = sb.GraphicsDevice.ScissorRectangle;
sb.GraphicsDevice.ScissorRectangle = ClientArea;
sb.DrawString(Parent.Font, drawText, new Vector2(ClientArea.X + 3, ClientArea.Y + 3 - text_y_scroll), Color.Black); //, 0, Vector2.Zero, 1f, SpriteEffects.None, 0);
//sb.DrawString(font, drawString, new Vector2(destination.X, destination.Y - yoffset), color, 0f, Vector2.Zero, scale, SpriteEffects.None, 0);
sb.GraphicsDevice.ScissorRectangle = oldsc;
sb.End();
}