背景和头像缺失

This commit is contained in:
2026-03-01 13:48:24 +08:00
parent 9ae4e8e614
commit eaaf7f8c9b
554 changed files with 1871 additions and 1718 deletions

View File

@@ -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);