diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 00:48:17 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 23:32:33 +0900 |
commit | 2d872f6fb68350f9ee5b0b5c86ab3240b0d09aae (patch) | |
tree | 4b6680c122d01a94bbd0b50c449b282a8d73fa8a /ksame | |
parent | 6022ab632c2ecf160a9f6f1fbb532506aeca3633 (diff) | |
download | tdegames-2d872f6fb68350f9ee5b0b5c86ab3240b0d09aae.tar.gz tdegames-2d872f6fb68350f9ee5b0b5c86ab3240b0d09aae.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksame')
-rw-r--r-- | ksame/StoneWidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ksame/StoneWidget.cpp b/ksame/StoneWidget.cpp index c4fbb987..5097ac78 100644 --- a/ksame/StoneWidget.cpp +++ b/ksame/StoneWidget.cpp @@ -72,8 +72,8 @@ StoneWidget::StoneWidget( TQWidget *parent, int x, int y ) for (int s = 0; s < maxslices; s++) { map[c][s].stone.resize(stone_width, stone_height); assert(!map[c][s].stone.isNull()); - bitBlt(TQT_TQPAINTDEVICE(&map[c][s].stone), 0, 0, - TQT_TQPAINTDEVICE(&stonemap), stone_width * s, + bitBlt(&map[c][s].stone, 0, 0, + &stonemap, stone_width * s, c*stone_height, stone_width,stone_height,CopyROP,false); TQImage im = map[c][s].stone.convertToImage(); @@ -276,8 +276,8 @@ StoneWidget::paintEvent( TQPaintEvent *e ) { if (stone->color) { int tslice = stone->marked?slice:0; - bitBlt(TQT_TQPAINTDEVICE(this),cx,cy, - TQT_TQPAINTDEVICE(&map[stone->color-1][tslice].stone), + bitBlt(this,cx,cy, + &map[stone->color-1][tslice].stone, 0, 0, stone_width,stone_height,CopyROP,FALSE); |