diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-06-24 11:38:34 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-06-24 12:34:39 +0200 |
commit | f2c84d410cf6df3bb3725d2495e3b6b60b2cf17b (patch) | |
tree | 83fdb3fef1c0a785ef7ffc4ead05a8b39525c776 /sw/inc/viewsh.hxx | |
parent | cc9e9219cb897fa1a84916feb13720020fd20b12 (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.hxx | 6 |
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 |