Currently the usage of ImageResources is very ad-hoc - there is a lot of custom caching and storing of name to toolkit object lookups, which is what the Pyface IImage, the Image trait and friends are supposed to handle. This should be cleaned up to:
remove duplicate caches
use IImage where possible so that users can use ArrayImage and PILImage
Currently the usage of
ImageResources
is very ad-hoc - there is a lot of custom caching and storing of name to toolkit object lookups, which is what the PyfaceIImage
, theImage
trait and friends are supposed to handle. This should be cleaned up to:IImage
where possible so that users can useArrayImage
andPILImage