From 5d236d981298df80cc8fefd09400c43d260940f2 Mon Sep 17 00:00:00 2001 From: Louis-Francis Ratté-Boulianne Date: Mon, 3 Nov 2014 11:08:24 -0500 Subject: vcl: Get the OpenGL window size from the frame Change-Id: Id1b62d1982e56ef073ebb4ab800356d4dee3d742 --- vcl/inc/openglgdiimpl.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vcl/inc/openglgdiimpl.hxx') diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index cad2c4d3826c..6643546d081f 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -25,11 +25,14 @@ #include +class SalFrame; + class VCL_PLUGIN_PUBLIC OpenGLSalGraphicsImpl : public SalGraphicsImpl { private: OpenGLContext maContext; + SalFrame* mpFrame; SalColor mnLineColor; SalColor mnFillColor; @@ -84,6 +87,8 @@ public: virtual void freeResources() SAL_OVERRIDE; + virtual void Init( SalFrame* pFrame ) SAL_OVERRIDE; + virtual bool setClipRegion( const vcl::Region& ) SAL_OVERRIDE; // // get the depth of the device -- cgit