mirror of
https://github.com/martravi/wiiqt6.git
synced 2024-12-27 13:21:49 +01:00
134bb8f277
* adding in ASH0, LZ77 and ( messy ) U8 classes git-svn-id: http://wiiqt.googlecode.com/svn/trunk@12 389f4c8b-5dfe-645f-db0e-df882bc27289
30 lines
649 B
C++
30 lines
649 B
C++
#ifndef SAVEBANNER_H
|
|
#define SAVEBANNER_H
|
|
|
|
#include "includes.h"
|
|
|
|
class SaveBanner
|
|
{
|
|
public:
|
|
SaveBanner();
|
|
SaveBanner( const QString &bannerpath );
|
|
SaveBanner( QByteArray stuff );
|
|
|
|
QImage BannerImg(){ return bannerImg; }
|
|
QList< QImage > IconImgs() { return iconImgs; }
|
|
|
|
QString Title(){ return saveTitle; }
|
|
QString SubTitle(){ return saveTitle2; }
|
|
|
|
private:
|
|
bool ok;
|
|
QImage bannerImg;
|
|
QList< QImage > iconImgs;
|
|
QString saveTitle;
|
|
QString saveTitle2;
|
|
|
|
QImage ConvertTextureToImage( const QByteArray &ba, quint32 w, quint32 h );//expects tpl texture data in rgb5a3 format
|
|
};
|
|
|
|
#endif // SAVEBANNER_H
|