|
From: Tapio V. <aa...@us...> - 2009-11-11 15:21:01
|
Module: performous
Branch: master
Commit: 537eba3875c25ebc284b2cf66e8e2f0ea195db09
Author: Tapio Vierros <tap...@gm...>
Date: Wed Nov 11 17:18:39 2009 +0200
Modified instrument's track/difficulty selection layout a bit, so that the texts are visible with three instruments on screen.
---
game/guitargraph.cc | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/game/guitargraph.cc b/game/guitargraph.cc
index 9d6c996..ea708b7 100644
--- a/game/guitargraph.cc
+++ b/game/guitargraph.cc
@@ -367,10 +367,10 @@ void GuitarGraph::draw(double time) {
double frac = 0.75; // Adjustable: 1.0 means fully separated, 0.0 means fully attached
// Draw scores
if (time < -0.5) {
- std::string txt;
- txt += m_track_index->first + "\n" + diffv[m_level].name;
- m_text.dimensions.screenBottom(-0.05).middle(-0.1 + offsetX);
- m_text.draw(txt);
+ m_text.dimensions.screenBottom(-0.041).middle(-0.09 + offsetX);
+ m_text.draw(diffv[m_level].name);
+ m_text.dimensions.screenBottom(-0.015).middle(-0.09 + offsetX);
+ m_text.draw(m_track_index->first);
} else {
m_text.dimensions.screenBottom(-0.30).middle(0.32 * dimensions.w() + offsetX);
m_text.draw(boost::lexical_cast<std::string>(unsigned(getScore())));
|