Display error EPG (Buttons are partially drawn out of the EPG screen)

- Use ::paintButtons (buttons.cpp) calculating to the height FunctionBar.


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1810 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: b9ac051420
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2011-11-03 (Thu, 03 Nov 2011)
This commit is contained in:
Michael Liebmann
2011-11-03 02:32:56 +00:00
parent 1cb754f8d0
commit 699079252f
3 changed files with 13 additions and 12 deletions

View File

@@ -68,7 +68,8 @@ int paintButtons( const int &x,
bool vertical_paint,
const unsigned char fcolor,
const char * alt_buttontext,
const uint &buttontext_id)
const uint &buttontext_id,
bool show)
{
CFrameBuffer *frameBuffer = CFrameBuffer::getInstance();
Font * font = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL];
@@ -122,6 +123,9 @@ int paintButtons( const int &x,
//calculate footer heigth
h_footer = footerheight == 0 ? (h_button + 2*h_space) : footerheight;
if (!show)
return h_footer;
//paint footer
if (w_footer > 0)
frameBuffer->paintBoxRel(x_footer, y_footer, w_footer, h_footer, COL_INFOBAR_SHADOW_PLUS_1, RADIUS_LARGE, CORNER_BOTTOM); //round