sptk2 logo
SPTK Home Page

sptk::CThemeImageCollection Class Reference
[GUI Classes]

A collection of theme images. More...

#include <CThemeImageCollection.h>

List of all members.

Public Member Functions

 CThemeImageCollection ()
 Default constructor.
 ~CThemeImageCollection ()
 Destructor.
void clear ()
 Clears the collection.
void loadFromSptkTheme (const CStrings &objectNames)
 Loads the collection from SPTK theme.
void loadFromGtkTheme (CXmlDoc &gtkTheme, std::string imagesXPath, std::string attribute="", std::string attributeValue="")
 Loads the collection from GTK theme.
int border (int ndx) const
 Returns border for a paticular index (0..3).
int * border ()
bool stretch () const
 Returns draw stretch flag.
CPngImageimage (CThemeImageState state) const
 Returns an image for a particular state.
CPngImageoverlayImage (CThemeImageState state) const
 Returns an overlay image for a particular state.

Static Public Member Functions

static std::string gtkFullFileName (std::string fileName)


Detailed Description

A collection of theme images.

The images are stored for the different states of the object


The documentation for this class was generated from the following file:

Mon Mar 5 11:56:19 2012: SPTK 3.5.7