diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2020-05-23 23:49:45 +1000 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-06-02 10:44:14 +0200 |
commit | e25334e1c1022b4741897a3e659fcbad5cde97c4 (patch) | |
tree | f7d96b00de739f6b69b44a9af27c07e1bbe28d7b /include | |
parent | 8d0b7e5b2f6773f4b3feb75f1ac73ea1a26609f7 (diff) |
tdf#74702 vcl: extract GetSyncCount()
Change-Id: Ie624f0d57aea4d72c69f6cd73508d129e53721d1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94722
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/outdev.hxx | 2 | ||||
-rw-r--r-- | include/vcl/window.hxx | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index e9822fc37049..fb58781479c4 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -455,6 +455,8 @@ public: std::vector< VCLXGraphics* > *GetUnoGraphicsList() const { return mpUnoGraphicsList; } std::vector< VCLXGraphics* > *CreateUnoGraphicsList(); + virtual size_t GetSyncCount() const { return 0xffffffff; } + protected: /** Acquire a graphics device that the output device uses to draw on. diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 5bef729e65f4..30bac38c6d84 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -773,6 +773,7 @@ public: Color GetBackgroundColor() const override; + size_t GetSyncCount() const override { return 0x000000ff; } virtual void EnableRTL ( bool bEnable = true ) override; virtual void MouseMove( const MouseEvent& rMEvt ); virtual void MouseButtonDown( const MouseEvent& rMEvt ); |