Added spx's meter/measure/config "Group" functionality.

Minor fix to installer script
This commit is contained in:
jsmorley
2010-07-17 13:02:34 +00:00
parent c287df17cc
commit 935852426a
8 changed files with 854 additions and 239 deletions

View File

@ -502,7 +502,6 @@ void CMeterWindow::ChangeZPos(ZPOSITION zPos, bool all)
{
if(!m_ChildWindow)
{
HWND parent = GetAncestor(m_Window, GA_PARENT);
HWND winPos = HWND_NOTOPMOST;
m_WindowZPosition = zPos;
@ -1453,6 +1452,8 @@ void CMeterWindow::ReadConfig()
m_AlphaValue = 255;
m_FadeDuration = 250;
std::wstring group = L"";
CConfigParser parser;
parser.Initialize(iniFile.c_str(), m_Rainmeter);
@ -1532,6 +1533,9 @@ void CMeterWindow::ReadConfig()
m_FadeDuration = parser.ReadInt(section, L"FadeDuration", m_FadeDuration);
group = parser.ReadString(section, L"Group", group.c_str());
InitializeGroup(group);
// On the second loop override settings from the skin's section
section = m_SkinName.c_str();
}