From 115ce8f1565f2b4145380ae5bd668028cce68e3a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Heli=20Hyv=C3=A4ttinen?= Date: Mon, 12 Sep 2011 21:51:38 +0300 Subject: [PATCH] Bigger font sizes on score texts Harmattan needs bigger font than maemo. Added a missing space on total score text. --- seascene.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/seascene.cpp b/seascene.cpp index 85a72bb..753e916 100644 --- a/seascene.cpp +++ b/seascene.cpp @@ -640,13 +640,13 @@ void SeaScene::nextLevel() if (levelScore_ >= highscore) { - scoretext = tr("Your time: %1.%2 s
Best time: %3.%4 s").arg(levelScore_/1000).arg((levelScore_%1000)/100).arg(highscore/1000).arg((highscore%1000)/100); + scoretext = tr("Your time: %1.%2 s
Best time: %3.%4 s").arg(levelScore_/1000).arg((levelScore_%1000)/100).arg(highscore/1000).arg((highscore%1000)/100); } else //New high score! { - scoretext = tr("Your time %1.%2 s is
the new best time!").arg(levelScore_/1000).arg((levelScore_%1000)/100); + scoretext = tr("Your time %1.%2 s is
the new best time!").arg(levelScore_/1000).arg((levelScore_%1000)/100); levelset_.setLevelHighScore(currentLevel_,levelScore_); } @@ -672,7 +672,7 @@ void SeaScene::nextLevel() int totalHighsore = levelset_.getTotalHighScore(); if (totalScore_ >= totalHighsore) { - scoretext.append(tr("
Your total time: %1.%2 s
Best total time:%3.%4 s").arg(totalScore_/1000).arg((totalScore_%1000)/100).arg(totalHighsore/1000).arg((totalHighsore%1000)/100)); + scoretext.append(tr("
Your total time: %1.%2 s
Best total time: %3.%4 s").arg(totalScore_/1000).arg((totalScore_%1000)/100).arg(totalHighsore/1000).arg((totalHighsore%1000)/100)); } else //new total high score { @@ -798,5 +798,5 @@ void SeaScene::createLevelCompletedItems() QGraphicsTextItem * pTapForNextLevelItem = new QGraphicsTextItem(pLevelCompletedItem_); pTapForNextLevelItem->setPos(-60,100); pTapForNextLevelItem->setZValue(1000); - pTapForNextLevelItem->setHtml("Tap to start the next level"); + pTapForNextLevelItem->setHtml("Tap to start the next level"); } -- 1.7.9.5