mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-23 18:31:56 +01:00
1cc7d3acd6
* Added initial (untested!) support for the zip file format, which is supported by the HBC * Began working on compressed wad files. Uncompressing fails for now, so uploading WAD files should be done with the previous version of Wiiload. * Fixed issue 902 (hence the large commit).
36 lines
823 B
C++
36 lines
823 B
C++
/****************************************************************************
|
|
* USB Loader GX Team
|
|
* gui_banner.h
|
|
*
|
|
* Shows TPL Banner images
|
|
***************************************************************************/
|
|
|
|
#ifndef _GUIBANNER_H_
|
|
#define _GUIBANNER_H_
|
|
|
|
#include "libwiigui/gui.h"
|
|
|
|
class GuiBanner : public GuiImage
|
|
{
|
|
public:
|
|
//!Constructor
|
|
//!\param tplfilepath Path of the tpl file
|
|
GuiBanner(const char *tplfilepath);
|
|
//!Constructor
|
|
//!\param mem Memory of the loaded tpl
|
|
//!\param len Filesize of the tpl
|
|
//!\param w Width of the tpl
|
|
//!\param h Height of the tpl
|
|
GuiBanner(void *mem, u32 len, int w, int h);
|
|
//!Destructor
|
|
~GuiBanner();
|
|
void Draw();
|
|
protected:
|
|
void * memory;
|
|
bool filecheck;
|
|
u32 tplfilesize;
|
|
GXTexObj texObj;
|
|
};
|
|
|
|
#endif /* _GUIBANNER_H_ */
|