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;
|
|
|
|
}
|
|
|
|
|
|
|
|
const QPixmap & hires() const
|
|
|
|
{
|
|
|
|
return myHiResMono;
|
|
|
|
}
|
|
|
|
|
2017-07-09 21:21:48 +01:00
|
|
|
const QPixmap & lores() const
|
|
|
|
{
|
|
|
|
return myLoResColor;
|
|
|
|
}
|
|
|
|
|
2017-07-09 20:49:26 +01:00
|
|
|
private:
|
|
|
|
QPixmap myCharset40;
|
|
|
|
QPixmap myCharset80;
|
|
|
|
|
|
|
|
QPixmap myHiResMono;
|
2017-07-09 21:21:48 +01:00
|
|
|
QPixmap myLoResColor;
|
2017-07-09 20:49:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // GRAPHICSCACHE_H
|