mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CScanTs::paintLine: fix size calculation for font box
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6897cdbd18
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2018-02-04 (Sun, 04 Feb 2018)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
vanhofen
parent
82446ebc91
commit
00989cfd53
@@ -531,7 +531,7 @@ void CScanTs::paintLine(int px, int py, int w, const char * const txt)
|
||||
{
|
||||
//printf("CScanTs::paintLine x %d y %d w %d width %d xpos2 %d: %s\n", px, py, w, width, xpos2, txt);
|
||||
frameBuffer->paintBoxRel(px, py, w, mheight, COL_MENUCONTENT_PLUS_0);
|
||||
g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->RenderString(px+2, py + mheight, w, txt, COL_MENUCONTENT_TEXT);
|
||||
g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->RenderString(px + 2, py + mheight, w - 2, txt, COL_MENUCONTENT_TEXT);
|
||||
}
|
||||
|
||||
void CScanTs::paint(bool fortest)
|
||||
|
Reference in New Issue
Block a user