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

This commit is contained in:
M. Liebmann
2017-02-13 12:49:30 +01:00
parent 33125aed06
commit 88c834221b
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;
}