[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde
Subject:    Re: bizarre bug in kreversi?
From:       Peter Putzer <pputzer () edu ! uni-klu ! ac ! at>
Date:       1997-06-28 11:21:04
[Download RAW message or body]

Well thanks, but I solved the problem another way already:
someone suggested to load the chips.xpm into xv and save it -
and hey, it worked!

so kreversi should either include your patch, or the modified
pixmap (I checked the two versions of the xpm against each other,
the difference between them is that xv changed the colour notation
from 12 letters (12 bytes) per colour to 6 bytes per colour -
looks like this was the problem)

Peter

*who's now able to play reversi all day long*
;-)


At 09:50 28.06.1997 +0200, Stephan wrote:
>I had the same problem and I found a patch, that solved the junk. I've mailed
>mario about it, but it seems, he hadn't the time to release a new version.
>Here the patch to kreversi-0.2:
>
>--- kreversi-0.2/kreversi/board.cpp     Mon Jun 16 21:57:15 1997
>+++ kreversi-0.2.new/kreversi/board.cpp Tue Jun 17 10:47:04 1997
>@@ -517,7 +518,7 @@
>     // make new pixmap
>     chip[i] = new QPixmap;
>     chip[i]->resize(30, 30);
>-    
>+    chip[i]->fill(); 
>     // easy to understand, isn't it :-)
>     bitBlt(chip[i], 0, 0, allchips, (i % 5) * w + 10, (i / 5) * h + 10,
>
>I would suggest to apply this by hand.
>
>Greets, Stephan
>
>-- 
>Stephan Kulow (coolo@kde.org)
>Student of medical computer science 
>Medical University of Luebeck
>
>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic