diff options
Diffstat (limited to 'ktuberling/todraw.cpp')
-rw-r--r-- | ktuberling/todraw.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ktuberling/todraw.cpp b/ktuberling/todraw.cpp index 2523a203..cec7b014 100644 --- a/ktuberling/todraw.cpp +++ b/ktuberling/todraw.cpp @@ -49,11 +49,11 @@ void ToDraw::draw(TQPainter &artist, const TQRect &area, if (!position.intersects(area)) return; TQPixmap objectPixmap(objectsLayout[number].size()); - TQBitmap shapeBitmap(objectsLayout[number].size()); + TQBitmap tqshapeBitmap(objectsLayout[number].size()); bitBlt(&objectPixmap, TQPoint(0, 0), gameboard, objectsLayout[number], TQt::CopyROP); - bitBlt(&shapeBitmap, TQPoint(0, 0), masks, objectsLayout[number], TQt::CopyROP); - objectPixmap.setMask(shapeBitmap); + bitBlt(&tqshapeBitmap, TQPoint(0, 0), masks, objectsLayout[number], TQt::CopyROP); + objectPixmap.setMask(tqshapeBitmap); artist.drawPixmap(position.topLeft(), objectPixmap); } |