diff --git a/Test_Merge/ConfigurationTool.cs b/Test_Merge/ConfigurationTool.cs
index acdd023..4d51bb2 100644
--- a/Test_Merge/ConfigurationTool.cs
+++ b/Test_Merge/ConfigurationTool.cs
@@ -27,14 +27,25 @@ namespace Test_Merge
MainZone = new Zone(fullImage, mainZoneDimensions,"Main");
AutoCalibrate();
}
+ ///
+ /// Resets the main zone
+ ///
public void ResetMainZone()
{
MainZone.ResetZones();
}
+ ///
+ /// Reset the windows
+ ///
public void ResetWindows()
{
MainZone.ResetWindows();
}
+ ///
+ /// Save the current config in a JSON file stored in /Presets/
+ ///
+ /// A list of all the drivers in the GP. IMPORTANT, they need to ALL be mentionned or the program wont be able to detect the missing ones and will F up everything
+ /// The name the config should have
public void SaveToJson(List drivers, string configName)
{
string JSON = "";
@@ -77,6 +88,11 @@ namespace Test_Merge
File.WriteAllText(path, JSON);
}
+ ///
+ /// Adds a window in the windows list
+ /// Be carefull of the order. It cant be random or it will crash. The programm expect the first to be position, second Gap to leader etc...
+ ///
+ /// The bounds of the window
public void AddWindows(List rectangles)
{
foreach (Zone driverZone in MainZone.Zones)
@@ -127,6 +143,9 @@ namespace Test_Merge
}
}
}
+ ///
+ /// This will automatically create all the driver zones at the correct places if the main zone has been weel positionned
+ ///
public void AutoCalibrate()
{
List detectedText = new List();
diff --git a/Test_Merge/DriverDrsWindow.cs b/Test_Merge/DriverDrsWindow.cs
index 5d9cecd..ba06736 100644
--- a/Test_Merge/DriverDrsWindow.cs
+++ b/Test_Merge/DriverDrsWindow.cs
@@ -23,6 +23,10 @@ namespace Test_Merge
{
Name = "DRS";
}
+ ///
+ /// Method that will decode the content of the window
+ ///
+ ///
public override async Task