mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +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.
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