Esempio n. 1
0
 /// <summary>
 /// Initialize form, image set, log file and rendom generator to its defaults
 /// </summary>
 public MainForm()
 {
     InitializeComponent();
     imageSet     = new ImageSet();
     log          = new Log();
     tasksRunning = true;
 }
Esempio n. 2
0
        /// <summary>
        /// Initialize image task type, image color filter (as image view mode), image set and
        /// other variables with defaults
        /// </summary>
        /// <param name="mod">One of provided image modifications</param>
        /// <param name="imageSet">Pointer to image set from engine</param>
        public ImageTask(ImageModification mod, ImageSet imageSet)
        {
            taskType = mod;

            ongoing  = false;
            previous = null;
            next     = null;

            iSet  = imageSet;
            iMode = iSet.imageMode;
        }
Esempio n. 3
0
 /// <summary>
 /// Constructor caller of base constructor
 /// </summary>
 /// <param name="mod">One of provided image modifications</param>
 /// <param name="imageSet">Pointer to image set from engine</param>
 public ColorTask(ImageModification mod, ImageSet imageSet) : base(mod, imageSet)
 {
 }