diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-05-18 18:30:44 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-05-18 18:34:15 +0200 |
commit | 0fc56aad09861a6d94246a3fa047fef70c79f8d9 (patch) | |
tree | 389afbf233ea02712477669d060e02612451a2c8 /include/vcl/window.hxx | |
parent | 36b06104f7955f6f39fd87f175e8f9482695ae0b (diff) |
rendercontext: Per-widget double-buffering for the cases we know that work.
Uses a variable, not a virtual method, as any change would need a large
re-compile.
Change-Id: I103669b139a82137c5d346ab8c9459483d358f2b
Diffstat (limited to 'include/vcl/window.hxx')
-rw-r--r-- | include/vcl/window.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index f7615e331a11..c86ecb8d7daa 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -785,6 +785,11 @@ public: bool IsDisposed() const; SystemWindow* GetSystemWindow() const; + /// Can the widget derived from this Window do the double-buffering via RenderContext properly? + bool SupportsDoubleBuffering() const; + /// Mark this window / widget derived from this window as working with double-buffering via RenderContext. + void SetDoubleBuffering(bool bDoubleBuffering = true); + void EnableAllResize( bool bEnable = true ); void SetBorderStyle( WindowBorderStyle nBorderStyle ); |