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