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