From 79eb0818c26eaf23e6c1eb20a50a68fd38d24672 Mon Sep 17 00:00:00 2001 From: "wagic.jeck" Date: Mon, 1 Feb 2010 18:40:21 +0000 Subject: [PATCH] Jeck - Tiny formatting fix to task board. Restored header font size when using image. --- projects/mtg/src/Tasks.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/projects/mtg/src/Tasks.cpp b/projects/mtg/src/Tasks.cpp index 400b00a22..1662719d5 100644 --- a/projects/mtg/src/Tasks.cpp +++ b/projects/mtg/src/Tasks.cpp @@ -474,8 +474,9 @@ void TaskList::Render() { for (vector::iterator it = tasks.begin(); it!=tasks.end(); it++) { sprintf(buffer, "%s", (*it)->getShortDesc().c_str()); f2->DrawString(buffer, posX, posY); - if(mBgTex) + if(mBgTex){ f->SetScale(.8); + } sprintf(buffer, _("Days left: %i").c_str(), (*it)->getExpiration()); f->DrawString(buffer, SCREEN_WIDTH - 190, posY); sprintf(buffer, _("Reward: %i").c_str(), (*it)->getReward()); @@ -485,6 +486,9 @@ void TaskList::Render() { sprintf(buffer, "%s", (*it)->getDesc().c_str()); f->DrawString(buffer, posX+10, posY); posY += 15; + if(mBgTex){ + f->SetScale(1); + } //r->DrawLine((SCREEN_WIDTH)/2 - 200, posY, (SCREEN_WIDTH)/2 + 200, posY, ARGB(128, 255, 255, 255)); } f->SetScale(1);