Added Lua Stuff

There are a few changes to the core Rainmeter code.
This commit is contained in:
mapeki
2010-12-12 17:08:36 +00:00
parent 416232dff2
commit c516bf8310
96 changed files with 26523 additions and 7 deletions

View File

@ -136,6 +136,7 @@ enum BANGCOMMAND
class CRainmeter;
class CMeasure;
class CMeter;
class CMeasureScript;
class CMeterWindow : public CGroup
{
@ -208,6 +209,11 @@ public:
Gdiplus::PrivateFontCollection* GetPrivateFontCollection() { return m_FontCollection; }
CMeter* GetMeter(std::wstring meterName);
CMeasure* GetMeasure(std::wstring measureName);
const char* ReplaceVariables(const char* p_str);
protected:
static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
@ -359,6 +365,7 @@ private:
bool m_ResetRegion; // If true, the window region is recalculated during the next update
std::list<CMeasure*> m_Measures; // All the measures
std::list<CMeasureScript*> m_ScriptMeasures;// All the measures
std::list<CMeter*> m_Meters; // All the meters
const std::wstring m_SkinPath; // Path of the skin folder