30#include <sptk5/gui/CPngImage.h>
31#include <sptk5/xdoc/Node.h>
73 int m_rightFrameWidth;
83 int m_bottomFrameHeight;
112 void draw(
int x,
int y,
int w,
int h);
127 :
protected std::map<String, CTabImage*>
PNG image that is initialized from the memory buffer.
Definition: CPngImage.h:53
CPatternDrawMode
The way how the resized parts of image are drawn.
Definition: CPngImage.h:105
An image representing one of three required images for theme tabs.
Definition: CTabImage.h:54
~CTabImage()
Destructor.
Definition: CTabImage.h:101
CTabImage(const sptk::Tar &tar, const xdoc::SNode &tabImageNode)
Constructor.
void draw(int x, int y, int w, int h)
Custom draw method.
String name() const
Tab name.
Definition: CTabImage.h:117
Definition: CTabImage.h:128
~CTabImages()
Destructor.
Definition: CTabImage.h:147
CTabImages()
Constructor.
Definition: CTabImage.h:133
CTabImage * tabImage(const char *imageName)
Returns tab image for the name, or NULL if not found.
void clear()
Removes all the tab images from the vector.
void load(const sptk::Tar &tar, const xdoc::SNode &tabImagesNode)
Loads tab images from tar archive using XML node as an index.
CTabImageIndex
Typee of the tab image.
Definition: CTabImage.h:44