diff options
author | Yoann Lopes <yoann.lopes@nokia.com> | 2011-08-09 16:03:42 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-08-10 08:57:29 +0200 |
commit | 939f74ca4a5ff1df30c7fcd167fd6fb15945c6ab (patch) | |
tree | bc746915af5a57e986f5e0976a83ea34e0fa6752 /src/declarative/scenegraph/qsgadaptationlayer_p.h | |
parent | 2601011f1c0168f080c488be09c888042812f7cb (diff) |
QSGDistanceFieldGlyphCache code refactoring.
The distance field glyph caches are now contained in the QSGContext.
Change-Id: Ifc5d155917314b1cc5905ef86fdad0bbc5635c7d
Reviewed-on: http://codereview.qt.nokia.com/2787
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/declarative/scenegraph/qsgadaptationlayer_p.h')
-rw-r--r-- | src/declarative/scenegraph/qsgadaptationlayer_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/scenegraph/qsgadaptationlayer_p.h b/src/declarative/scenegraph/qsgadaptationlayer_p.h index 81b17a9000..369a4af86a 100644 --- a/src/declarative/scenegraph/qsgadaptationlayer_p.h +++ b/src/declarative/scenegraph/qsgadaptationlayer_p.h @@ -44,6 +44,7 @@ #include "qsgnode.h" #include "qsgtexture.h" +#include "qsgtext_p.h" #include <QtCore/qobject.h> #include <QtCore/qrect.h> @@ -105,6 +106,8 @@ public: virtual void setGlyphs(const QPointF &position, const QGlyphRun &glyphs) = 0; virtual void setColor(const QColor &color) = 0; + virtual void setStyle(QSGText::TextStyle style) = 0; + virtual void setStyleColor(const QColor &color) = 0; virtual QPointF baseLine() const = 0; virtual QRectF boundingRect() const { return m_bounding_rect; } |