Exemple #1
0
        public override bool LaunchConfiguration()
        {
            PosterizeDialog dialog = new PosterizeDialog ();

            int response = dialog.Run ();

            if (response == (int)Gtk.ResponseType.Ok) {
                red = dialog.Red;
                green = dialog.Green;
                blue = dialog.Blue;

                dialog.Destroy ();

                return true;
            }

            dialog.Destroy ();

            return false;
        }
Exemple #2
0
        public override bool LaunchConfiguration()
        {
            var dialog = new PosterizeDialog ();
            dialog.Title = Text;
            dialog.Icon = PintaCore.Resources.GetIcon (Icon);
            dialog.EffectData = Data;

            int response = dialog.Run ();

            dialog.Destroy ();

            return (response == (int)Gtk.ResponseType.Ok);
        }