mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CInfoViewer: remove shadow offset from init,
items works with its own values
This commit is contained in:
@@ -429,7 +429,7 @@ void CInfoViewer::paintHead()
|
|||||||
|
|
||||||
void CInfoViewer::paintBody()
|
void CInfoViewer::paintBody()
|
||||||
{
|
{
|
||||||
int h_body = InfoHeightY - header_height + (g_settings.infobar_casystem_display < 2 ? infoViewerBB->bottom_bar_offset : 0);
|
int h_body = InfoHeightY - header_height - SHADOW_OFFSET + (g_settings.infobar_casystem_display < 2 ? infoViewerBB->bottom_bar_offset : 0);
|
||||||
|
|
||||||
if(zap_mode)
|
if(zap_mode)
|
||||||
h_body -= (g_settings.infobar_casystem_display < 2 ? infoViewerBB->bottom_bar_offset : 0);
|
h_body -= (g_settings.infobar_casystem_display < 2 ? infoViewerBB->bottom_bar_offset : 0);
|
||||||
@@ -1984,9 +1984,11 @@ void CInfoViewer::killTitle()
|
|||||||
{
|
{
|
||||||
is_visible = false;
|
is_visible = false;
|
||||||
infoViewerBB->is_visible = false;
|
infoViewerBB->is_visible = false;
|
||||||
|
#if 0 //unused
|
||||||
int bottom = BoxEndY + SHADOW_OFFSET + infoViewerBB->bottom_bar_offset;
|
int bottom = BoxEndY + SHADOW_OFFSET + infoViewerBB->bottom_bar_offset;
|
||||||
if (showButtonBar)
|
if (showButtonBar)
|
||||||
bottom += infoViewerBB->InfoHeightY_Info;
|
bottom += infoViewerBB->InfoHeightY_Info;
|
||||||
|
#endif
|
||||||
if (infoViewerBB->getFooter())
|
if (infoViewerBB->getFooter())
|
||||||
infoViewerBB->getFooter()->kill();
|
infoViewerBB->getFooter()->kill();
|
||||||
if (infoViewerBB->getCABar())
|
if (infoViewerBB->getCABar())
|
||||||
|
Reference in New Issue
Block a user