29#include <sptk5/CaseInsensitiveCompare.h> 
   31#include <sptk5/gui/CPngImage.h> 
   32#include <sptk5/xdoc/Node.h> 
  152    : 
public std::map<String, CIcon*, CaseInsensitiveCompare>
 
A map of theme icon names to theme icons.
Definition: CIcon.h:153
 
CIconMap(bool shared=false)
Default constructor.
Definition: CIcon.h:161
 
void clear()
Removes all the allocated images.
 
void load(Tar &tar, const xdoc::SNode &node)
Loads a collection of images using information from XML node.
 
void insert(CIcon *icon)
Inserts a new icon into icon map.
 
~CIconMap()
Destructor.
Definition: CIcon.h:169
 
Class CIcon provides a storage of PNG image.
Definition: CIcon.h:72
 
String name() const
Returns an icon symbolic name.
Definition: CIcon.h:127
 
void image(CPngImage *img, bool shared)
Sets the image pointer.
Definition: CIcon.h:137
 
CIcon(const String &name="", CPngImage *image=0L, bool shared=true)
Constructor.
Definition: CIcon.h:92
 
bool m_shared
Definition: CIcon.h:87
 
~CIcon()
Destructor.
Definition: CIcon.h:102
 
CPngImage * image()
Returns an icon image.
Definition: CIcon.h:119
 
void load(const Buffer &imageData)
Loads a PNG image from buffer.
 
PNG image that is initialized from the memory buffer.
Definition: CPngImage.h:53
 
CIconSize
Icon size variations.
Definition: CIcon.h:45