mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Changed the default for "AlwaysOnTop" (ZPos) from "Normal" (0) to "On Desktop" (-2) now that On Desktop is working right with Vista / Win7.
Some minor changes to images for RainBackup and RainThemes. Using new background pattern from poiru.
This commit is contained in:
parent
befa90ce8f
commit
70ae84faca
@ -88,7 +88,7 @@ CMeterWindow::CMeterWindow(std::wstring& path, std::wstring& config, std::wstrin
|
|||||||
m_AnchorYPercentage = false;
|
m_AnchorYPercentage = false;
|
||||||
m_AnchorScreenX = 0;
|
m_AnchorScreenX = 0;
|
||||||
m_AnchorScreenY = 0;
|
m_AnchorScreenY = 0;
|
||||||
m_WindowZPosition = ZPOSITION_NORMAL;
|
m_WindowZPosition = ZPOSITION_ONDESKTOP;
|
||||||
m_WindowDraggable = true;
|
m_WindowDraggable = true;
|
||||||
m_WindowUpdate = 1000;
|
m_WindowUpdate = 1000;
|
||||||
m_TransitionUpdate = 100;
|
m_TransitionUpdate = 100;
|
||||||
@ -1410,6 +1410,7 @@ void CMeterWindow::ReadConfig()
|
|||||||
m_WindowY = buffer;
|
m_WindowY = buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Changed to make the default "On Desktop" - JSMorley : May 11, 2010
|
||||||
int zPos = parser.ReadInt(section, L"AlwaysOnTop", m_WindowZPosition);
|
int zPos = parser.ReadInt(section, L"AlwaysOnTop", m_WindowZPosition);
|
||||||
if (zPos == -1)
|
if (zPos == -1)
|
||||||
{
|
{
|
||||||
@ -1419,6 +1420,10 @@ void CMeterWindow::ReadConfig()
|
|||||||
{
|
{
|
||||||
m_WindowZPosition = ZPOSITION_ONDESKTOP;
|
m_WindowZPosition = ZPOSITION_ONDESKTOP;
|
||||||
}
|
}
|
||||||
|
else if (zPos == 0)
|
||||||
|
{
|
||||||
|
m_WindowZPosition = ZPOSITION_NORMAL;
|
||||||
|
}
|
||||||
else if (zPos == 1)
|
else if (zPos == 1)
|
||||||
{
|
{
|
||||||
m_WindowZPosition = ZPOSITION_ONTOP;
|
m_WindowZPosition = ZPOSITION_ONTOP;
|
||||||
@ -1429,7 +1434,7 @@ void CMeterWindow::ReadConfig()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_WindowZPosition = ZPOSITION_NORMAL;
|
m_WindowZPosition = ZPOSITION_ONDESKTOP;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_WindowDraggable = 0!=parser.ReadInt(section, L"Draggable", m_WindowDraggable);
|
m_WindowDraggable = 0!=parser.ReadInt(section, L"Draggable", m_WindowDraggable);
|
||||||
|
Loading…
Reference in New Issue
Block a user