Class CIcon provides a storage of PNG image.
More...
#include <CIcon.h>
Class CIcon provides a storage of PNG image.
◆ image()
void sptk::CIcon::image |
( |
CPngImage * |
img, |
|
|
bool |
shared |
|
) |
| |
|
inline |
Sets the image pointer.
- Parameters
-
img | CPngImage*, an image pointer |
shared | bool, if false then memory should be maintained by the class |
References m_shared.
◆ load()
void sptk::CIcon::load |
( |
const Buffer & |
imageData | ) |
|
Loads a PNG image from buffer.
- Parameters
-
imageData | const CBuffer&, an image data to load PNG image from |
◆ m_shared
bool sptk::CIcon::m_shared |
The documentation for this class was generated from the following file: