drop obsolete code around FONT_TYPE_GAMELIST

these fonts are not needed since gamelist/scriptlist
 are painted with menu-widget


Origin commit data
------------------
Commit: da7f3b9cb1
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-05-02 (Fri, 02 May 2014)

Origin message was:
------------------
- drop obsolete code around FONT_TYPE_GAMELIST

 these fonts are not needed since gamelist/scriptlist
 are painted with menu-widget
This commit is contained in:
vanhofen
2014-05-02 22:28:36 +02:00
parent 5599608858
commit 4f57f066d9
11 changed files with 8 additions and 42 deletions

View File

@@ -62,7 +62,7 @@ CShellWindow::CShellWindow(const std::string &command, const int _mode, int *res
*res = -1;
return;
}
Font *font = g_Font[SNeutrinoSettings::FONT_TYPE_GAMELIST_ITEMSMALL];
Font *font = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_INFO];
frameBuffer = CFrameBuffer::getInstance();
unsigned int lines_max = frameBuffer->getScreenHeight() / font->getHeight();
list<std::string> lines;