From: Heli Hyvättinen Date: Mon, 12 Sep 2011 18:51:38 +0000 (+0300) Subject: Bigger font sizes on score texts X-Git-Tag: v0.4.0~20 X-Git-Url: http://vcs.maemo.org/git/?a=commitdiff_plain;h=115ce8f1565f2b4145380ae5bd668028cce68e3a;p=ghostsoverboard Bigger font sizes on score texts Harmattan needs bigger font than maemo. Added a missing space on total score text. --- 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"); }