Exemple #1
0
        public MainForm(DrawingSettings settings, CloudProcessor cloud, IGuiAction[] actions)
        {
            ClientSize = settings.Size;

            var mainMenu = new MenuStrip();

            mainMenu.Items.AddRange(actions.ToMenuItems());
            Controls.Add(mainMenu);

            cloud.Dock = DockStyle.Fill;
            Controls.Add(cloud);
        }
Exemple #2
0
 public NewFileAction(CloudProcessor imageProcessor)
 {
     this.imageProcessor = imageProcessor;
 }
Exemple #3
0
 public DrawingSettingsAction(DrawingSettings settings, CloudProcessor imageProcessor)
 {
     this.settings       = settings;
     this.imageProcessor = imageProcessor;
 }
Exemple #4
0
 public SaveImageAction(CloudProcessor imageProcessor)
 {
     this.imageProcessor = imageProcessor;
 }
Exemple #5
0
 public ClouderSettingsAction(CloudSettings settings, CloudProcessor imageProcessor)
 {
     this.settings       = settings;
     this.imageProcessor = imageProcessor;
 }