Ejemplo n.º 1
0
 public Settings()
 {
     ConfigFile       = Path.Combine(DataFolder, "settings.xml");
     CameraPresets    = new AsyncObservableCollection <CameraPreset>();
     DefaultSession   = new PhotoSession();
     PhotoSessions    = new ObservableCollection <PhotoSession>();
     SelectedBitmap   = new BitmapFile();
     ImageLoading     = false;
     CameraProperties = new CameraPropertyEnumerator();
     DeviceConfigs    = new CustomConfigEnumerator();
     ResetSettings();
 }
Ejemplo n.º 2
0
 public Settings()
 {
     ConfigFile       = Path.Combine(DataFolder, "settings.json");
     CameraPresets    = new AsyncObservableCollection <CameraPreset>();
     DefaultSession   = new PhotoSession(true, TranslationStrings.MenuSessionName);
     SelectedSession  = new PhotoSession(true, "History");
     PhotoSessions    = new ObservableCollection <PhotoSession>();
     SelectedBitmap   = new BitmapFile();
     ImageLoading     = false;
     CameraProperties = new CameraPropertyEnumerator();
     DeviceConfigs    = new CustomConfigEnumerator();
     PluginSettings   = new ObservableCollection <PluginSetting>();
     ResetSettings();
 }
Ejemplo n.º 3
0
 public Settings()
 {
     ConfigFile     = Path.Combine(DataFolder, "settings.xml");
     CameraPresets  = new AsyncObservableCollection <CameraPreset>();
     DefaultSession = new PhotoSession();
     PhotoSessions  = new ObservableCollection <PhotoSession>();
     SelectedBitmap = new BitmapFile();
     ImageLoading   = false;
     VideoTypes     = new ObservableCollection <VideoType>
     {
         new VideoType("HD 1080 16:9", 1920, 1080),
         new VideoType("UXGA 4:3", 1600, 1200),
         new VideoType("HD 720 16:9", 1280, 720),
         new VideoType("Super VGA 4:3", 800, 600),
     };
     CameraProperties = new CameraPropertyEnumerator();
     DeviceConfigs    = new CustomConfigEnumerator();
     ResetSettings();
 }
Ejemplo n.º 4
0
 public Settings()
 {
     ConfigFile = Path.Combine(DataFolder, "settings.xml");
     CameraPresets = new AsyncObservableCollection<CameraPreset>();
     DefaultSession = new PhotoSession();
     PhotoSessions = new ObservableCollection<PhotoSession>();
     SelectedBitmap = new BitmapFile();
     ImageLoading = false;
     VideoTypes = new ObservableCollection<VideoType>
              {
                new VideoType("HD 1080 16:9", 1920, 1080),
                new VideoType("UXGA 4:3", 1600, 1200),
                new VideoType("HD 720 16:9", 1280, 720),
                new VideoType("Super VGA 4:3", 800, 600),
              };
     CameraProperties = new CameraPropertyEnumerator();
     DeviceConfigs = new CustomConfigEnumerator();
     ResetSettings();
 }
Ejemplo n.º 5
0
 public Settings()
 {
     ConfigFile = Path.Combine(DataFolder, "settings.xml");
     CameraPresets = new AsyncObservableCollection<CameraPreset>();
     DefaultSession = new PhotoSession();
     PhotoSessions = new ObservableCollection<PhotoSession>();
     SelectedBitmap = new BitmapFile();
     ImageLoading = false;
     CameraProperties = new CameraPropertyEnumerator();
     DeviceConfigs = new CustomConfigEnumerator();
     ResetSettings();
 }