CBEChannelWidget/CBEBouquetWidget: use explicit footer font

Default button font type in footer is button text type and not footer font.
Faces of buttons are still disabled and not visible here,
therefore this should be ok at the moment.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 753cfda243
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-05 (Thu, 05 Jan 2017)



------------------
This commit was generated by Migit
This commit is contained in:
2017-01-05 10:31:51 +01:00
parent 0a460b0668
commit 883085e577
2 changed files with 2 additions and 2 deletions

View File

@@ -157,7 +157,7 @@ const struct button_label CBEBouquetWidgetButtons[6] =
void CBEBouquetWidget::paintFoot()
{
size_t numbuttons = sizeof(CBEBouquetWidgetButtons)/sizeof(CBEBouquetWidgetButtons[0]);
footer.paintButtons(x, y+height, width, ButtonHeight, numbuttons, CBEBouquetWidgetButtons, width/numbuttons-20);
footer.paintButtons(x, y+height, width, ButtonHeight, numbuttons, CBEBouquetWidgetButtons, width/numbuttons-2*OFFSET_INNER_MID, 0, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_FOOT]);
}
void CBEBouquetWidget::hide()

View File

@@ -194,7 +194,7 @@ const struct button_label CBEChannelWidgetButtons[6] =
void CBEChannelWidget::paintFoot()
{
size_t numbuttons = sizeof(CBEChannelWidgetButtons)/sizeof(CBEChannelWidgetButtons[0]);
footer.paintButtons(x, y + (height-footerHeight), width, footerHeight, numbuttons, CBEChannelWidgetButtons, width/numbuttons-20);
footer.paintButtons(x, y + (height-footerHeight), width, footerHeight, numbuttons, CBEChannelWidgetButtons, width/numbuttons-2*OFFSET_INNER_MID, 0, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_FOOT]);
}
std::string CBEChannelWidget::getInfoText(int index)