diff options
author | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-03-01 13:18:05 (GMT) |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-03-01 13:18:05 (GMT) |
commit | cf7fe6c1c7bd1189d37b603b38a7fc7feb4b5f41 (patch) | |
tree | 6101957452eed181051efd507da928e2c4e4f65b | |
parent | 19095f432ef7ef424ea8dc89b19e43ed9f031b3e (diff) | |
download | Qt-cf7fe6c1c7bd1189d37b603b38a7fc7feb4b5f41.zip Qt-cf7fe6c1c7bd1189d37b603b38a7fc7feb4b5f41.tar.gz Qt-cf7fe6c1c7bd1189d37b603b38a7fc7feb4b5f41.tar.bz2 |
Compile after QStaticText introduction
-rw-r--r-- | src/gui/painting/qpaintengine_blitter.cpp | 12 | ||||
-rw-r--r-- | src/gui/painting/qpaintengine_blitter_p.h | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/gui/painting/qpaintengine_blitter.cpp b/src/gui/painting/qpaintengine_blitter.cpp index af76926..1032852 100644 --- a/src/gui/painting/qpaintengine_blitter.cpp +++ b/src/gui/painting/qpaintengine_blitter.cpp @@ -571,6 +571,18 @@ void QBlitterPaintEngine::drawTextItem(const QPointF &pos, const QTextItem &ti) d->pmData->markRasterOverlay(pos,ti); } +void QBlitterPaintEngine::drawStaticTextItem(QStaticTextItem *sti) +{ + Q_D(QBlitterPaintEngine); + d->lock(); + d->raster->drawStaticTextItem(sti); + +//#### d->pmData->markRasterOverlay(sti); + qWarning("not implemented: markRasterOverlay for QStaticTextItem"); + +} + + void QBlitterPaintEngine::drawEllipse(const QRectF &r) { Q_D(QBlitterPaintEngine); diff --git a/src/gui/painting/qpaintengine_blitter_p.h b/src/gui/painting/qpaintengine_blitter_p.h index ecc29ba..1a2ad9e 100644 --- a/src/gui/painting/qpaintengine_blitter_p.h +++ b/src/gui/painting/qpaintengine_blitter_p.h @@ -86,6 +86,7 @@ public: virtual void drawImage(const QRectF &r, const QImage &pm, const QRectF &sr, Qt::ImageConversionFlags flags); virtual void drawTextItem(const QPointF &pos, const QTextItem &ti); + virtual void drawStaticTextItem(QStaticTextItem *); virtual void drawEllipse(const QRectF &r); |