#include <gui.h>
Public Member Functions | |
| GuiImageData (const u8 *i) | |
| ~GuiImageData () | |
| Destructor. | |
| u8 * | GetImage () |
| int | GetWidth () |
| int | GetHeight () |
Protected Attributes | |
| u8 * | data |
| Image data. | |
| int | height |
| Height of image. | |
| int | width |
| Width of image. | |
| GuiImageData::GuiImageData | ( | const u8 * | i | ) |
Constructor Converts the image data to RGBA8 - expects PNG format
| i | Image data |
| GuiImageData::~GuiImageData | ( | ) |
Destructor.
Destructor for the GuiImageData class.
| int GuiImageData::GetHeight | ( | ) |
Gets the image height
| u8 * GuiImageData::GetImage | ( | ) |
Gets a pointer to the image data
| int GuiImageData::GetWidth | ( | ) |
Gets the image width
1.5.8