public override EffectConfigDialog CreateConfigDialog()
        {
            ThreeAmountsConfigDialog tacg = new ThreeAmountsConfigDialog();

            tacg.Text = HueAndSaturationAdjustment.StaticName;

            tacg.Amount1Default = 0;
            tacg.Amount1Label   = PdnResources.GetString("HueAndSaturationAdjustment.Amount1Label");
            tacg.Amount1Maximum = 180;
            tacg.Amount1Minimum = -180;

            tacg.Amount2Default = 100;
            tacg.Amount2Label   = PdnResources.GetString("HueAndSaturationAdjustment.Amount2Label");
            tacg.Amount2Maximum = 200;
            tacg.Amount2Minimum = 0;

            tacg.Amount3Default = 0;
            tacg.Amount3Label   = PdnResources.GetString("HueAndSaturationAdjustment.Amount3Label");
            tacg.Amount3Maximum = 100;
            tacg.Amount3Minimum = -100;

            tacg.Icon = PdnResources.GetIconFromImage("Icons.HueAndSaturationAdjustment.png");

            return(tacg);
        }
Esempio n. 2
0
        public override EffectConfigDialog CreateConfigDialog()
        {
            AmountEffectConfigDialog oacd = new AmountEffectConfigDialog();

            oacd.Text          = StaticName;
            oacd.SliderLabel   = PdnResources.GetString("RadialBlurEffect.ConfigDialog.RadialLabel");
            oacd.SliderMaximum = 360;
            oacd.SliderMinimum = 0;
            oacd.Icon          = PdnResources.GetIconFromImage("Icons.RadialBlurEffect.png");

            return(oacd);
        }
Esempio n. 3
0
        public override EffectConfigDialog CreateConfigDialog()
        {
            AmountEffectConfigDialog oacd = new AmountEffectConfigDialog();

            oacd.Text = StaticName;
            oacd.SliderLabel = PdnResources.GetString("ZoomBlurEffect.ConfigDialog.AmountLabel");
            oacd.SliderMaximum = 100;
            oacd.SliderMinimum = 0;
            oacd.SliderInitialValue = 10;
            oacd.Icon = PdnResources.GetIconFromImage("Icons.ZoomBlurEffect.png");

            return oacd;
        }
Esempio n. 4
0
        public override EffectConfigDialog CreateConfigDialog()
        {
            AmountEffectConfigDialog aecg = new AmountEffectConfigDialog();

            aecg.Effect          = this;
            aecg.Text            = StaticName;
            aecg.SliderMinimum   = 1;
            aecg.SliderMaximum   = 200;
            aecg.SliderLabel     = PdnResources.GetString("BlurEffect.ConfigDialog.SliderLabel");
            aecg.SliderUnitsName = PdnResources.GetString("BlurEffect.ConfigDialog.SliderUnitsName");

            aecg.Icon = PdnResources.GetIconFromImage("Icons.BlurEffect.png");
            return(aecg);
        }
Esempio n. 5
0
        public AboutDialog()
        {
            this.DoubleBuffered = true;
            base.SuspendLayout();
            this.InitializeComponent();
            string format = PdnResources.GetString("AboutDialog.Text.Format");

            this.Text = string.Format(format, PdnInfo.BareProductName);
            this.copyrightLabel.Text = PdnInfo.CopyrightString;
            base.Icon              = PdnResources.GetIconFromImage("Icons.MenuHelpAboutIcon.png");
            this.closeButton.Text  = PdnResources.GetString("Form.CloseButton.Text");
            this.versionLabel.Text = PdnInfo.FullAppName;
            base.AutoHandleGlassRelatedOptimizations = true;
            base.IsGlassDesired = !OS.IsWin10OrLater;
            base.ResumeLayout(false);
            base.PerformLayout();
        }
Esempio n. 6
0
        public override EffectConfigDialog CreateConfigDialog()
        {
            TwoAmountsConfigDialog tacg = new TwoAmountsConfigDialog();

            tacg.Text = StaticName;

            tacg.Amount1Minimum = 1;
            tacg.Amount1Maximum = 8;
            tacg.Amount1Default = 3;
            tacg.Amount1Label = PdnResources.GetString("OilPaintingEffect.ConfigDialog.Amount1Label");

            tacg.Amount2Minimum = 3;
            tacg.Amount2Maximum = 255;
            tacg.Amount2Default = 50;
            tacg.Amount2Label = PdnResources.GetString("OilPaintingEffect.ConfigDialog.Amount2Label");

            tacg.Icon = PdnResources.GetIconFromImage("Icons.OilPaintingEffect.png");

            return tacg;
        }
        public override EffectConfigDialog CreateConfigDialog()
        {
            RedEyeRemoveEffectDialog tacd = new RedEyeRemoveEffectDialog();

            tacd.Text = PdnResources.GetString("RedEyeRemoveEffect.Name");

            tacd.Amount1Minimum = 0;
            tacd.Amount1Maximum = 100;
            tacd.Amount1Default = 70;
            tacd.Amount1Label   = PdnResources.GetString("RedEyeRemoveEffect.ConfigDialog.Amount1Label");

            tacd.Amount2Minimum = 0;
            tacd.Amount2Maximum = 100;
            tacd.Amount2Default = 90;
            tacd.Amount2Label   = PdnResources.GetString("RedEyeRemoveEffect.ConfigDialog.Amount2Label");

            tacd.Icon = PdnResources.GetIconFromImage("Icons.RedEyeRemoveEffect.png");

            return(tacd);
        }