Manage Dialog: Added "UseD2D" option in the Settings Tab

If changed, all skins are refreshed
Option is disabled on systems that do not support D2D
This commit is contained in:
Brian Ferguson
2013-07-25 16:44:06 -06:00
parent 05cbcb9aa8
commit 2418c3692f
7 changed files with 41 additions and 11 deletions

View File

@ -2072,7 +2072,7 @@ bool MeterWindow::ReadSkin()
ReadOptions();
// Temporarily read "__UseD2D" from skin for easy testing
bool useD2D = GetRainmeter().CanUseD2D();
bool useD2D = GetRainmeter().GetUseD2D();
if (revision_beta)
{
useD2D = 0!=m_Parser.ReadInt(L"Rainmeter", L"__UseD2D", useD2D ? 1 : 0);