hintboxext: center vertically on screen

the previous algorithm was 'slightly above center', but now
it is too high on the screen -> simply center it


Origin commit data
------------------
Branch: ni/coolstream
Commit: 3c70411d5a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-07-30 (Mon, 30 Jul 2012)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2012-07-30 19:25:14 +02:00
parent ba93d76483
commit 5b5c4603e0

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);