Added OnUpdateAction to measures, meters and the [Rainmeter] section.

This commit is contained in:
Brian Ferguson
2013-01-10 15:50:38 -07:00
parent 24e080dfc0
commit 9800692f19
6 changed files with 33 additions and 1 deletions

View File

@ -67,6 +67,8 @@ public:
static void GetScaledValue(AUTOSCALE autoScale, int decimals, double theValue, WCHAR* buffer, size_t sizeInWords);
static void RemoveTrailingZero(WCHAR* str, int strLen);
std::wstring GetOnUpdateAction() { return m_OnUpdateAction; }
CMeterWindow* GetMeterWindow() { return m_MeterWindow; }
static CMeasure* Create(const WCHAR* measure, CMeterWindow* meterWindow, const WCHAR* name);
@ -110,6 +112,8 @@ protected:
bool m_Disabled; // Status of the measure
bool m_Initialized;
std::wstring m_OnUpdateAction;
CMeterWindow* m_MeterWindow;
};