summaryrefslogtreecommitdiff
path: root/sw/inc/viewsh.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-06-24 11:38:34 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-06-24 12:34:39 +0200
commitf2c84d410cf6df3bb3725d2495e3b6b60b2cf17b (patch)
tree83fdb3fef1c0a785ef7ffc4ead05a8b39525c776 /sw/inc/viewsh.hxx
parentcc9e9219cb897fa1a84916feb13720020fd20b12 (diff)
sw: add SwViewShell::mbOutputToWindow
So that we can know if the output is a virtual device that will end up on the screen (due to double buffering) or a "real" virtual device. Change-Id: I1e8eeddfb19c374363b98786c26836e1f3236e7f
Diffstat (limited to 'sw/inc/viewsh.hxx')
-rw-r--r--sw/inc/viewsh.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx
index e2ea4b542c2d..9e77272d5a0e 100644
--- a/sw/inc/viewsh.hxx
+++ b/sw/inc/viewsh.hxx
@@ -192,6 +192,9 @@ protected:
bool mbInLibreOfficeKitCallback;
+ /// The virtual device we paint to will end up on the screen.
+ bool mbOutputToWindow;
+
public:
TYPEINFO();
@@ -580,6 +583,9 @@ public:
/// Are we doing tiled rendering?
bool isTiledRendering() const;
+ void setOutputToWindow(bool bOutputToWindow);
+ bool isOutputToWindow() const;
+
};
// manages global ShellPointer