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