Add: Formulas now allowed in the following settings:

LineWidth
LineLength
StartAngle
RotationAngle
Angle
ImageRotate
MinValue
MaxValue
IfAboveValue
IfEqualValue
IfBelowValue
This commit is contained in:
jsmorley
2012-02-19 15:45:43 +00:00
parent eca9250655
commit 3c98527338
5 changed files with 13 additions and 13 deletions

View File

@ -328,7 +328,7 @@ void CMeterString::ReadConfig(CConfigParser& parser, const WCHAR* section)
m_NumOfDecimals = parser.ReadInt(section, L"NumOfDecimals", -1);
m_Angle = (Gdiplus::REAL)parser.ReadFloat(section, L"Angle", 0.0);
m_Angle = (Gdiplus::REAL)parser.ReadFormula(section, L"Angle", 0.0);
const std::wstring& autoscale = parser.ReadString(section, L"AutoScale", L"0");
int autoscaleValue = _wtoi(autoscale.c_str());