mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
change RenderString() default to UTF8
Origin commit data
------------------
Commit: 649d1b1f9d
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)
Origin message was:
------------------
- change RenderString() default to UTF8
This commit is contained in:
@@ -1232,7 +1232,7 @@ void CFileBrowser::paintItem(unsigned int pos)
|
||||
}
|
||||
frameBuffer->paintIcon(fileicon, x+5 , ypos + (fheight-16) / 2 );
|
||||
|
||||
fnt_item->RenderString(x + 35, ypos + fheight, colwidth1 - 10 , FILESYSTEM_ENCODING_TO_UTF8_STRING(actual_file->getFileName()), color, 0, true); // UTF-8
|
||||
fnt_item->RenderString(x + 35, ypos + fheight, colwidth1 - 10 , FILESYSTEM_ENCODING_TO_UTF8_STRING(actual_file->getFileName()), color);
|
||||
|
||||
if( S_ISREG(actual_file->Mode) )
|
||||
{
|
||||
@@ -1246,7 +1246,7 @@ void CFileBrowser::paintItem(unsigned int pos)
|
||||
}
|
||||
modestring[9] = 0;
|
||||
|
||||
fnt_item->RenderString(x + width - 25 - colwidth3 - colwidth2 , ypos+ fheight, colwidth2, modestring, color, 0, true); // UTF-8
|
||||
fnt_item->RenderString(x + width - 25 - colwidth3 - colwidth2 , ypos+ fheight, colwidth2, modestring, color);
|
||||
}
|
||||
|
||||
#define GIGABYTE 1073741824LL
|
||||
@@ -1439,7 +1439,7 @@ void CFileBrowser::paintSMSKey()
|
||||
char cKey[2]={m_SMSKeyInput.getOldKey(),0};
|
||||
cKey[0] = toupper(cKey[0]);
|
||||
int len = fnt_small->getRenderWidth(cKey);
|
||||
fnt_small->RenderString(x + width - skwidth, y + height - foheight + (skheight/2), len, cKey, COL_MENUHEAD_TEXT, 0, true);
|
||||
fnt_small->RenderString(x + width - skwidth, y + height - foheight + (skheight/2), len, cKey, COL_MENUHEAD_TEXT);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user