Fixed an issue that ReadConfig() is called unnecessarily when DynamicVariables=1 and UpdateDivider=* are set.

This commit is contained in:
spx
2010-11-25 23:57:10 +00:00
parent 999ab0bd18
commit 2186b2eb2a
3 changed files with 18 additions and 10 deletions

View File

@ -89,6 +89,9 @@ public:
void SetName(const WCHAR* name) { m_Name = name; }
const WCHAR* GetName() { return m_Name.c_str(); }
UINT GetUpdateCounter() { return m_UpdateCounter; }
UINT GetUpdateDivider() { return m_UpdateDivider; }
static CMeter* Create(const WCHAR* meter, CMeterWindow* meterWindow);
static void DrawBevel(Gdiplus::Graphics& graphics, Gdiplus::Rect& rect, Gdiplus::Pen& light, Gdiplus::Pen& dark);