diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-11-10 04:05:32 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-11-10 07:59:56 +0100 |
commit | ce8e2735dd2a3eb925209ba4cdfc3eba8a62cf9f (patch) | |
tree | d4113a193cffe81132b82dd51d8848264de14064 /vcl/inc/opengl/win | |
parent | a46b3da152f0de02486d01eefd744e4d4f376ea9 (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.hxx | 4 |
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; |