class ImageResources : public RefCountedObject

Class for storing image resources.

Image resources are a map containing resource names and images (cee::Image).

Public Functions


Constructs an empty image resource object.

Image *imageResource(const Str &resourceName)

Returns the image belonging to the resource name resourceName.

Returns NULL if resource name was not found.

void addImageResource(const Str &resourceName, Image *image)

Adds an image resource given by name resourceName and image.

std::map<Str, const Image*> allImageResources() const

Returns a map with all the image resources stored in the object.