summaryrefslogtreecommitdiff
path: root/include/vcl/window.hxx
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 /include/vcl/window.hxx
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 'include/vcl/window.hxx')
-rw-r--r--include/vcl/window.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index f700794e021e..d67b8984e23f 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -729,11 +729,8 @@ private:
This function is kind of recursive - it may be called from the
PaintHelper destructor; and on the other hand it creates PaintHelper
that (when destructed) calls other ImplCallPaint()'s.
-
- @param rBuffer VirtualDevice for double-buffering. It is only passed
- here, the actual handling happens in the PaintHelper.
*/
- SAL_DLLPRIVATE void ImplCallPaint(const VclPtr<VirtualDevice>& rBuffer, const vcl::Region* pRegion, sal_uInt16 nPaintFlags);
+ SAL_DLLPRIVATE void ImplCallPaint(const vcl::Region* pRegion, sal_uInt16 nPaintFlags);
SAL_DLLPRIVATE void ImplCallOverlapPaint();
SAL_DLLPRIVATE void ImplPostPaint();