#include <image.h>
ctor
- Parameters
-
img | image for list entry |
imgPath | [optional, defaults to ""] optional path to image file associated with image |
imgLoadOptions | [optional] optional load options associated with image |
dtor – NOTE: image associated with entry is not destroyed
void AssociateFileWithImage |
( |
const FileID & |
fileID | ) |
|
associate the given fileID with the image in this entry
- Parameters
-
fileID | file ID in question |
void DisassociateFileWithImage |
( |
const FileID & |
fileID | ) |
|
disassociate the given fileID with the image in this entry
- Parameters
-
fileID | file ID in question |
bool FileIsAssociatedWithImage |
( |
const FileID & |
fileID, |
|
|
FileID & |
foundFileID |
|
) |
| |
determine if the given fileID is associated with this entry
- Parameters
-
fileID | file ID in question |
foundFileID | [out] receives associated file ID if the given fileID is associated with this entry |
- Returns
- true if the given fileID is associated with this entry else false
get the image files associated with the entry
- Returns
- the image files associated with the entry
get the image associated with the entry
- Returns
- the image associated with the entry
bool ReloadImageFromFile |
( |
void |
| ) |
|
Attempt to reload the associated image from an associated image file. Associated image will be marked as no longer being a candidate for unloading. NOTE: Image::InstanceListMutex() cannot be locked when calling this method
- Returns
- true if reload succeeded else false
- Precondition
- Image::InstanceListMutex() is not locked
files associated with image else empty array
image associated with entry
The documentation for this class was generated from the following file: