背景和头像缺失
This commit is contained in:
@@ -15,14 +15,14 @@ namespace utility
|
||||
#define a_u8c(str) utility::a_u8(str).c_str()
|
||||
|
||||
int utf8_len(std::string utf8);
|
||||
//gbk转utf8
|
||||
//gbk转utf8
|
||||
std::string a_u8(std::string gbk);
|
||||
//utf8转gbk
|
||||
//utf8转gbk
|
||||
std::string u8_a(std::string utf8);
|
||||
|
||||
//gbk转为UTF16
|
||||
//gbk转为UTF16
|
||||
std::string a2l(const char *inbuf);
|
||||
//utf16转为UTF8
|
||||
//utf16转为UTF8
|
||||
std::string l2u(const char *inbuf);
|
||||
|
||||
void mlog(const char * format, ...);
|
||||
@@ -205,12 +205,12 @@ namespace utility
|
||||
return result;
|
||||
}
|
||||
|
||||
//超出宽度用星号代替(参数:昵称,字体文件,字体大小,超出宽度)
|
||||
//超长字符名号处理(参数:昵称、字体文件、字体大小、最大宽度)
|
||||
std::string getShortName(const std::string& strName, const std::string& strFont, float fFontSize, float fOverWidth);
|
||||
|
||||
std::string getShortName(const std::string& strName, int nFontNum);
|
||||
|
||||
// 积分转字符串;
|
||||
// 分数转字符串
|
||||
std::string ScoreToString(SCORE lScore);
|
||||
|
||||
std::string GetUserLevel(SCORE lGrade);
|
||||
|
||||
Reference in New Issue
Block a user