Make gamma 1.0

This commit is contained in:
kipp%netscape.com 1998-07-30 16:07:18 +00:00
parent 9485365e34
commit a9c5ff5a3f
2 changed files with 4 additions and 2 deletions

View File

@ -441,7 +441,8 @@ nsWebShell::Init(nsNativeWidget aNativeParent,
mDeviceContext->Init(aNativeParent);
mDeviceContext->SetDevUnitsToAppUnits(mDeviceContext->GetDevUnitsToTwips());
mDeviceContext->SetAppUnitsToDevUnits(mDeviceContext->GetTwipsToDevUnits());
mDeviceContext->SetGamma(1.7f);
// mDeviceContext->SetGamma(1.7f);
mDeviceContext->SetGamma(1.0f);
// Create a Native window for the shell container...
rv = NSRepository::CreateInstance(kChildCID,

View File

@ -441,7 +441,8 @@ nsWebShell::Init(nsNativeWidget aNativeParent,
mDeviceContext->Init(aNativeParent);
mDeviceContext->SetDevUnitsToAppUnits(mDeviceContext->GetDevUnitsToTwips());
mDeviceContext->SetAppUnitsToDevUnits(mDeviceContext->GetTwipsToDevUnits());
mDeviceContext->SetGamma(1.7f);
// mDeviceContext->SetGamma(1.7f);
mDeviceContext->SetGamma(1.0f);
// Create a Native window for the shell container...
rv = NSRepository::CreateInstance(kChildCID,