summaryrefslogtreecommitdiff
path: root/vcl/inc/opengl/win
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-11-10 04:05:32 +0100
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-10 07:59:56 +0100
commitce8e2735dd2a3eb925209ba4cdfc3eba8a62cf9f (patch)
treed4113a193cffe81132b82dd51d8848264de14064 /vcl/inc/opengl/win
parenta46b3da152f0de02486d01eefd744e4d4f376ea9 (diff)
add code for getting device width and height on window devices
Change-Id: Ib1b84745cd1211a5194da78d83646ade4b01e72a
Diffstat (limited to 'vcl/inc/opengl/win')
-rw-r--r--vcl/inc/opengl/win/gdiimpl.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/inc/opengl/win/gdiimpl.hxx b/vcl/inc/opengl/win/gdiimpl.hxx
index 0af7089fbbfc..aa29dd9bb75c 100644
--- a/vcl/inc/opengl/win/gdiimpl.hxx
+++ b/vcl/inc/opengl/win/gdiimpl.hxx
@@ -13,13 +13,15 @@
#include <vcl/dllapi.h>
#include "openglgdiimpl.hxx"
+#include "win/salgdi.h"
class WinOpenGLSalGraphicsImpl : public OpenGLSalGraphicsImpl
{
private:
+ WinSalGraphics& mrParent;
public:
- WinOpenGLSalGraphicsImpl();
+ WinOpenGLSalGraphicsImpl(WinSalGraphics& rGraphics);
protected:
virtual GLfloat GetWidth() const SAL_OVERRIDE;