Merge branch 'pu/fb-setmode' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox

Origin commit data
------------------
Commit: db9e856c38
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-19 (Sun, 19 Feb 2017)
This commit is contained in:
vanhofen
2017-02-19 23:22:48 +01:00
7 changed files with 24 additions and 19 deletions

View File

@@ -290,8 +290,13 @@ void CFbAccelCSHD2::setBlendLevel(int level)
usleep(20000);
}
int CFbAccelCSHD2::scaleFont(int size)
int CFbAccelCSHD2::scale2Res(int size)
{
/*
The historic resolution 1280x720 is default for some values/sizes.
So let's scale these values to other resolutions.
*/
if (screeninfo.xres == 1920)
size += size/2;