mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
!RainmeterQuit bang doesn't show error message even if Rainmeter is not running.
This commit is contained in:
parent
3cb252cef1
commit
3a5b634b1b
@ -173,9 +173,12 @@ void Bang(HWND hWnd, const WCHAR* command)
|
|||||||
SendMessage(wnd, WM_COPYDATA, (WPARAM)hWnd, (LPARAM)©Data);
|
SendMessage(wnd, WM_COPYDATA, (WPARAM)hWnd, (LPARAM)©Data);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if (wcsicmp(L"!rainmeterquit", command) != 0)
|
||||||
{
|
{
|
||||||
MessageBox(hWnd, L"Rainmeter is not running.\nUnable to send the !bang to it.", L"Rainmeter", MB_OK);
|
MessageBox(hWnd, L"Rainmeter is not running.\nUnable to send the !bang to it.", L"Rainmeter", MB_OK);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -395,12 +395,14 @@ bool CMeter::Draw(Graphics& graphics)
|
|||||||
if (m_AntiAlias)
|
if (m_AntiAlias)
|
||||||
{
|
{
|
||||||
graphics.SetInterpolationMode(InterpolationModeBicubic);
|
graphics.SetInterpolationMode(InterpolationModeBicubic);
|
||||||
graphics.SetSmoothingMode(SmoothingModeAntiAlias);
|
graphics.SetSmoothingMode(SmoothingModeHighQuality);
|
||||||
|
graphics.SetPixelOffsetMode(PixelOffsetModeHighQuality);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
graphics.SetInterpolationMode(InterpolationModeDefault);
|
graphics.SetInterpolationMode(InterpolationModeDefault);
|
||||||
graphics.SetSmoothingMode(SmoothingModeNone);
|
graphics.SetSmoothingMode(SmoothingModeNone);
|
||||||
|
graphics.SetPixelOffsetMode(PixelOffsetModeDefault);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_SolidColor.GetA() != 0 || m_SolidColor2.GetA() != 0)
|
if (m_SolidColor.GetA() != 0 || m_SolidColor2.GetA() != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user