Kaydet (Commit) 9c9db856 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

rendercontext toolbar: Invalidate instead of direct paint.

Change-Id: Ib4c11d3f1ec793e66cd47c1f7bb4f7d06820d58f
üst bbefb58c
......@@ -197,9 +197,9 @@ private:
public:
using Window::ImplInit;
private:
SAL_DLLPRIVATE void InvalidateItem(sal_uInt16 nPosition, sal_uInt16 nHighlight = 0, bool bPaint = false, bool bLayout = false);
SAL_DLLPRIVATE void InvalidateItem(sal_uInt16 nPosition);
SAL_DLLPRIVATE void InvalidateSpin(bool bUpperIn, bool bLowerIn);
SAL_DLLPRIVATE void InvalidateMenuButton(bool bHighlight);
SAL_DLLPRIVATE void InvalidateMenuButton();
SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle );
using DockingWindow::ImplInitSettings;
......
This diff is collapsed.
......@@ -1367,7 +1367,7 @@ void ToolBox::SetItemDown( sal_uInt16 nItemId, bool bDown, bool bRelease )
if ( nPos != mnCurPos )
{
mnCurPos = nPos;
InvalidateItem(mnCurPos, 1);
InvalidateItem(mnCurPos);
Flush();
}
}
......@@ -1676,7 +1676,7 @@ void ToolBox::ImplFillLayoutData() const
// only draw, if the rectangle is within PaintRectangle
if (!pItem->maRect.IsEmpty())
const_cast<ToolBox*>(this)->InvalidateItem(i, 0, false, true);
const_cast<ToolBox*>(this)->InvalidateItem(i);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment