|
#include <CIcon.h>
Public Member Functions | |
| CIconMap (bool shared=false) | |
| Default constructor. | |
| ~CIconMap () | |
| Destructor. | |
| void | clear () |
| Removes all the allocated images. | |
| void | insert (CIcon *icon) |
| Inserts a new icon into icon map. | |
| void | load (CTar &tar, CXmlNode *node) |
| Loads a collection of images using information from XML node. | |
| sptk::CIconMap::CIconMap | ( | bool | shared = false |
) | [inline] |
Default constructor.
| shared | bool, if true then memory, allocated for the icons, isn't managed |
| void sptk::CIconMap::insert | ( | CIcon * | icon | ) |
Inserts a new icon into icon map.
| icon | CIcon*, a pointer to an icon |
Loads a collection of images using information from XML node.
Any incorrect image information is ignored.
| tar | CTar&, the loaded tar archive where images are located | |
| node | CXmlNode*, an XML node describing the theme icon images |