Resuming WIP: InterpSettings now get deserialized and loaded

This commit is contained in:
N00MKRAD
2021-02-01 22:48:22 +01:00
parent dd79c5a2a8
commit d8eadba6a4
3 changed files with 55 additions and 4 deletions

View File

@@ -102,5 +102,18 @@ namespace Flowframes.MiscUtils
return outStr;
}
public static System.Drawing.Size ParseSize (string str)
{
try
{
string[] values = str.Split('x');
return new System.Drawing.Size(values[0].GetInt(), values[1].GetInt());
}
catch
{
return new System.Drawing.Size();
}
}
}
}