|
From: Tapio V. <aa...@us...> - 2010-03-26 16:57:25
|
Module: performous
Branch: master
Commit: 13a5d0ccee553a62b3937f1bc1ac482098f23a57
Author: Tapio Vierros <tap...@gm...>
Date: Fri Mar 26 18:54:17 2010 +0200
Tweak instrument score display.
* Lower to avoid clashing with lyrics in 16:9 aspect ratio.
* Streak counter to the same side as scores and more neutral in color.
---
game/guitargraph.cc | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/game/guitargraph.cc b/game/guitargraph.cc
index 24c411f..96a51c8 100644
--- a/game/guitargraph.cc
+++ b/game/guitargraph.cc
@@ -866,17 +866,17 @@ void GuitarGraph::drawInfo(double time, double offsetX, Dimensions dimensions) {
m_text.draw(m_track_index->first);
} else {
float xcor = 0.35 * dimensions.w();
- float h = 0.064 * 2.0 * dimensions.w();
+ float h = 0.075 * 2.0 * dimensions.w();
// Draw scores
glColor4f(0.1f, 0.3f, 1.0f, 0.90f);
m_scoreText->render((boost::format("%04d") % getScore()).str());
- m_scoreText->dimensions().middle(-xcor + offsetX).fixedHeight(h*1.1).screenBottom(-0.28);
+ m_scoreText->dimensions().middle(-xcor + offsetX).fixedHeight(h).screenBottom(-0.24);
m_scoreText->draw();
// Draw streak counter
- glColor4f(0.9f, 0.9f, 0.05f, 0.95f);
+ glColor4f(0.6f, 0.6f, 0.7f, 0.95f);
m_streakText->render(boost::lexical_cast<std::string>(unsigned(m_streak)) + "/"
+ boost::lexical_cast<std::string>(unsigned(m_longestStreak)));
- m_streakText->dimensions().middle(xcor + offsetX).fixedHeight(h).screenBottom(-0.28);
+ m_streakText->dimensions().middle(-xcor + offsetX).fixedHeight(h*0.75).screenBottom(-0.20);
m_streakText->draw();
}
// Is Starpower ready?
|