summaryrefslogtreecommitdiff
path: root/vcl/inc/window.h
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-07-29 12:40:49 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-07-29 14:07:26 +0200
commita33e0379bbe2c7651315f5cdc5925adab33b573b (patch)
tree038692c30dd45e2af35f7ceb1ff0b81a074c7a3a /vcl/inc/window.h
parent00269d39f655bb0ecb38c043a9516b4faefe6708 (diff)
tdf#92982 vcl rendercontext: move buffer from PaintHelper to ImplFrameData
With this, code that wants to take a persistent render context (e.g. vcl::Cursor) will be able to do so. This commit just moves the buffer, though: it's still created / deleted by PaintHelper. Having it in ImplFrameData means that we'll have one buffer / one system window: i.e. toplevel window and its sub-widgets share a buffer. Change-Id: Ic37220a2a483a7389aa04cd4313b6fc61a5408bf
Diffstat (limited to 'vcl/inc/window.h')
-rw-r--r--vcl/inc/window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/window.h b/vcl/inc/window.h
index 0748760acbdc..39b94c0f4d13 100644
--- a/vcl/inc/window.h
+++ b/vcl/inc/window.h
@@ -179,6 +179,7 @@ struct ImplFrameData
::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::clipboard::XClipboard > mxSelection;
bool mbInternalDragGestureRecognizer;
+ VclPtr<VirtualDevice> mpBuffer; ///< Buffer for the double-buffering
};
struct ImplAccessibleInfos