Kaydet (Commit) 945ee344 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

hide OpenGLWindow in normal charts

Change-Id: Ie45a910d2b99b7644a8055476aa191ef8a724d38
üst 5ae77e8f
...@@ -2459,6 +2459,14 @@ void ChartView::createShapes() ...@@ -2459,6 +2459,14 @@ void ChartView::createShapes()
createShapes3D(); createShapes3D();
return; return;
} }
else
{
// hide OpenGL window for now in normal charts
OpenGLWindow* pWindow = mrChartModel.getOpenGLWindow();
if(pWindow)
pWindow->Show(false);
}
#endif #endif
{ {
...@@ -3149,6 +3157,8 @@ void ChartView::createShapes3D() ...@@ -3149,6 +3157,8 @@ void ChartView::createShapes3D()
if(!pWindow) if(!pWindow)
return; return;
pWindow->Show();
GL3DBarChart aBarChart(aDataSeries, *pWindow); GL3DBarChart aBarChart(aDataSeries, *pWindow);
aBarChart.create3DShapes(); aBarChart.create3DShapes();
aBarChart.render(); aBarChart.render();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment