Converts image data into GX-useable RGBA8. Currently designed for use only with PNG files. More...
#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. |
Converts image data into GX-useable RGBA8. Currently designed for use only with PNG files.
Definition at line 498 of file gui.h.
GuiImageData::GuiImageData | ( | const u8 * | img | ) |
Constructor Converts the image data to RGBA8 - expects PNG format
i | Image data |
Constructor for the GuiImageData class.
Definition at line 16 of file gui_imagedata.cpp.
GuiImageData::~GuiImageData | ( | ) |
int GuiImageData::GetHeight | ( | ) |
u8 * GuiImageData::GetImage | ( | ) |
Gets a pointer to the image data
Definition at line 71 of file gui_imagedata.cpp.
int GuiImageData::GetWidth | ( | ) |