private void WindowCurveEditorGUI(bool verticalLayout)
{
Rect rect;
if (verticalLayout)
{
GUILayoutOption[] options = new GUILayoutOption[] { GUILayout.MinHeight(this.m_CurveEditorAreaHeight) };
rect = GUILayoutUtility.GetRect((float) 13f, this.m_CurveEditorAreaHeight, options);
}
else
{
EditorWindow owner = (EditorWindow) this.m_Owner;
rect = GUILayoutUtility.GetRect((float) (owner.position.width - this.m_EmitterAreaWidth), (float) (owner.position.height - 17f));
}
this.ResizeHandling(verticalLayout);
this.m_ParticleSystemCurveEditor.OnGUI(rect);
}