public void Show(Rect pixelPos, GUIContent content, Vector2 viewSize, Vector2 mouseScreenPosition)
{
this.m_Content = content;
float num = viewSize.x * viewSize.y;
this.m_FullWindowSize = (Vector2) (viewSize * Mathf.Sqrt(Mathf.Clamp01(50000f / num)));
if (this.m_Window == null)
{
this.m_Window = ScriptableObject.CreateInstance<ContainerWindow>();
this.m_Window.m_DontSaveToLayout = true;
base.SetMinMaxSizes(Vector2.zero, new Vector2(10000f, 10000f));
this.SetWindowPos(pixelPos);
this.m_Window.rootView = this;
}
else
{
this.SetWindowPos(pixelPos);
}
this.m_Window.Show(ShowMode.NoShadow, true, false);
this.m_TargetRect = pixelPos;
}