mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Cosmetics
This commit is contained in:
parent
3cf1f43846
commit
27f33dbe10
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user