diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-10-04 10:56:55 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-10-04 14:34:57 +0200 |
commit | 59e38e946f19ab59370f8e52370b7a7b861cc558 (patch) | |
tree | 6f8dc52f6951996fa25a5f229f8b65f7b5fcc916 /include/comphelper | |
parent | ac9373e65ed7908a19edc6f5c758af9b8232820b (diff) |
comphelper: move setTiledPainting() from SfxViewShell
And make it a static one. The primary point of that member function is
to prevent invalidations during paint, and since multiple views are
allowed, it wasn't extended to filter out invalidations from all views,
not just from the current one. (Same goes for other callback types.)
Change-Id: I23e6b2c2ff94227f2b72c481148b2d8279ae2905
Diffstat (limited to 'include/comphelper')
-rw-r--r-- | include/comphelper/lok.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/comphelper/lok.hxx b/include/comphelper/lok.hxx index 529694ce0acc..ca9f87f495dd 100644 --- a/include/comphelper/lok.hxx +++ b/include/comphelper/lok.hxx @@ -48,6 +48,11 @@ COMPHELPER_DLLPUBLIC bool isPartInInvalidation(); /// Set whether clients want a part number in an invalidation payload. COMPHELPER_DLLPUBLIC void setPartInInvalidation(bool bPartInInvalidation); +/// Check if we are doing tiled painting. +COMPHELPER_DLLPUBLIC bool isTiledPainting(); +/// Set if we are doing tiled painting. +COMPHELPER_DLLPUBLIC void setTiledPainting(bool bTiledPainting); + // Status indicator handling. Even if in theory there could be several status indicators active at // the same time, in practice there is only one at a time, so we don't handle any identification of // status indicator in this API. |