2 #include "oxygine-include.h" 4 #include "math/Color.h" 14 void split(
const char* src,
char* destHead,
char* destTail);
19 void splitExt(
const char* src,
char* destHead,
char* destTail);
21 void normalize(
const char* src,
char* dest);
22 std::string normalize(
const std::string& pth);
25 std::string extractFileName(
const std::string& path);
31 std::string extractBaseFileName(
const std::string& filename);
34 std::string extractFileExt(
const std::string& filename);
37 std::string extractFolder(
const std::string& filename);
40 std::string lower(
const std::string& str);
42 std::wstring utf8tows(
const char* utf8str);
43 std::string ws2utf8(
const wchar_t* wstr);
46 const char* getNextCode(
int& code,
const char* utf8str);
49 Color hex2color(
const char* str);
50 std::string color2hex(
const Color&);
54 int strcmp_cns(
const char* nameA,
const char* nameB);
58 size_t safe_sprintf(
char (&str)[N] ,
const char* format, ...)
61 va_start(args, format);
62 #if defined(_MSC_VER) && !defined(__S3E__) 63 size_t r = vsnprintf_s(str, N, format, args);
65 size_t r = vsnprintf(str, N, format, args);
–oxgl-end–!
Definition: Actor.h:14