Exemplo n.º 1
0
 public JobManager(Configuration config)
 {
     HistoricFPS = new double[config.ProgressMemory];
     Resolution = config.ProgressResolution;
     Job = new RenderJob();
     Job.OutputDirectory = config.OutputPath;
     Job.TempDirectory = config.TempPath;
 }
Exemplo n.º 2
0
        public ConfigForm(Configuration config)
        {
            Config = config;
            InitializeComponent();

            txtBlender.Text = config.BlenderPath;
            txtFFMPEG.Text = config.FFMPEGPath;
            txtOutput.Text = config.OutputPath;
            txtTemp.Text = config.TempPath;
        }
Exemplo n.º 3
0
 public static Configuration ShowConfig(Configuration previous)
 {            
     ConfigForm form = new ConfigForm((Configuration)previous.Clone());
     form.ShowDialog();
     return form.Config;
 }
Exemplo n.º 4
0
 private void lnkConfig_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     config = ConfigForm.ShowConfig(config);
 }