CFbAccelCSHD2: Add scaleFont()function for font upscaling when fullhd is aktiv

Origin commit data
------------------
Branch: ni/coolstream
Commit: 88c834221b
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-13 (Mon, 13 Feb 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2017-02-13 12:49:30 +01:00
parent d5d1fc0728
commit 9fe7ca7e26
3 changed files with 10 additions and 0 deletions

View File

@@ -264,3 +264,11 @@ void CFbAccelCSHD2::setBlendLevel(int level)
if (level == 100) // TODO: sucks.
usleep(20000);
}
int CFbAccelCSHD2::scaleFont(int size)
{
if (screeninfo.xres == 1920)
size += size/2;
return size;
}