Example #1
0
std::string Misc::ResourceHelpers::correctBookartPath(const std::string &resPath)
{
    static const std::string dir = "bookart";
    std::string image = correctResourcePath(dir, resPath);

    return image;
}
Example #2
0
std::string Misc::ResourceHelpers::correctIconPath(const std::string &resPath)
{
    static const std::string dir = "icons";
    return correctResourcePath(dir, resPath);
}
Example #3
0
std::string Misc::ResourceHelpers::correctIconPath(const std::string &resPath, const VFS::Manager* vfs)
{
    static const std::string dir = "icons";
    return correctResourcePath(dir, resPath, vfs);
}