Skip to content

Commit

Permalink
fixup! render: Make PaintSelection take a rect span
Browse files Browse the repository at this point in the history
  • Loading branch information
DHowett committed Aug 3, 2024
1 parent 0619d2c commit 05fa7a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cascadia/UnitTests_TerminalCore/ScrollTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ namespace
HRESULT PaintBackground() noexcept { return S_OK; }
HRESULT PaintBufferLine(std::span<const Cluster> /*clusters*/, til::point /*coord*/, bool /*fTrimLeft*/, bool /*lineWrapped*/) noexcept { return S_OK; }
HRESULT PaintBufferGridLines(GridLineSet /*lines*/, COLORREF /*gridlineColor*/, COLORREF /*underlineColor*/, size_t /*cchLine*/, til::point /*coordTarget*/) noexcept { return S_OK; }
HRESULT PaintSelection(std::span<const til::rect> rects) noexcept { return S_OK; }
HRESULT PaintSelection(std::span<const til::rect> /*rects*/) noexcept { return S_OK; }
HRESULT PaintCursor(const CursorOptions& /*options*/) noexcept { return S_OK; }
HRESULT UpdateDrawingBrushes(const TextAttribute& /*textAttributes*/, const RenderSettings& /*renderSettings*/, gsl::not_null<IRenderData*> /*pData*/, bool /*usingSoftFont*/, bool /*isSettingDefaultBrushes*/) noexcept { return S_OK; }
HRESULT UpdateFont(const FontInfoDesired& /*FontInfoDesired*/, _Out_ FontInfo& /*FontInfo*/) noexcept { return S_OK; }
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/uia/UiaRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ void UiaEngine::WaitUntilCanRender() noexcept
// - rect - Rectangle to invert or highlight to make the selection area
// Return Value:
// - S_FALSE
[[nodiscard]] HRESULT UiaEngine::PaintSelection(std::span<const til::rect> rects) noexcept
[[nodiscard]] HRESULT UiaEngine::PaintSelection(std::span<const til::rect> /*rects*/) noexcept
{
return S_FALSE;
}
Expand Down

0 comments on commit 05fa7a6

Please sign in to comment.