Kaydet (Commit) 3880944c authored tarafından Miklos Vajna's avatar Miklos Vajna

sw lok annotations: disable the scrollbar for now

Change-Id: I7493eaab55c23c79ca0878c34a97dfb4af857260
(cherry picked from commit 8fc6aafc)
üst 93a5544c
...@@ -246,6 +246,12 @@ void SwSidebarWin::PaintTile(vcl::RenderContext& rRenderContext, const Rectangle ...@@ -246,6 +246,12 @@ void SwSidebarWin::PaintTile(vcl::RenderContext& rRenderContext, const Rectangle
for (sal_uInt16 i = 0; i < GetChildCount(); ++i) for (sal_uInt16 i = 0; i < GetChildCount(); ++i)
{ {
vcl::Window* pChild = GetChild(i); vcl::Window* pChild = GetChild(i);
// This would at the moment just draw a gray rectangle at the top right
// corner, need to sort out later.
if (pChild == mpVScrollbar.get())
continue;
rRenderContext.Push(PushFlags::MAPMODE); rRenderContext.Push(PushFlags::MAPMODE);
Point aOffset(PixelToLogic(pChild->GetPosPixel())); Point aOffset(PixelToLogic(pChild->GetPosPixel()));
MapMode aMapMode(rRenderContext.GetMapMode()); MapMode aMapMode(rRenderContext.GetMapMode());
......
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