diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-05-07 05:10:12 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-05-07 21:23:04 +0200 |
commit | a7eba60df0a8ce190015a54f8fa919c1bb377a7e (patch) | |
tree | 1a28ed3b2b91963de9c6d3dc2590c8d3653d73f5 /chart2/source/model | |
parent | af578839ca4bfd3dfc09203994189254a60e5ea9 (diff) |
the rendering is working on-screen
I can't believe that I finally see something on the screen.
Change-Id: Ic374c8a0d0fa5050b0701a5553136759c9c7602c
Diffstat (limited to 'chart2/source/model')
-rw-r--r-- | chart2/source/model/main/ChartModel.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index cf52cacd37cf..f876a88d09dd 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -108,6 +108,7 @@ ChartModel::ChartModel(uno::Reference<uno::XComponentContext > const & xContext) , mnStart(0) , mnEnd(0) ,bSet(false) + , mpOpenGLWindow(NULL) { OSL_TRACE( "ChartModel: CTOR called" ); @@ -153,6 +154,7 @@ ChartModel::ChartModel( const ChartModel & rOther ) , mnStart(rOther.mnStart) , mnEnd(rOther.mnEnd) , bSet(false) + , mpOpenGLWindow(NULL) { OSL_TRACE( "ChartModel: Copy-CTOR called" ); @@ -1415,6 +1417,12 @@ void ChartModel::setWindow( const sal_uInt64 nWindowPtr ) void* pPtr = (void*)nWindowPtr; OpenGLWindow* pWindow = reinterpret_cast<OpenGLWindow*>(pPtr); assert(pWindow); + mpOpenGLWindow = pWindow; +} + +OpenGLWindow* ChartModel::getOpenGLWindow() +{ + return mpOpenGLWindow; } } // namespace chart |