hintboxext: center vertically on screen

the previous algorithm was 'slightly above center', but now
it is too high on the screen -> simply center it
This commit is contained in:
Stefan Seyfried
2012-07-30 19:25:14 +02:00
parent afef14377a
commit 3c70411d5a

View File

@@ -219,7 +219,7 @@ void CHintBoxExt::paint(bool toround)
}
m_window = new CFBWindow(getScreenStartX(m_width + SHADOW_OFFSET),
getScreenStartY(m_height + SHADOW_OFFSET) / 2,
getScreenStartY(m_height + SHADOW_OFFSET),
m_width + SHADOW_OFFSET,
m_height + SHADOW_OFFSET);