summaryrefslogtreecommitdiff
path: root/chart2/inc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-01 19:36:39 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-04 07:49:12 +0200
commit389d8e9f5232501ac782562ba7c07c052f19766d (patch)
treee27b6f67d9c4f60472da50e53df01fff57883d6f /chart2/inc
parentdacab84536f61f79a5422e1d8d394019ec62f3ec (diff)
fix refresh problem with 2D OpenGL chart and OpenGLWindow
Change-Id: I32f23967a826262051495d57a4dd529ca3694548
Diffstat (limited to 'chart2/inc')
-rw-r--r--chart2/inc/ChartView.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/chart2/inc/ChartView.hxx b/chart2/inc/ChartView.hxx
index ab552f9fa250..d69aa9f86225 100644
--- a/chart2/inc/ChartView.hxx
+++ b/chart2/inc/ChartView.hxx
@@ -55,6 +55,7 @@ class DrawModelWrapper;
class SeriesPlotterContainer;
class VDataSeries;
class GL3DPlotterBase;
+class GL2DRenderer;
enum TimeBasedMode
{
@@ -103,6 +104,7 @@ class ChartView : public ::cppu::WeakImplHelper10<
, public ExplicitValueProvider
, private SfxListener
{
+ friend class GL2DRenderer;
private:
void init();
@@ -277,6 +279,7 @@ private: //member
boost::shared_ptr<GL3DPlotterBase> m_pGL3DPlotter;
TimeBasedInfo maTimeBased;
osl::Mutex maTimeMutex;
+ boost::scoped_ptr<GL2DRenderer> mp2DRenderer;
};
}