Fix correct offsets for the textbar in the maindisplay.

This commit is contained in:
Tobias Rundstrom 2006-03-15 19:07:53 -04:00
parent bf50790f49
commit b575931c13
4 changed files with 3 additions and 10 deletions

View file

@ -40,12 +40,6 @@ TextScroller::TextScroller (QWidget *parent, uint w,
setMinimumSize(m_w + 2, m_h);
setMaximumSize(m_w + 2, m_h);
if (m_h > 10) {
m_y = 4;
} else {
m_y = 0;
}
m_timer = new QTimer (this);
connect (m_timer, SIGNAL (timeout()), this, SLOT (addOffset ()));
connect (xmmsh, SIGNAL (settingsSaved ()), this, SLOT (settingsSaved ()));
@ -149,7 +143,7 @@ TextScroller::drawBitmapFont (QString text)
p = skin->getLetter(' ');
}
paint.drawPixmap (QRect ((i * 6), m_y, 4, 6),
paint.drawPixmap (QRect ((i * 6), 0, 4, 6),
p, p.rect());
}