Serialize Themes
This commit is contained in:
1 parent
092f8df8f5
commit
acaf4eadb2
13 files changed
+207
-263
No files matched your search
@@ -100,16 +100,6 @@ namespace VocaluxeLib.Xml
|
||||
return ok;
|
||||
}
|
||||
|
||||
public bool Read(string xPath, out SInfo el)
|
||||
{
|
||||
el = new SInfo();
|
||||
bool ok = GetValue(xPath + "/Name", out el.Name);
|
||||
ok &= GetValue(xPath + "/Author", out el.Author);
|
||||
ok &= TryGetIntValue(xPath + "/VersionMajor", ref el.VersionMajor);
|
||||
ok &= TryGetIntValue(xPath + "/VersionMinor", ref el.VersionMinor);
|
||||
return ok;
|
||||
}
|
||||
|
||||
public bool Read(string xPath, out SColorF value)
|
||||
{
|
||||
value = new SColorF();
|
||||
|
||||
Reference in new issue
Block a user