private void OnGUI()
{
if (s_PaneStyle == null)
{
s_PaneStyle = "dragtabdropwindow";
s_TabStyle = "dragtab";
}
if (Event.current.type == EventType.Repaint)
{
Color color = GUI.color;
GUI.color = Color.white;
s_PaneStyle.Draw(new Rect(0f, 0f, base.position.width, base.position.height), this.m_Content, false, false, true, true);
if (this.m_TabVisible)
{
s_TabStyle.Draw(new Rect(0f, 0f, base.position.width, base.position.height), this.m_Content, false, false, true, true);
}
GUI.color = color;
this.m_Window.SetAlpha(this.m_TargetAlpha);
}
}