diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-18 11:17:49 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-18 11:22:49 +0900 |
commit | 6fa87f3fde8316fe1e4c35d1dd5132dbd7d7d903 (patch) | |
tree | 9f82a59f23b9e0430c2e22062eeb37f5458dd243 /vcl | |
parent | e27ee95cced755e52b62d6cb095bc911ca3fbbe6 (diff) |
use RenderTools variant of DrawSelectionBackground
Change-Id: Ia7a0f0a4d62e478876743c019865e7878bcbf596
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/dockmgr.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/splitwin.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/toolbox.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/dockmgr.cxx b/vcl/source/window/dockmgr.cxx index 1931592d100b..96b776c051ab 100644 --- a/vcl/source/window/dockmgr.cxx +++ b/vcl/source/window/dockmgr.cxx @@ -639,7 +639,7 @@ void ImplPopupFloatWin::DrawGrip(vcl::RenderContext& rRenderContext) if (mbHighlight) { rRenderContext.Erase(aRect); - DrawSelectionBackground(aRect, 2, false, true, false); + vcl::RenderTools::DrawSelectionBackground(rRenderContext, *this, aRect, 2, false, true, false); } else { diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx index 7e1a47288601..df362cd1cbd0 100644 --- a/vcl/source/window/splitwin.cxx +++ b/vcl/source/window/splitwin.cxx @@ -1914,7 +1914,7 @@ void SplitWindow::ImplDrawGrip(vcl::RenderContext& rRenderContext, const Rectang if (rRect.IsInside(GetPointerPosPixel())) { rRenderContext.DrawWallpaper(rRect, Wallpaper(Color(COL_WHITE))); - DrawSelectionBackground(rRect, 2, false, false, false); + vcl::RenderTools::DrawSelectionBackground(rRenderContext, *this, rRect, 2, false, false, false); } if (bHorz) diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index 00370ff74cdd..ca362fd9a39d 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -2975,7 +2975,7 @@ void ToolBox::ImplDrawButton(vcl::RenderContext& rRenderContext, const Rectangle } if (!bNativeOk) - DrawSelectionBackground(rRect, bIsWindow ? 3 : highlight, bChecked, true, bIsWindow, 2, NULL, NULL); + vcl::RenderTools::DrawSelectionBackground(rRenderContext, *this, rRect, bIsWindow ? 3 : highlight, bChecked, true, bIsWindow, NULL, 2, NULL); } void ToolBox::ImplDrawItem(vcl::RenderContext& rRenderContext, sal_uInt16 nPos, sal_uInt16 nHighlight, bool bPaint, bool bLayout) |