mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
filebrowser: use FONT_TYPE_MENU_TITLE for header
CComponentsHeader doesn't support several fonts yet.
FONT_TYPE_MENU_TITLE is the used font.
so we have to use FONT_TYPE_MENU_TITLE here to get
the correct render-widths in paintHead() methode.
Origin commit data
------------------
Commit: 29b3d66f3d
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-05-28 (Tue, 28 May 2013)
Origin message was:
------------------
- filebrowser: use FONT_TYPE_MENU_TITLE for header
CComponentsHeader doesn't support several fonts yet.
FONT_TYPE_MENU_TITLE is the used font.
so we have to use FONT_TYPE_MENU_TITLE here to get
the correct render-widths in paintHead() methode.
This commit is contained in:
@@ -362,7 +362,14 @@ CFileBrowser::CFileBrowser(const char * const _base, const tFileBrowserMode mode
|
||||
void CFileBrowser::commonInit()
|
||||
{
|
||||
frameBuffer = CFrameBuffer::getInstance();
|
||||
fnt_title = g_Font[SNeutrinoSettings::FONT_TYPE_EVENTLIST_TITLE];
|
||||
// fnt_title = g_Font[SNeutrinoSettings::FONT_TYPE_EVENTLIST_TITLE];
|
||||
/*
|
||||
CComponentsHeader doesn't support several fonts yet.
|
||||
FONT_TYPE_MENU_TITLE is the used font.
|
||||
so we have to use FONT_TYPE_MENU_TITLE here to get
|
||||
the correct render-widths in paintHead() methode.
|
||||
*/
|
||||
fnt_title = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE];
|
||||
fnt_item = g_Font[SNeutrinoSettings::FONT_TYPE_FILEBROWSER_ITEM];
|
||||
fnt_small = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL];
|
||||
//shoutcast
|
||||
|
Reference in New Issue
Block a user