summaryrefslogtreecommitdiffstats
path: root/ksokoban/ImageData.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:31:10 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:31:10 -0600
commit0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (patch)
treecd20202507f54f61a4e58ae64fcd7cdb894abe19 /ksokoban/ImageData.cpp
parent84ace1135cac57993b72fee7105b92def1638d32 (diff)
downloadtdegames-0e2b76239f354a9eead0b4e37d86d390ec57ffa9.tar.gz
tdegames-0e2b76239f354a9eead0b4e37d86d390ec57ffa9.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'ksokoban/ImageData.cpp')
-rw-r--r--ksokoban/ImageData.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksokoban/ImageData.cpp b/ksokoban/ImageData.cpp
index 76fd0f2b..22190469 100644
--- a/ksokoban/ImageData.cpp
+++ b/ksokoban/ImageData.cpp
@@ -163,10 +163,10 @@ ImageData::brighten(TQImage& img) {
void
ImageData::wall(TQPainter &p, int x, int y, int index, bool left, bool right) {
- if (left) p.tqdrawPixmap(x, y, upperLarge(index-1), halfSize_);
+ if (left) p.drawPixmap(x, y, upperLarge(index-1), halfSize_);
else p.drawPixmap(x, y, leftSmall(index));
- if (right) p.tqdrawPixmap(x+halfSize_, y, upperLarge(index), 0, 0, halfSize_);
+ if (right) p.drawPixmap(x+halfSize_, y, upperLarge(index), 0, 0, halfSize_);
else p.drawPixmap(x+halfSize_, y, rightSmall(index));
p.drawPixmap(x, y+halfSize_, lowerLarge(index));