rename this one too

This commit is contained in:
Mike Griese 2021-11-11 10:34:25 -06:00
parent 1a7649ce21
commit 5adb327703
3 changed files with 5 additions and 5 deletions

View file

@ -277,7 +277,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
// GH#5098: Inform the engine of the opacity of the default text background.
// GH#11315: Always do this, even if they don't have acrylic on.
_renderEngine->SetDefaultTextBackgroundOpacity(_isBackgroundTransparent());
_renderEngine->EnableTransparentBackground(_isBackgroundTransparent());
THROW_IF_FAILED(_renderEngine->Enable());
@ -456,7 +456,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
// Update the renderer as well. It might need to fall back from
// cleartype -> grayscale if the BG is transparent / acrylic.
_renderEngine->SetDefaultTextBackgroundOpacity(_isBackgroundTransparent());
_renderEngine->EnableTransparentBackground(_isBackgroundTransparent());
auto eventArgs = winrt::make_self<TransparencyChangedEventArgs>(newOpacity);
_TransparencyChangedHandlers(*this, *eventArgs);
@ -624,7 +624,7 @@ namespace winrt::Microsoft::Terminal::Control::implementation
_renderEngine->SetForceFullRepaintRendering(_settings->ForceFullRepaintRendering());
_renderEngine->SetSoftwareRendering(_settings->SoftwareRendering());
// Inform the renderer of our opacity
_renderEngine->SetDefaultTextBackgroundOpacity(_isBackgroundTransparent());
_renderEngine->EnableTransparentBackground(_isBackgroundTransparent());
_updateAntiAliasingMode(_renderEngine.get());

View file

@ -2245,7 +2245,7 @@ CATCH_LOG()
// - isTransparent: true if our BG is transparent (acrylic, or anything that's not fully opaque)
// Return Value:
// - <none>
void DxEngine::SetDefaultTextBackgroundOpacity(const bool isTransparent) noexcept
void DxEngine::EnableTransparentBackground(const bool isTransparent) noexcept
try
{
_defaultBackgroundIsTransparent = isTransparent;

View file

@ -128,7 +128,7 @@ namespace Microsoft::Console::Render
void SetSelectionBackground(const COLORREF color, const float alpha = 0.5f) noexcept;
void SetAntialiasingMode(const D2D1_TEXT_ANTIALIAS_MODE antialiasingMode) noexcept;
void SetDefaultTextBackgroundOpacity(const bool isTransparent) noexcept;
void EnableTransparentBackground(const bool isTransparent) noexcept;
void SetIntenseIsBold(const bool opacity) noexcept;
void UpdateHyperlinkHoveredId(const uint16_t hoveredId) noexcept;