mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user