diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2020-06-29 07:18:33 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2020-06-29 07:18:33 +0300 |
commit | 2cbb3f377a7931cc66fae4145c84e99154028327 (patch) | |
tree | a9aa4801e580a9e39e1ce3001e4e162789ff1bf6 /UVtools.GUI/Properties | |
parent | 6d401eb774bc4d9a0014e24b2d48c4f5e156d912 (diff) |
v0.6.0.0v0.6.0.0
* (Add) UVtools now notify when a new version available is detected
* (Add) Mutator "Flip"
* (Add) Mutator "Rotate"
* (Add) User Settings - Many parameters can now be customized to needs
* (Add) File load elapsed time into Title bar
* (Add) Outline - Print Volume bounds
* (Add) Outline - Layer bounds
* (Add) Outline - Hollow areas
* (Add) Double click layer picture to Zoom To Fit
* (Improvement) Huge performance boost in layer reparing and in every mutator
* (Improvement) Layer preview is now faster
* (Improvement) Islands detection is now better and don't skip any pixel, more islands will show or the region will be bigger
* (Improvement) Islands search are now faster, it will jump from island to insland instead of search in every pixel by pixel
* (Improvement) ResinTrap detection and corrected some cases where it can't detect a drain
* (Improvement) Better memory optimization by dispose all objects on operations
* (Improvement) Image engine changed to use only OpenCV Mat instead of two and avoid converting from one to another, as result there's a huge performance gain in some operations (#6)
* (Improvement) UVtools now rely on UVtools.Core, and drop the UVtools.Parser. The Core now perform all operations and transformations inplace of the GUI
* (Improvement) If error occur during save it will show a message with the error
* (Improvement) When rotate layer it will zoom to fit
* (Improvement) Allow zoom to fit to print volume area instead of whole build volume
* (Removed) ImageSharp dependency
* (Removed) UVtools.Parser project
* (Fix) Nova3D Elfin printer values changed to Display Width : 131mm / Height : 73mm & Screen X: 2531 / Y: 1410 (#5)
* (Fix) Fade resizes make image offset a pixel from layer to layer because of integer placement, now it matain the correct position
* (Fix) sl1: AbsoluteCorrection, GammaCorrection, MinExposureTime, MaxExposureTime, FastTiltTime, SlowTiltTime and AreaFill was byte and float values prevents the file from open (#4)
* (Fix) zcodex: XCorrection and YCorrection was byte and float values prevents the file from open (#4)
* (Fix) cws: XCorrection and YCorrection was byte and float values prevents the file from open (#4)
* (Fix) cws: Wrong # char on .gcode file prevent from printing (#4)
Diffstat (limited to 'UVtools.GUI/Properties')
-rw-r--r-- | UVtools.GUI/Properties/Resources.Designer.cs | 10 | ||||
-rw-r--r-- | UVtools.GUI/Properties/Resources.resx | 63 | ||||
-rw-r--r-- | UVtools.GUI/Properties/Settings.Designer.cs | 420 | ||||
-rw-r--r-- | UVtools.GUI/Properties/Settings.settings | 116 |
4 files changed, 573 insertions, 36 deletions
diff --git a/UVtools.GUI/Properties/Resources.Designer.cs b/UVtools.GUI/Properties/Resources.Designer.cs index d20e24b..67e7df1 100644 --- a/UVtools.GUI/Properties/Resources.Designer.cs +++ b/UVtools.GUI/Properties/Resources.Designer.cs @@ -563,6 +563,16 @@ namespace UVtools.GUI.Properties { /// <summary> /// Looks up a localized resource of type System.Drawing.Bitmap. /// </summary> + internal static System.Drawing.Bitmap settings_16x16 { + get { + object obj = ResourceManager.GetObject("settings-16x16", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// </summary> internal static System.Drawing.Bitmap UVtools { get { object obj = ResourceManager.GetObject("UVtools", resourceCulture); diff --git a/UVtools.GUI/Properties/Resources.resx b/UVtools.GUI/Properties/Resources.resx index a53bad9..00ef478 100644 --- a/UVtools.GUI/Properties/Resources.resx +++ b/UVtools.GUI/Properties/Resources.resx @@ -121,14 +121,17 @@ <data name="Error-128x128" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\Error-128x128.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> - <data name="UVtools" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>..\UVtools.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + <data name="search-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Images\search-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="Cancel-24x24" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Images\Cancel-24x24.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> <data name="arrow-top-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\arrow-top-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> - <data name="mutation_closing" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>..\Images\gui\mutation_closing.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + <data name="mutation_solidify" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Images\gui\mutation_solidify.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> <data name="eye-24x24" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\eye-24x24.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> @@ -163,9 +166,6 @@ <data name="warning-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\warning-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> - <data name="checkbox-marked-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>..\Images\checkbox-marked-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> - </data> <data name="Wrench-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\Wrench-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> @@ -178,8 +178,8 @@ <data name="arrow-up" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\arrow-up.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> - <data name="SaveAs-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>..\Images\SaveAs-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + <data name="Convert-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Images\Convert-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> <data name="Ok-24x24" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\Ok-24x24.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> @@ -187,6 +187,9 @@ <data name="Button-Info-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\Button-Info-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> + <data name="arrow-down-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Images\arrow-down-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> <data name="Next-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\Next-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> @@ -199,11 +202,14 @@ <data name="Open-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\Open-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> + <data name="pointer-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Images\pointer-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> <data name="File-Close-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\File-Close-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> - <data name="search-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>..\Images\search-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + <data name="SaveAs-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Images\SaveAs-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> <data name="Cancel-32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\Cancel-32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> @@ -211,20 +217,17 @@ <data name="eye-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\eye-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> - <data name="mutation_tophat" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>..\Images\gui\mutation_tophat.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> - </data> <data name="Geometry-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\Geometry-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> - <data name="CNCMachine-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>..\Images\CNCMachine-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + <data name="mutation_tophat" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Images\gui\mutation_tophat.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> <data name="plus" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\plus.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> - <data name="Convert-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>..\Images\Convert-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + <data name="UVtools" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\UVtools.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> <data name="layers-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\layers-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> @@ -247,23 +250,23 @@ <data name="checkbox-unmarked-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\checkbox-unmarked-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> + <data name="CNCMachine-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Images\CNCMachine-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> <data name="delete-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\delete-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> - <data name="arrow-down-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>..\Images\arrow-down-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> - </data> - <data name="pointer-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>..\Images\pointer-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> - </data> - <data name="mutation_solidify" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>..\Images\gui\mutation_solidify.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + <data name="checkbox-marked-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Images\checkbox-marked-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> <data name="mutation_blackhat" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\gui\mutation_blackhat.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> - <data name="Cancel-24x24" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>..\Images\Cancel-24x24.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + <data name="mutation_closing" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Images\gui\mutation_closing.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="clipboard-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Images\clipboard-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> <data name="arrow-down" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\arrow-down.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> @@ -274,7 +277,7 @@ <data name="island-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Images\island-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> - <data name="clipboard-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>..\Images\clipboard-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + <data name="settings-16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Images\settings-16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> </root>
\ No newline at end of file diff --git a/UVtools.GUI/Properties/Settings.Designer.cs b/UVtools.GUI/Properties/Settings.Designer.cs index c398559..6cc1d6a 100644 --- a/UVtools.GUI/Properties/Settings.Designer.cs +++ b/UVtools.GUI/Properties/Settings.Designer.cs @@ -22,5 +22,425 @@ namespace UVtools.GUI.Properties { return defaultInstance; } } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Red")] + public global::System.Drawing.Color PreviousNextLayerColor { + get { + return ((global::System.Drawing.Color)(this["PreviousNextLayerColor"])); + } + set { + this["PreviousNextLayerColor"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Yellow")] + public global::System.Drawing.Color IslandColor { + get { + return ((global::System.Drawing.Color)(this["IslandColor"])); + } + set { + this["IslandColor"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Orange")] + public global::System.Drawing.Color ResinTrapColor { + get { + return ((global::System.Drawing.Color)(this["ResinTrapColor"])); + } + set { + this["ResinTrapColor"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Red")] + public global::System.Drawing.Color TouchingBoundsColor { + get { + return ((global::System.Drawing.Color)(this["TouchingBoundsColor"])); + } + set { + this["TouchingBoundsColor"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Magenta")] + public global::System.Drawing.Color PreviousLayerColor { + get { + return ((global::System.Drawing.Color)(this["PreviousLayerColor"])); + } + set { + this["PreviousLayerColor"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Cyan")] + public global::System.Drawing.Color NextLayerColor { + get { + return ((global::System.Drawing.Color)(this["NextLayerColor"])); + } + set { + this["NextLayerColor"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool UpdateSettings { + get { + return ((bool)(this["UpdateSettings"])); + } + set { + this["UpdateSettings"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool StartMaximized { + get { + return ((bool)(this["StartMaximized"])); + } + set { + this["StartMaximized"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool CheckForUpdatesOnStartup { + get { + return ((bool)(this["CheckForUpdatesOnStartup"])); + } + set { + this["CheckForUpdatesOnStartup"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool LayerAutoRotateBestView { + get { + return ((bool)(this["LayerAutoRotateBestView"])); + } + set { + this["LayerAutoRotateBestView"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool LayerDifferenceDefault { + get { + return ((bool)(this["LayerDifferenceDefault"])); + } + set { + this["LayerDifferenceDefault"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool ComputeIssuesOnLoad { + get { + return ((bool)(this["ComputeIssuesOnLoad"])); + } + set { + this["ComputeIssuesOnLoad"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool LayerZoomToFit { + get { + return ((bool)(this["LayerZoomToFit"])); + } + set { + this["LayerZoomToFit"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool ComputeIslands { + get { + return ((bool)(this["ComputeIslands"])); + } + set { + this["ComputeIslands"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool ComputeResinTraps { + get { + return ((bool)(this["ComputeResinTraps"])); + } + set { + this["ComputeResinTraps"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("1")] + public byte IslandRequiredAreaToProcessCheck { + get { + return ((byte)(this["IslandRequiredAreaToProcessCheck"])); + } + set { + this["IslandRequiredAreaToProcessCheck"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("1")] + public byte IslandRequiredPixelBrightnessToProcessCheck { + get { + return ((byte)(this["IslandRequiredPixelBrightnessToProcessCheck"])); + } + set { + this["IslandRequiredPixelBrightnessToProcessCheck"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("10")] + public byte IslandRequiredPixelsToSupport { + get { + return ((byte)(this["IslandRequiredPixelsToSupport"])); + } + set { + this["IslandRequiredPixelsToSupport"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("150")] + public byte IslandRequiredPixelBrightnessToSupport { + get { + return ((byte)(this["IslandRequiredPixelBrightnessToSupport"])); + } + set { + this["IslandRequiredPixelBrightnessToSupport"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("17")] + public byte ResinTrapRequiredAreaToProcessCheck { + get { + return ((byte)(this["ResinTrapRequiredAreaToProcessCheck"])); + } + set { + this["ResinTrapRequiredAreaToProcessCheck"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("10")] + public byte ResinTrapRequiredBlackPixelsToDrain { + get { + return ((byte)(this["ResinTrapRequiredBlackPixelsToDrain"])); + } + set { + this["ResinTrapRequiredBlackPixelsToDrain"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("30")] + public byte ResinTrapMaximumPixelBrightnessToDrain { + get { + return ((byte)(this["ResinTrapMaximumPixelBrightnessToDrain"])); + } + set { + this["ResinTrapMaximumPixelBrightnessToDrain"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool AutoComputeIssuesClickOnTab { + get { + return ((bool)(this["AutoComputeIssuesClickOnTab"])); + } + set { + this["AutoComputeIssuesClickOnTab"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Lime")] + public global::System.Drawing.Color OutlinePrintVolumeBoundsColor { + get { + return ((global::System.Drawing.Color)(this["OutlinePrintVolumeBoundsColor"])); + } + set { + this["OutlinePrintVolumeBoundsColor"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("3")] + public byte OutlinePrintVolumeBoundsLineThickness { + get { + return ((byte)(this["OutlinePrintVolumeBoundsLineThickness"])); + } + set { + this["OutlinePrintVolumeBoundsLineThickness"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Lime")] + public global::System.Drawing.Color OutlineLayerBoundsColor { + get { + return ((global::System.Drawing.Color)(this["OutlineLayerBoundsColor"])); + } + set { + this["OutlineLayerBoundsColor"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("3")] + public byte OutlineLayerBoundsLineThickness { + get { + return ((byte)(this["OutlineLayerBoundsLineThickness"])); + } + set { + this["OutlineLayerBoundsLineThickness"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Orange")] + public global::System.Drawing.Color OutlineHollowAreasColor { + get { + return ((global::System.Drawing.Color)(this["OutlineHollowAreasColor"])); + } + set { + this["OutlineHollowAreasColor"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("3")] + public sbyte OutlineHollowAreasLineThickness { + get { + return ((sbyte)(this["OutlineHollowAreasLineThickness"])); + } + set { + this["OutlineHollowAreasLineThickness"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool OutlinePrintVolumeBounds { + get { + return ((bool)(this["OutlinePrintVolumeBounds"])); + } + set { + this["OutlinePrintVolumeBounds"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool OutlineLayerBounds { + get { + return ((bool)(this["OutlineLayerBounds"])); + } + set { + this["OutlineLayerBounds"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool OutlineHollowAreas { + get { + return ((bool)(this["OutlineHollowAreas"])); + } + set { + this["OutlineHollowAreas"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool ZoomToFitPrintVolumeBounds { + get { + return ((bool)(this["ZoomToFitPrintVolumeBounds"])); + } + set { + this["ZoomToFitPrintVolumeBounds"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("127")] + public byte ResinTrapBinaryThreshold { + get { + return ((byte)(this["ResinTrapBinaryThreshold"])); + } + set { + this["ResinTrapBinaryThreshold"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("0")] + public byte IslandBinaryThreshold { + get { + return ((byte)(this["IslandBinaryThreshold"])); + } + set { + this["IslandBinaryThreshold"] = value; + } + } } } diff --git a/UVtools.GUI/Properties/Settings.settings b/UVtools.GUI/Properties/Settings.settings index 3964565..1a40bbb 100644 --- a/UVtools.GUI/Properties/Settings.settings +++ b/UVtools.GUI/Properties/Settings.settings @@ -1,7 +1,111 @@ <?xml version='1.0' encoding='utf-8'?> -<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)"> - <Profiles> - <Profile Name="(Default)" /> - </Profiles> - <Settings /> -</SettingsFile> +<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="UVtools.GUI.Properties" GeneratedClassName="Settings"> + <Profiles /> + <Settings> + <Setting Name="PreviousNextLayerColor" Type="System.Drawing.Color" Scope="User"> + <Value Profile="(Default)">Red</Value> + </Setting> + <Setting Name="IslandColor" Type="System.Drawing.Color" Scope="User"> + <Value Profile="(Default)">Yellow</Value> + </Setting> + <Setting Name="ResinTrapColor" Type="System.Drawing.Color" Scope="User"> + <Value Profile="(Default)">Orange</Value> + </Setting> + <Setting Name="TouchingBoundsColor" Type="System.Drawing.Color" Scope="User"> + <Value Profile="(Default)">Red</Value> + </Setting> + <Setting Name="PreviousLayerColor" Type="System.Drawing.Color" Scope="User"> + <Value Profile="(Default)">Magenta</Value> + </Setting> + <Setting Name="NextLayerColor" Type="System.Drawing.Color" Scope="User"> + <Value Profile="(Default)">Cyan</Value> + </Setting> + <Setting Name="UpdateSettings" Type="System.Boolean" Scope="User"> + <Value Profile="(Default)">True</Value> + </Setting> + <Setting Name="StartMaximized" Type="System.Boolean" Scope="User"> + <Value Profile="(Default)">False</Value> + </Setting> + <Setting Name="CheckForUpdatesOnStartup" Type="System.Boolean" Scope="User"> + <Value Profile="(Default)">True</Value> + </Setting> + <Setting Name="LayerAutoRotateBestView" Type="System.Boolean" Scope="User"> + <Value Profile="(Default)">True</Value> + </Setting> + <Setting Name="LayerDifferenceDefault" Type="System.Boolean" Scope="User"> + <Value Profile="(Default)">False</Value> + </Setting> + <Setting Name="ComputeIssuesOnLoad" Type="System.Boolean" Scope="User"> + <Value Profile="(Default)">False</Value> + </Setting> + <Setting Name="LayerZoomToFit" Type="System.Boolean" Scope="User"> + <Value Profile="(Default)">True</Value> + </Setting> + <Setting Name="ComputeIslands" Type="System.Boolean" Scope="User"> + <Value Profile="(Default)">True</Value> + </Setting> + <Setting Name="ComputeResinTraps" Type="System.Boolean" Scope="User"> + <Value Profile="(Default)">True</Value> + </Setting> + <Setting Name="IslandRequiredAreaToProcessCheck" Type="System.Byte" Scope="User"> + <Value Profile="(Default)">1</Value> + </Setting> + <Setting Name="IslandRequiredPixelBrightnessToProcessCheck" Type="System.Byte" Scope="User"> + <Value Profile="(Default)">1</Value> + </Setting> + <Setting Name="IslandRequiredPixelsToSupport" Type="System.Byte" Scope="User"> + <Value Profile="(Default)">10</Value> + </Setting> + <Setting Name="IslandRequiredPixelBrightnessToSupport" Type="System.Byte" Scope="User"> + <Value Profile="(Default)">150</Value> + </Setting> + <Setting Name="ResinTrapRequiredAreaToProcessCheck" Type="System.Byte" Scope="User"> + <Value Profile="(Default)">17</Value> + </Setting> + <Setting Name="ResinTrapRequiredBlackPixelsToDrain" Type="System.Byte" Scope="User"> + <Value Profile="(Default)">10</Value> + </Setting> + <Setting Name="ResinTrapMaximumPixelBrightnessToDrain" Type="System.Byte" Scope="User"> + <Value Profile="(Default)">30</Value> + </Setting> + <Setting Name="AutoComputeIssuesClickOnTab" Type="System.Boolean" Scope="User"> + <Value Profile="(Default)">True</Value> + </Setting> + <Setting Name="OutlinePrintVolumeBoundsColor" Type="System.Drawing.Color" Scope="User"> + <Value Profile="(Default)">Lime</Value> + </Setting> + <Setting Name="OutlinePrintVolumeBoundsLineThickness" Type="System.Byte" Scope="User"> + <Value Profile="(Default)">3</Value> + </Setting> + <Setting Name="OutlineLayerBoundsColor" Type="System.Drawing.Color" Scope="User"> + <Value Profile="(Default)">Lime</Value> + </Setting> + <Setting Name="OutlineLayerBoundsLineThickness" Type="System.Byte" Scope="User"> + <Value Profile="(Default)">3</Value> + </Setting> + <Setting Name="OutlineHollowAreasColor" Type="System.Drawing.Color" Scope="User"> + <Value Profile="(Default)">Orange</Value> + </Setting> + <Setting Name="OutlineHollowAreasLineThickness" Type="System.SByte" Scope="User"> + <Value Profile="(Default)">3</Value> + </Setting> + <Setting Name="OutlinePrintVolumeBounds" Type="System.Boolean" Scope="User"> + <Value Profile="(Default)">True</Value> + </Setting> + <Setting Name="OutlineLayerBounds" Type="System.Boolean" Scope="User"> + <Value Profile="(Default)">False</Value> + </Setting> + <Setting Name="OutlineHollowAreas" Type="System.Boolean" Scope="User"> + <Value Profile="(Default)">False</Value> + </Setting> + <Setting Name="ZoomToFitPrintVolumeBounds" Type="System.Boolean" Scope="User"> + <Value Profile="(Default)">True</Value> + </Setting> + <Setting Name="ResinTrapBinaryThreshold" Type="System.Byte" Scope="User"> + <Value Profile="(Default)">127</Value> + </Setting> + <Setting Name="IslandBinaryThreshold" Type="System.Byte" Scope="User"> + <Value Profile="(Default)">0</Value> + </Setting> + </Settings> +</SettingsFile>
\ No newline at end of file |