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:
vanhofen
2017-02-19 23:22:12 +01:00
parent 07b0dd6c9b
commit 22c66526da
6 changed files with 14 additions and 9 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;