summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontengineglyphcache_p.h
diff options
context:
space:
mode:
authorJustin McPherson <justin.mcpherson@nokia.com>2009-12-14 22:59:42 (GMT)
committerJustin McPherson <justin.mcpherson@nokia.com>2009-12-14 22:59:42 (GMT)
commit33d6cfe679d4374af90598a6003ac5bca3c032ef (patch)
tree734c861a05d9e79bca54ecb8cb7a3c3cb209a576 /src/gui/text/qfontengineglyphcache_p.h
parentcce709287279a8dd5ac17ed4c9dd09ebb78c4f27 (diff)
parent463cd4f6563dc12d8b45bf2e293dc64d583e132c (diff)
downloadQt-33d6cfe679d4374af90598a6003ac5bca3c032ef.zip
Qt-33d6cfe679d4374af90598a6003ac5bca3c032ef.tar.gz
Qt-33d6cfe679d4374af90598a6003ac5bca3c032ef.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6
Diffstat (limited to 'src/gui/text/qfontengineglyphcache_p.h')
-rw-r--r--src/gui/text/qfontengineglyphcache_p.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/text/qfontengineglyphcache_p.h b/src/gui/text/qfontengineglyphcache_p.h
index e04f4ac..c6112ba 100644
--- a/src/gui/text/qfontengineglyphcache_p.h
+++ b/src/gui/text/qfontengineglyphcache_p.h
@@ -75,17 +75,20 @@ QT_BEGIN_NAMESPACE
class QFontEngineGlyphCache
{
public:
- QFontEngineGlyphCache(const QTransform &matrix) : m_transform(matrix) { }
-
enum Type {
Raster_RGBMask,
Raster_A8,
Raster_Mono
};
+ QFontEngineGlyphCache(const QTransform &matrix, Type type) : m_transform(matrix), m_type(type) { }
+
virtual ~QFontEngineGlyphCache() { }
+ Type cacheType() const { return m_type; }
+
QTransform m_transform;
+ QFontEngineGlyphCache::Type m_type;
};
typedef QHash<void *, QList<QFontEngineGlyphCache *> > GlyphPointerHash;
typedef QHash<int, QList<QFontEngineGlyphCache *> > GlyphIntHash;