private void OnGUICompiler(Rect statusArea)
        {
            if (!(mCompiler == null || mCompiler.IsFinished))
            {
                // Assuming that the draw area is at least 25 in height.
                Rect area = new Rect(statusArea.x, statusArea.yMax - 25
                                     , statusArea.width, 25);

                mCompiler.OnGUI(area);
            }
        }
示例#2
0
        protected void OnGUIMainStandard()
        {
            if (mInputCompile != null)
            {
                Rect area = Context.MainArea;

                area = new Rect(area.x + area.width * 0.25f
                                , area.y + area.height * 0.66f
                                , area.width * 0.50f
                                , 25);

                mInputCompile.OnGUI(area);
            }
        }