public void OverlayOnGUI()
{
if (this.hasSelection && (Event.current.type == EventType.Repaint))
{
Color color = GUI.color;
if (this.m_CurveEditor.settings.rectangleToolFlags == CurveEditorSettings.RectangleToolFlags.FullRectangleTool)
{
GUI.color = Color.white;
this.m_HBar.OnGUI(this.m_Layout.hBarRect);
this.m_HBarLeft.OnGUI(this.m_Layout.hBarLeftRect);
this.m_HBarRight.OnGUI(this.m_Layout.hBarRightRect);
this.m_VBar.OnGUI(this.m_Layout.vBarRect);
this.m_VBarBottom.OnGUI(this.m_Layout.vBarBottomRect);
this.m_VBarTop.OnGUI(this.m_Layout.vBarTopRect);
}
this.DrawLabels();
GUI.color = color;
}
}