mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
- fonts: add and use own font for all footers
This commit is contained in:
@@ -68,7 +68,7 @@ void CComponentsFooter::initVarFooter( const int& x_pos, const int& y_pos, const
|
||||
width = w == 0 ? frameBuffer->getScreenWidth(true) : w;
|
||||
|
||||
//init footer height
|
||||
cch_font = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL];
|
||||
cch_font = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_FOOT];
|
||||
height = max(h, cch_font->getHeight());
|
||||
|
||||
shadow = shadow_mode;
|
||||
|
@@ -136,7 +136,7 @@ class CComponentsFooter : public CComponentsHeader
|
||||
const struct button_label * const content,
|
||||
const int& label_width = 0,
|
||||
const int& context_buttons = 0,
|
||||
Font* font = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL],
|
||||
Font* font = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_FOOT],
|
||||
bool do_save_bg = CC_SAVE_SCREEN_NO
|
||||
);
|
||||
|
||||
|
@@ -144,7 +144,7 @@ void CComponentsWindow::initVarWindow( const int& x_pos, const int& y_pos, const
|
||||
ccw_right_sidebar= NULL;
|
||||
ccw_body = NULL;
|
||||
ccw_footer = NULL;
|
||||
ccw_button_font = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL];
|
||||
ccw_button_font = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_FOOT];
|
||||
|
||||
ccw_buttons = 0; //no header buttons
|
||||
ccw_show_footer = true;
|
||||
|
Reference in New Issue
Block a user