2017-07-09 20:49:26 +01:00
|
|
|
#ifndef GRAPHICSCACHE_H
|
|
|
|
#define GRAPHICSCACHE_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <QPixmap>
|
|
|
|
|
|
|
|
class GraphicsCache
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
GraphicsCache();
|
|
|
|
|
|
|
|
const QPixmap & text40Col() const
|
|
|
|
{
|
|
|
|
return myCharset40;
|
|
|
|
}
|
|
|
|
|
|
|
|
const QPixmap & text80Col() const
|
|
|
|
{
|
|
|
|
return myCharset80;
|
|
|
|
}
|
|
|
|
|
2017-10-10 18:28:20 +01:00
|
|
|
const QPixmap & hires40() const
|
2017-07-09 20:49:26 +01:00
|
|
|
{
|
2017-10-10 18:28:20 +01:00
|
|
|
return myHiResMono40;
|
2017-07-09 20:49:26 +01:00
|
|
|
}
|
|
|
|
|
2017-10-10 18:28:20 +01:00
|
|
|
const QPixmap & hires80() const
|
2017-07-09 21:21:48 +01:00
|
|
|
{
|
2017-10-10 18:28:20 +01:00
|
|
|
return myHiResMono80;
|
|
|
|
}
|
|
|
|
|
|
|
|
const QPixmap & lores40() const
|
|
|
|
{
|
|
|
|
return myLoResColor40;
|
|
|
|
}
|
|
|
|
|
|
|
|
const QPixmap & lores80() const
|
|
|
|
{
|
|
|
|
return myLoResColor80;
|
2017-07-09 21:21:48 +01:00
|
|
|
}
|
|
|
|
|
2017-07-09 20:49:26 +01:00
|
|
|
private:
|
|
|
|
QPixmap myCharset40;
|
|
|
|
QPixmap myCharset80;
|
|
|
|
|
2017-10-10 18:28:20 +01:00
|
|
|
QPixmap myHiResMono40;
|
|
|
|
QPixmap myHiResMono80;
|
|
|
|
|
|
|
|
QPixmap myLoResColor40;
|
|
|
|
QPixmap myLoResColor80;
|
2017-07-09 20:49:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // GRAPHICSCACHE_H
|