Factor out CSkin class
Replace usages of GetColor and remove GetColor(..., skinIndex,...)
This commit is contained in:
1 parent
1c884f3acb
commit
89e528c2a6
22 files changed
+584
-861
No files matched your search
@@ -33,12 +33,9 @@ namespace VocaluxeLib.Menu
|
||||
[XmlType("ScreenSetting")]
|
||||
public struct SScreenSetting
|
||||
{
|
||||
[XmlAttributeAttribute(AttributeName = "Name")]
|
||||
public string Name;
|
||||
[XmlElement("Value")]
|
||||
public string Value;
|
||||
[XmlElement("Type")]
|
||||
public ESettingType Type;
|
||||
[XmlAttribute(AttributeName = "Name")] public string Name;
|
||||
[XmlElement("Value")] public string Value;
|
||||
[XmlElement("Type")] public ESettingType Type;
|
||||
}
|
||||
|
||||
// ReSharper disable ClassNeverInstantiated.Global
|
||||
@@ -138,7 +135,9 @@ namespace VocaluxeLib.Menu
|
||||
|
||||
private SColorF _GetColorValue(string value)
|
||||
{
|
||||
return CBase.Theme.GetColor(value, _PartyModeID);
|
||||
SColorF color;
|
||||
CBase.Theme.GetColor(value, _PartyModeID, out color);
|
||||
return color;
|
||||
}
|
||||
#endregion Private
|
||||
|
||||
|
||||
Reference in new issue
Block a user