diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-05-10 23:36:11 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-05-12 03:00:09 +0200 |
commit | e799cd81b830ea8037c282c1950d49605db2867a (patch) | |
tree | 9a093c6f2aa35c6680418a682d13dc129ecdb3fc /chart2/source/view | |
parent | 2b5590f2c891da02009fc921ff1be81ae2ccf6dc (diff) |
better colors for now
Change-Id: I0d236d48d02faf65da2dfc9d3ce8fbdc1ad759ef
Diffstat (limited to 'chart2/source/view')
-rw-r--r-- | chart2/source/view/charttypes/GL3DBarChart.cxx | 6 | ||||
-rw-r--r-- | chart2/source/view/main/GL3DRenderer.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx index 5fc191491c87..eabc36ae0fef 100644 --- a/chart2/source/view/charttypes/GL3DBarChart.cxx +++ b/chart2/source/view/charttypes/GL3DBarChart.cxx @@ -120,7 +120,7 @@ void GL3DBarChart::create3DShapes() glm::vec3 aEnd = aBegin; aEnd.x = nXEnd; pAxis->setPosition(aBegin, aEnd); - pAxis->setLineColor(COL_WHITE); + pAxis->setLineColor(COL_BLUE); // Y axis maShapes.push_back(new opengl3D::Line(mpRenderer.get(), nId++)); @@ -129,7 +129,7 @@ void GL3DBarChart::create3DShapes() aEnd = aBegin; aEnd.y = nYPos; pAxis->setPosition(aBegin, aEnd); - pAxis->setLineColor(COL_WHITE); + pAxis->setLineColor(COL_BLUE); // Chart background. maShapes.push_back(new opengl3D::Rectangle(mpRenderer.get(), nId++)); @@ -141,7 +141,7 @@ void GL3DBarChart::create3DShapes() aBottomRight.y = nYPos; pRect->setPosition(aTopLeft, aTopRight, aBottomRight); pRect->setFillColor(COL_BLACK); - pRect->setLineColor(COL_WHITE); + pRect->setLineColor(COL_BLUE); // Create category texts along X-axis at the bottom. uno::Sequence<OUString> aCats = mrCatProvider.getSimpleCategories(); diff --git a/chart2/source/view/main/GL3DRenderer.cxx b/chart2/source/view/main/GL3DRenderer.cxx index 24e00cc7e5a4..030e96815e5b 100644 --- a/chart2/source/view/main/GL3DRenderer.cxx +++ b/chart2/source/view/main/GL3DRenderer.cxx @@ -1427,7 +1427,7 @@ void OpenGL3DRenderer::ProcessUnrenderedShape() glViewport(0, 0, m_iWidth, m_iHeight); glClearDepth(1.0f); glViewport(0, 0, m_iWidth, m_iHeight); - glClearColor(0.0, 0.0, 1.0, 1.0); + glClearColor(1.0, 1.0, 1.0, 1.0); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); //Polygon RenderPolygon3DObject(); |