Beispiel #1
0
 public AnalogTVPane(int fontSize) : base(fontSize, Translation.GetText("Panes", "AnalogTV"))
 {
 }
 public KuwaharaPane(int fontSize) : base(fontSize, Translation.GetText("Panes", "Kuwahara"))
 {
 }
 override public void SetupPane()
 {
     this.radiusSlider      = new CustomSlider(KuwaharaDef.kuwaharaEffect.radius, 1f, 6f, 0);
     this.radiusSlider.Text = Translation.GetText("Kuwahara", "radius");
     this.ChildControls.Add(this.radiusSlider);
 }
 public IsolinePane(int fontSize) : base(fontSize, Translation.GetText("Panes", "Isoline"))
 {
 }
        override public void SetupPane()
        {
            this._lineColorPicker      = new CustomColorPicker(IsolineDef.isolineEffect._lineColor);
            this._lineColorPicker.Text = Translation.GetText("Isoline", "_lineColor");
            this.ChildControls.Add(this._lineColorPicker);

            this._luminanceBlendingSlider      = new CustomSlider(IsolineDef.isolineEffect._luminanceBlending, 0f, 1f, 4);
            this._luminanceBlendingSlider.Text = Translation.GetText("Isoline", "_luminanceBlending");
            this.ChildControls.Add(this._luminanceBlendingSlider);

            this._fallOffDepthSlider      = new CustomSlider(IsolineDef.isolineEffect._fallOffDepth, 0f, 200f, 4);
            this._fallOffDepthSlider.Text = Translation.GetText("Isoline", "_fallOffDepth");
            this.ChildControls.Add(this._fallOffDepthSlider);

            this._backgroundColorPicker      = new CustomColorPicker(IsolineDef.isolineEffect._backgroundColor);
            this._backgroundColorPicker.Text = Translation.GetText("Isoline", "_backgroundColor");
            this.ChildControls.Add(this._backgroundColorPicker);

            this._axisXSlider      = new CustomSlider(IsolineDef.isolineEffect._axis.x, 0f, 100f, 4);
            this._axisXSlider.Text = Translation.GetText("Isoline", "_axisX");
            this.ChildControls.Add(this._axisXSlider);

            this._axisYSlider      = new CustomSlider(IsolineDef.isolineEffect._axis.y, 0f, 100f, 4);
            this._axisYSlider.Text = Translation.GetText("Isoline", "_axisY");
            this.ChildControls.Add(this._axisYSlider);

            this._axisZSlider      = new CustomSlider(IsolineDef.isolineEffect._axis.z, 0f, 100f, 4);
            this._axisZSlider.Text = Translation.GetText("Isoline", "_axisZ");
            this.ChildControls.Add(this._axisZSlider);

            this._intervalSlider      = new CustomSlider(IsolineDef.isolineEffect._interval, 0f, 10f, 4);
            this._intervalSlider.Text = Translation.GetText("Isoline", "_interval");
            this.ChildControls.Add(this._intervalSlider);

            this._offsetXSlider      = new CustomSlider(IsolineDef.isolineEffect._offset.x, 0f, 500f, 4);
            this._offsetXSlider.Text = Translation.GetText("Isoline", "_offsetX");
            this.ChildControls.Add(this._offsetXSlider);

            this._offsetYSlider      = new CustomSlider(IsolineDef.isolineEffect._offset.y, 0f, 500f, 4);
            this._offsetYSlider.Text = Translation.GetText("Isoline", "_offsetY");
            this.ChildControls.Add(this._offsetYSlider);

            this._offsetZSlider      = new CustomSlider(IsolineDef.isolineEffect._offset.z, 0f, 500f, 4);
            this._offsetZSlider.Text = Translation.GetText("Isoline", "_offsetZ");
            this.ChildControls.Add(this._offsetZSlider);

            this._distortionFrequencySlider      = new CustomSlider(IsolineDef.isolineEffect._distortionFrequency, 0f, 20f, 4);
            this._distortionFrequencySlider.Text = Translation.GetText("Isoline", "_distortionFrequency");
            this.ChildControls.Add(this._distortionFrequencySlider);

            this._distortionAmountSlider      = new CustomSlider(IsolineDef.isolineEffect._distortionAmount, 0f, 5f, 4);
            this._distortionAmountSlider.Text = Translation.GetText("Isoline", "_distortionAmount");
            this.ChildControls.Add(this._distortionAmountSlider);

            this._modulationModeComboBox               = new CustomComboBox(ISOLINE_MODULATION_MODES);
            this._modulationModeComboBox.Text          = Translation.GetText("Isoline", "_modulationMode");
            this._modulationModeComboBox.SelectedIndex = (int)IsolineDef.isolineEffect._modulationMode;
            this.ChildControls.Add(this._modulationModeComboBox);

            this._modulationAxisXSlider      = new CustomSlider(IsolineDef.isolineEffect._modulationAxis.x, 0f, 100f, 4);
            this._modulationAxisXSlider.Text = Translation.GetText("Isoline", "_modulationAxisX");
            this.ChildControls.Add(this._modulationAxisXSlider);

            this._modulationAxisYSlider      = new CustomSlider(IsolineDef.isolineEffect._modulationAxis.y, 0f, 100f, 4);
            this._modulationAxisYSlider.Text = Translation.GetText("Isoline", "_modulationAxisY");
            this.ChildControls.Add(this._modulationAxisYSlider);

            this._modulationAxisZSlider      = new CustomSlider(IsolineDef.isolineEffect._modulationAxis.z, 0f, 100f, 4);
            this._modulationAxisZSlider.Text = Translation.GetText("Isoline", "_modulationAxisZ");
            this.ChildControls.Add(this._modulationAxisZSlider);

            this._modulationFrequencySlider      = new CustomSlider(IsolineDef.isolineEffect._modulationFrequency, 0f, 10f, 4);
            this._modulationFrequencySlider.Text = Translation.GetText("Isoline", "_modulationFrequency");
            this.ChildControls.Add(this._modulationFrequencySlider);

            this._modulationSpeedSlider      = new CustomSlider(IsolineDef.isolineEffect._modulationSpeed, 0f, 25f, 4);
            this._modulationSpeedSlider.Text = Translation.GetText("Isoline", "_modulationSpeed");
            this.ChildControls.Add(this._modulationSpeedSlider);

            this._modulationExponentSlider      = new CustomSlider(IsolineDef.isolineEffect._modulationExponent, 0f, 50f, 4);
            this._modulationExponentSlider.Text = Translation.GetText("Isoline", "_modulationExponent");
            this.ChildControls.Add(this._modulationExponentSlider);

            this._directionXSlider      = new CustomSlider(IsolineDef.isolineEffect._direction.x, 0f, 100f, 4);
            this._directionXSlider.Text = Translation.GetText("Isoline", "_directionX");
            this.ChildControls.Add(this._directionXSlider);

            this._directionYSlider      = new CustomSlider(IsolineDef.isolineEffect._direction.y, 0f, 100f, 4);
            this._directionYSlider.Text = Translation.GetText("Isoline", "_directionY");
            this.ChildControls.Add(this._directionYSlider);

            this._directionZSlider      = new CustomSlider(IsolineDef.isolineEffect._direction.z, 0f, 100f, 4);
            this._directionZSlider.Text = Translation.GetText("Isoline", "_directionZ");
            this.ChildControls.Add(this._directionZSlider);

            this._speedSlider      = new CustomSlider(IsolineDef.isolineEffect._speed, 0f, 20f, 4);
            this._speedSlider.Text = Translation.GetText("Isoline", "_speed");
            this.ChildControls.Add(this._speedSlider);
        }
 public VignettingPane(int fontSize) : base(fontSize, Translation.GetText("Panes", "Vignetting"))
 {
 }
 public Convolution3x3Pane(int fontSize) : base(fontSize, Translation.GetText("Panes", "Convolution3x3"))
 {
 }
Beispiel #8
0
 public WaveDistortionPane(int fontSize) : base(fontSize, Translation.GetText("Panes", "WaveDistortion"))
 {
 }
 public TechnicolorPane(int fontSize) : base(fontSize, Translation.GetText("Panes", "Technicolor"))
 {
 }
 public PixelatePane( int fontSize ) : base( fontSize, Translation.GetText("Panes", "Pixelate") ) {}
 public ContrastVignettePane(int fontSize) : base(fontSize, Translation.GetText("Panes", "ContrastVignette"))
 {
 }
 public BrightnessContrastGammaPane(int fontSize) : base(fontSize, Translation.GetText("Panes", "BrightnessContrastGamma"))
 {
 }