mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-06 13:18:27 +02:00
framebuffer: rename scaleFont() to scale2Res()
Origin commit data
------------------
Branch: ni/coolstream
Commit: e631c3e3c0
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-19 (Sun, 19 Feb 2017)
Origin message was:
------------------
- framebuffer: rename scaleFont() to scale2Res()
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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