mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
bouqueteditor: use default font for CComponentsFooter
Origin commit data
------------------
Commit: 7fef066dfe
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-06-26 (Mon, 26 Jun 2017)
Origin message was:
------------------
- bouqueteditor: use default font for CComponentsFooter
This commit is contained in:
@@ -150,7 +150,7 @@ const struct button_label CBEBouquetWidgetButtons[6] =
|
|||||||
void CBEBouquetWidget::paintFoot()
|
void CBEBouquetWidget::paintFoot()
|
||||||
{
|
{
|
||||||
size_t numbuttons = sizeof(CBEBouquetWidgetButtons)/sizeof(CBEBouquetWidgetButtons[0]);
|
size_t numbuttons = sizeof(CBEBouquetWidgetButtons)/sizeof(CBEBouquetWidgetButtons[0]);
|
||||||
footer.paintButtons(x, y+height, width, ButtonHeight, numbuttons, CBEBouquetWidgetButtons, width/numbuttons-2*OFFSET_INNER_MID, 0, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_FOOT]);
|
footer.paintButtons(x, y+height, width, ButtonHeight, numbuttons, CBEBouquetWidgetButtons, width/numbuttons-2*OFFSET_INNER_MID);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CBEBouquetWidget::hide()
|
void CBEBouquetWidget::hide()
|
||||||
|
@@ -184,7 +184,7 @@ const struct button_label CBEChannelWidgetButtons[6] =
|
|||||||
void CBEChannelWidget::paintFoot()
|
void CBEChannelWidget::paintFoot()
|
||||||
{
|
{
|
||||||
size_t numbuttons = sizeof(CBEChannelWidgetButtons)/sizeof(CBEChannelWidgetButtons[0]);
|
size_t numbuttons = sizeof(CBEChannelWidgetButtons)/sizeof(CBEChannelWidgetButtons[0]);
|
||||||
footer.paintButtons(x, y + (height-footerHeight), width, footerHeight, numbuttons, CBEChannelWidgetButtons, width/numbuttons-2*OFFSET_INNER_MID, 0, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_FOOT]);
|
footer.paintButtons(x, y + (height-footerHeight), width, footerHeight, numbuttons, CBEChannelWidgetButtons, width/numbuttons-2*OFFSET_INNER_MID);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string CBEChannelWidget::getInfoText(int index)
|
std::string CBEChannelWidget::getInfoText(int index)
|
||||||
|
@@ -251,7 +251,7 @@ void CBEChannelSelectWidget::paintFoot()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer.paintButtons(x, y + (height-footerHeight), width, footerHeight, numbuttons, Button, width/numbuttons-20);
|
footer.paintButtons(x, y + (height-footerHeight), width, footerHeight, numbuttons, Button, width/numbuttons-2*OFFSET_INNER_MID);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string CBEChannelSelectWidget::getInfoText(int index)
|
std::string CBEChannelSelectWidget::getInfoText(int index)
|
||||||
|
Reference in New Issue
Block a user