Cosmetics

This commit is contained in:
spx 2012-04-17 17:27:40 -07:00
parent 3cf1f43846
commit 27f33dbe10

View File

@ -1104,7 +1104,7 @@ void CMeterWindow::ShowMeter(const std::wstring& name, bool group)
if (CompareName((*j), meter, group)) if (CompareName((*j), meter, group))
{ {
(*j)->Show(); (*j)->Show();
m_ResizeWindow = true; // Need to recalculate the window region m_ResizeWindow = true; // Need to recalculate the window size
if (!group) return; if (!group) return;
} }
} }
@ -1126,7 +1126,7 @@ void CMeterWindow::HideMeter(const std::wstring& name, bool group)
if (CompareName((*j), meter, group)) if (CompareName((*j), meter, group))
{ {
(*j)->Hide(); (*j)->Hide();
m_ResizeWindow = true; // Need to recalculate the windowregion m_ResizeWindow = true; // Need to recalculate the window size
if (!group) return; if (!group) return;
} }
} }
@ -1155,7 +1155,7 @@ void CMeterWindow::ToggleMeter(const std::wstring& name, bool group)
{ {
(*j)->Hide(); (*j)->Hide();
} }
m_ResizeWindow = true; // Need to recalculate the window region m_ResizeWindow = true; // Need to recalculate the window size
if (!group) return; if (!group) return;
} }
} }
@ -1178,7 +1178,7 @@ void CMeterWindow::MoveMeter(const std::wstring& name, int x, int y)
{ {
(*j)->SetX(x); (*j)->SetX(x);
(*j)->SetY(y); (*j)->SetY(y);
m_ResizeWindow = true; // Need to recalculate the window region m_ResizeWindow = true; // Need to recalculate the window size
return; return;
} }
} }
@ -1202,7 +1202,7 @@ void CMeterWindow::UpdateMeter(const std::wstring& name, bool group)
if (bContinue && CompareName((*j), meter, group)) if (bContinue && CompareName((*j), meter, group))
{ {
UpdateMeter((*j), bActiveTransition, true); UpdateMeter((*j), bActiveTransition, true);
m_ResizeWindow = true; // Need to recalculate the window region m_ResizeWindow = true; // Need to recalculate the window size
if (!group) if (!group)
{ {
bContinue = false; bContinue = false;