mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user