mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-19 01:39:26 +01:00
Resuming WIP: InterpSettings now get deserialized and loaded
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user