示例#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;
 }
示例#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;
        }
示例#3
0
 public static Configuration ShowConfig(Configuration previous)
 {            
     ConfigForm form = new ConfigForm((Configuration)previous.Clone());
     form.ShowDialog();
     return form.Config;
 }
示例#4
0
 private void lnkConfig_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     config = ConfigForm.ShowConfig(config);
 }