Exemplo n.º 1
0
        override public void ShowPane()
        {
            GUIUtil.AddGUICheckbox(this, this.modeCheckbox);
            GUIUtil.AddGUISlider(this, this.saturationSlider);

            GUIUtil.AddGUICurve(this, this.redChannelCurve);
            GUIUtil.AddGUICurve(this, this.greenChannelCurve);
            GUIUtil.AddGUICurve(this, this.blueChannelCurve);
            if (this.ModeValue == ColorCorrectionMode.Advanced)
            {
                GUIUtil.AddGUICurve(this, this.depthRedChannelCurve);
                GUIUtil.AddGUICurve(this, this.depthGreenChannelCurve);
                GUIUtil.AddGUICurve(this, this.depthBlueChannelCurve);
                GUIUtil.AddGUICurve(this, this.zCurveCurve);
            }

            GUIUtil.AddGUICheckbox(this, this.selectiveCcCheckbox);

            if (this.selectiveCcCheckbox.Value == true)
            {
                GUIUtil.AddGUICheckbox(this, this.selectiveFromColorPicker);
                GUIUtil.AddGUICheckbox(this, this.selectiveToColorPicker);
            }
        }