public ImageResizerProperties()
        {
            ImageresizerSelectedSizeIndex  = new IntProperty(0);
            ImageresizerShrinkOnly         = new BoolProperty(false);
            ImageresizerReplace            = new BoolProperty(false);
            ImageresizerIgnoreOrientation  = new BoolProperty(true);
            ImageresizerJpegQualityLevel   = new IntProperty(90);
            ImageresizerPngInterlaceOption = new IntProperty();
            ImageresizerTiffCompressOption = new IntProperty();
            ImageresizerFileName           = new StringProperty("%1 (%2)");

            ImageresizerSizes = new ImageResizerSizes(new ObservableCollection <ImageSize>()
            {
                new ImageSize(0, "Small", ResizeFit.Fit, 854, 480, ResizeUnit.Pixel),
                new ImageSize(1, "Medium", ResizeFit.Fit, 1366, 768, ResizeUnit.Pixel),
                new ImageSize(2, "Large", ResizeFit.Fit, 1920, 1080, ResizeUnit.Pixel),
                new ImageSize(3, "Phone", ResizeFit.Fit, 320, 568, ResizeUnit.Pixel),
            });

            ImageresizerKeepDateModified = new BoolProperty();
            ImageresizerFallbackEncoder  = new StringProperty(new System.Guid("19e4a5aa-5662-4fc5-a0c0-1758028e1057").ToString());
            ImageresizerCustomSize       = new ImageResizerCustomSizeProperty(new ImageSize(4, "custom", ResizeFit.Fit, 1024, 640, ResizeUnit.Pixel));
        }
Esempio n. 2
0
 public FZConfigProperties()
 {
     FancyzonesShiftDrag                    = new BoolProperty(ConfigDefaults.DefaultFancyzonesShiftDrag);
     FancyzonesOverrideSnapHotkeys          = new BoolProperty();
     FancyzonesMouseSwitch                  = new BoolProperty();
     FancyzonesMoveWindowsAcrossMonitors    = new BoolProperty();
     FancyzonesMoveWindowsBasedOnPosition   = new BoolProperty();
     FancyzonesDisplayChangeMoveWindows     = new BoolProperty();
     FancyzonesZoneSetChangeMoveWindows     = new BoolProperty();
     FancyzonesAppLastZoneMoveWindows       = new BoolProperty();
     FancyzonesOpenWindowOnActiveMonitor    = new BoolProperty();
     FancyzonesRestoreSize                  = new BoolProperty();
     UseCursorposEditorStartupscreen        = new BoolProperty(ConfigDefaults.DefaultUseCursorposEditorStartupscreen);
     FancyzonesShowOnAllMonitors            = new BoolProperty();
     FancyzonesSpanZonesAcrossMonitors      = new BoolProperty();
     FancyzonesZoneHighlightColor           = new StringProperty(ConfigDefaults.DefaultFancyZonesZoneHighlightColor);
     FancyzonesHighlightOpacity             = new IntProperty(50);
     FancyzonesEditorHotkey                 = new KeyboardKeysProperty(DefaultHotkeyValue);
     FancyzonesMakeDraggedWindowTransparent = new BoolProperty();
     FancyzonesExcludedApps                 = new StringProperty();
     FancyzonesInActiveColor                = new StringProperty(ConfigDefaults.DefaultFancyZonesInActiveColor);
     FancyzonesBorderColor                  = new StringProperty(ConfigDefaults.DefaultFancyzonesBorderColor);
 }
Esempio n. 3
0
 public ShortcutGuideProperties()
 {
     OverlayOpacity = new IntProperty(90);
     PressTime      = new IntProperty(900);
     Theme          = new StringProperty("light");
 }