aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-09-17 16:06:27 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-09-17 16:06:27 +0300
commit28de564b35207886d181e4a3870f70c3bde04c3d (patch)
tree13e20b49201da1fe544b6a218e87d2739fe11da3 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs
parent936f105cf65f1efa7b27cea08080c183f2679568 (diff)
downloadTango-28de564b35207886d181e4a3870f70c3bde04c3d.tar.gz
Tango-28de564b35207886d181e4a3870f70c3bde04c3d.zip
Implemented keep modules windows states and bounds after restart.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs
index f54611d9c..22ed1a33d 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs
@@ -11,6 +11,13 @@ namespace Tango.MachineStudio.Common
{
public class MachineStudioSettings : SettingsBase
{
+ public class StudioModuleBounds
+ {
+ public String Name { get; set; }
+ public Rect Bounds { get; set; }
+ public WindowState State { get; set; }
+ }
+
/// <summary>
/// Gets or sets the last login email.
/// </summary>
@@ -67,6 +74,11 @@ namespace Tango.MachineStudio.Common
public bool UseExternalBridgeEmulator { get; set; }
/// <summary>
+ /// Gets or sets the studio modules bounds.
+ /// </summary>
+ public List<StudioModuleBounds> StudioModulesBounds { get; set; }
+
+ /// <summary>
/// Initializes a new instance of the <see cref="MachineStudio"/> class.
/// </summary>
public MachineStudioSettings()
@@ -75,6 +87,7 @@ namespace Tango.MachineStudio.Common
LoggingCategories = new List<LogCategory>();
UpdateServiceAddress = "http://twine01/MachineStudioUpdateService/MachineStudioUpdateService.svc";
DefaultIssueReportTags = new List<string>();
+ StudioModulesBounds = new List<StudioModuleBounds>();
}
}
}