aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qsgtext_p_p.h
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2011-06-27 17:05:54 +1000
committerYann Bodson <yann.bodson@nokia.com>2011-06-27 17:05:54 +1000
commitf02ce5b8e9f306d066b3a8edb240199444adaa43 (patch)
tree68650cc89c75c1a4306c3761feb1a659338847c8 /src/declarative/items/qsgtext_p_p.h
parent1268447d794449ee7996f6ab45ea9f25719be031 (diff)
Add TextLayout elementwip/textng
Diffstat (limited to 'src/declarative/items/qsgtext_p_p.h')
-rw-r--r--src/declarative/items/qsgtext_p_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/items/qsgtext_p_p.h b/src/declarative/items/qsgtext_p_p.h
index 6e98d30594..21b9d594af 100644
--- a/src/declarative/items/qsgtext_p_p.h
+++ b/src/declarative/items/qsgtext_p_p.h
@@ -65,6 +65,7 @@
QT_BEGIN_NAMESPACE
class QTextLayout;
+class QDeclarativeTextDocument;
class QSGTextDocumentWithImageResources;
class QSGPlainTexture;
@@ -137,6 +138,7 @@ public:
void drawTextLayout(QPainter *p, const QPointF &pos, bool drawStyle);
QTextLayout layout;
QThread *layoutThread;
+ QDeclarativeTextDocument *textLayout;
static QPixmap drawOutline(const QPixmap &source, const QPixmap &styleSource);
static QPixmap drawOutline(const QPixmap &source, const QPixmap &styleSource, int yOffset);