ff7tk  1.0.0.16
Work with Final Fantasy 7 game data
Public Member Functions | Protected Attributes | List of all members
TextureFile Class Reference

#include <TextureFile.h>

Inheritance diagram for TextureFile:
Inheritance graph
[legend]

Public Member Functions

 TextureFile ()
 
 TextureFile (const QImage &image)
 
 TextureFile (const QImage &image, const QList< QList< QRgb > > &colorTables)
 
bool isValid () const
 
void clear ()
 
const QImage & image () const
 
QImage * imagePtr ()
 
bool isPaletted () const
 
const QList< QList< QRgb > > & colorTables () const
 
qsizetype currentColorTable () const
 
QList< QRgb > colorTable (qsizetype id) const
 
void setCurrentColorTable (qsizetype id)
 
void setColorTable (qsizetype id, const QList< QRgb > &colorTable)
 
qsizetype colorTableCount () const
 
void debug () const
 

Protected Attributes

QImage _image
 
QList< QList< QRgb > > _colorTables
 
qsizetype _currentColorTable
 

Constructor & Destructor Documentation

◆ TextureFile() [1/3]

TextureFile::TextureFile ( )

◆ TextureFile() [2/3]

TextureFile::TextureFile ( const QImage &  image)
explicit

◆ TextureFile() [3/3]

TextureFile::TextureFile ( const QImage &  image,
const QList< QList< QRgb > > &  colorTables 
)

Member Function Documentation

◆ clear()

void TextureFile::clear ( )

◆ colorTable()

QList< QRgb > TextureFile::colorTable ( qsizetype  id) const

◆ colorTableCount()

qsizetype TextureFile::colorTableCount ( ) const

◆ colorTables()

const QList< QList< QRgb > > & TextureFile::colorTables ( ) const

◆ currentColorTable()

qsizetype TextureFile::currentColorTable ( ) const

◆ debug()

void TextureFile::debug ( ) const

◆ image()

const QImage & TextureFile::image ( ) const

◆ imagePtr()

QImage * TextureFile::imagePtr ( )

◆ isPaletted()

bool TextureFile::isPaletted ( ) const

◆ isValid()

bool TextureFile::isValid ( ) const

◆ setColorTable()

void TextureFile::setColorTable ( qsizetype  id,
const QList< QRgb > &  colorTable 
)

◆ setCurrentColorTable()

void TextureFile::setCurrentColorTable ( qsizetype  id)

Member Data Documentation

◆ _colorTables

QList< QList<QRgb> > TextureFile::_colorTables
protected

◆ _currentColorTable

qsizetype TextureFile::_currentColorTable
protected

◆ _image

QImage TextureFile::_image
protected

The documentation for this class was generated from the following files: