diff options
Diffstat (limited to 'ktuberling/todraw.cpp')
-rw-r--r-- | ktuberling/todraw.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ktuberling/todraw.cpp b/ktuberling/todraw.cpp index c148b3a0..cec7b014 100644 --- a/ktuberling/todraw.cpp +++ b/ktuberling/todraw.cpp @@ -44,7 +44,7 @@ ToDraw &ToDraw::operator=(const ToDraw &model) // Draw an object previously laid down on the game board void ToDraw::draw(TQPainter &artist, const TQRect &area, const TQRect *objectsLayout, - const TQPixmap *gameboard, const TQBitmap *tqmasks) const + const TQPixmap *gameboard, const TQBitmap *masks) const { if (!position.intersects(area)) return; @@ -52,7 +52,7 @@ void ToDraw::draw(TQPainter &artist, const TQRect &area, TQBitmap tqshapeBitmap(objectsLayout[number].size()); bitBlt(&objectPixmap, TQPoint(0, 0), gameboard, objectsLayout[number], TQt::CopyROP); - bitBlt(&tqshapeBitmap, TQPoint(0, 0), tqmasks, objectsLayout[number], TQt::CopyROP); + bitBlt(&tqshapeBitmap, TQPoint(0, 0), masks, objectsLayout[number], TQt::CopyROP); objectPixmap.setMask(tqshapeBitmap); artist.drawPixmap(position.topLeft(), objectPixmap); } |