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:
		@@ -174,7 +174,10 @@ void Bang(HWND hWnd, const WCHAR* command)
 | 
			
		||||
	}
 | 
			
		||||
	else
 | 
			
		||||
	{
 | 
			
		||||
		MessageBox(hWnd, L"Rainmeter is not running.\nUnable to send the !bang to it.", L"Rainmeter", MB_OK);
 | 
			
		||||
		if (wcsicmp(L"!rainmeterquit", command) != 0)
 | 
			
		||||
		{
 | 
			
		||||
			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)
 | 
			
		||||
	{
 | 
			
		||||
		graphics.SetInterpolationMode(InterpolationModeBicubic);
 | 
			
		||||
		graphics.SetSmoothingMode(SmoothingModeAntiAlias);
 | 
			
		||||
		graphics.SetSmoothingMode(SmoothingModeHighQuality);
 | 
			
		||||
		graphics.SetPixelOffsetMode(PixelOffsetModeHighQuality);
 | 
			
		||||
	}
 | 
			
		||||
	else
 | 
			
		||||
	{
 | 
			
		||||
		graphics.SetInterpolationMode(InterpolationModeDefault);
 | 
			
		||||
		graphics.SetSmoothingMode(SmoothingModeNone);
 | 
			
		||||
		graphics.SetPixelOffsetMode(PixelOffsetModeDefault);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (m_SolidColor.GetA() != 0 || m_SolidColor2.GetA() != 0)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user