#include <TextureDatabase.h>
|
static std::string | GetWrappedImageURL (const std::string &image, const std::string &type="", const std::string &options="") |
| retrieve a wrapped URL for a image file More...
|
|
static std::string | GetWrappedThumbURL (const std::string &image) |
|
static std::string | UnwrapImageURL (const std::string &image) |
| Unwrap an image://<url_encoded_path> style URL Such urls are used for art over the webserver or other users of the VFS. More...
|
|
◆ GetWrappedImageURL()
std::string CTextureUtils::GetWrappedImageURL |
( |
const std::string & |
image, |
|
|
const std::string & |
type = "" , |
|
|
const std::string & |
options = "" |
|
) |
| |
|
static |
retrieve a wrapped URL for a image file
- Parameters
-
image | name of the file |
type | signifies a special type of image (eg embedded video thumb, picture folder thumb) |
options | which options we need (eg size=thumb) |
- Returns
- full wrapped URL of the image file
◆ GetWrappedThumbURL()
std::string CTextureUtils::GetWrappedThumbURL |
( |
const std::string & |
image | ) |
|
|
static |
◆ UnwrapImageURL()
std::string CTextureUtils::UnwrapImageURL |
( |
const std::string & |
image | ) |
|
|
static |
Unwrap an image://<url_encoded_path> style URL Such urls are used for art over the webserver or other users of the VFS.
- Parameters
-
- Returns
- the unwrapped URL, or the original URL if unwrapping is inappropriate.
The documentation for this class was generated from the following files: