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 cec7b014..2523a203 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 tqshapeBitmap(objectsLayout[number].size()); + TQBitmap shapeBitmap(objectsLayout[number].size()); bitBlt(&objectPixmap, TQPoint(0, 0), gameboard, objectsLayout[number], TQt::CopyROP); - bitBlt(&tqshapeBitmap, TQPoint(0, 0), masks, objectsLayout[number], TQt::CopyROP); - objectPixmap.setMask(tqshapeBitmap); + bitBlt(&shapeBitmap, TQPoint(0, 0), masks, objectsLayout[number], TQt::CopyROP); + objectPixmap.setMask(shapeBitmap); artist.drawPixmap(position.topLeft(), objectPixmap); } |