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

@ -76,6 +76,8 @@ public:
void SetMouseOver(bool over) { m_MouseOver = over; }
bool IsMouseOver() { return m_MouseOver; }
std::wstring GetOnUpdateAction() { return m_OnUpdateAction; }
CMeterWindow* GetMeterWindow() { return m_MeterWindow; }
static CMeter* Create(const WCHAR* meter, CMeterWindow* meterWindow, const WCHAR* name);
@ -151,6 +153,8 @@ protected:
bool m_AntiAlias;
bool m_Initialized;
std::wstring m_OnUpdateAction;
CMeterWindow* m_MeterWindow;
};