mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
- Fixed that r716 (precompiled header) doesn't work on x64.
- Now uses constructor initialization list in each class. - TintedImage: Code cleanup.
This commit is contained in:
@ -31,7 +31,11 @@ bool CMeasureCalc::c_RandSeeded = false;
|
||||
** The constructor
|
||||
**
|
||||
*/
|
||||
CMeasureCalc::CMeasureCalc(CMeterWindow* meterWindow) : CMeasure(meterWindow)
|
||||
CMeasureCalc::CMeasureCalc(CMeterWindow* meterWindow) : CMeasure(meterWindow),
|
||||
m_Parser(MathParser_Create(NULL)),
|
||||
m_LowBound(),
|
||||
m_HighBound(100),
|
||||
m_UpdateRandom(false)
|
||||
{
|
||||
if(!c_RandSeeded)
|
||||
{
|
||||
@ -39,12 +43,6 @@ CMeasureCalc::CMeasureCalc(CMeterWindow* meterWindow) : CMeasure(meterWindow)
|
||||
srand((unsigned)time(0));
|
||||
}
|
||||
|
||||
m_Parser = MathParser_Create(NULL);
|
||||
|
||||
m_LowBound = 0;
|
||||
m_HighBound = 100;
|
||||
m_UpdateRandom = false;
|
||||
|
||||
rand();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user