From 7dedf74c6be8c23bd1a5640cbe0c960a36c6b9db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomi=20Korpip=C3=A4=C3=A4?= Date: Fri, 12 Apr 2013 09:51:08 +0300 Subject: Theme moved to it's own class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib5888622f94b163fb9bda97ceb5339e88a9497ae Change-Id: Ib5888622f94b163fb9bda97ceb5339e88a9497ae Reviewed-by: Miikka Heikkinen Reviewed-by: Tomi Korpipää --- examples/datavis3d/barchart/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples') diff --git a/examples/datavis3d/barchart/main.cpp b/examples/datavis3d/barchart/main.cpp index b4ec93e5..3e732494 100644 --- a/examples/datavis3d/barchart/main.cpp +++ b/examples/datavis3d/barchart/main.cpp @@ -82,8 +82,8 @@ ChartDataGenerator::ChartDataGenerator(Q3DBars *barchart) , m_styleTimer(0) , m_presetTimer(0) , m_themeTimer(0) - , m_columnCount(9) - , m_rowCount(9) + , m_columnCount(21) + , m_rowCount(21) { // Set up bar specifications; make the bars as wide as they are deep, // and add a small space between the bars @@ -304,12 +304,12 @@ void ChartDataGenerator::changePresetCamera() void ChartDataGenerator::changeTheme() { - static int theme = 1; // TODO: System theme not yet implemented + static int theme = 0; m_chart->setTheme((Q3DBars::ColorTheme)theme); if (++theme > (int)Q3DBars::ThemeLight) - theme = 1; // TODO: System theme not yet implemented + theme = 0; } int main(int argc, char **argv) -- cgit v1.2.3