summaryrefslogtreecommitdiff
path: root/vcl/inc/salvd.hxx
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-06-11 20:02:11 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-06-12 13:50:49 +0300
commit96c4aeedb04bfb1438b69875951fc132142cb0d3 (patch)
treee78113f60d5c449ea6084c556e653d71b23e7fa6 /vcl/inc/salvd.hxx
parent56595dab6424db6d69f81bfa551118140c5b66ac (diff)
Implement XToolkit2::createScreenCompatibleDeviceUsingBuffer for Android
Change-Id: I8dd16850a35cd2de7260dcbe9a8aa7afae2294be
Diffstat (limited to 'vcl/inc/salvd.hxx')
-rw-r--r--vcl/inc/salvd.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/vcl/inc/salvd.hxx b/vcl/inc/salvd.hxx
index 77904ac6ccfd..5cca88d2d6ee 100644
--- a/vcl/inc/salvd.hxx
+++ b/vcl/inc/salvd.hxx
@@ -31,6 +31,7 @@
#include <tools/solar.h>
#include <vcl/dllapi.h>
+#include <basebmp/bitmapdevice.hxx>
class SalGraphics;
@@ -49,8 +50,11 @@ public: // public for Sal Implementation
virtual SalGraphics* GetGraphics() = 0;
virtual void ReleaseGraphics( SalGraphics* pGraphics ) = 0;
- // Set new size, without saving the old contents
- virtual sal_Bool SetSize( long nNewDX, long nNewDY ) = 0;
+ // Set new size, without saving the old contents
+ virtual sal_Bool SetSize( long nNewDX, long nNewDY ) = 0;
+
+ // Set new size using a buffer at the given address
+ virtual sal_Bool SetSizeUsingBuffer( long nNewDX, long nNewDY, const basebmp::RawMemorySharedArray &pBuffer ) = 0;
/// Get actual VDev size in pixel
virtual void GetSize( long& rWidth, long& rHeight ) = 0;