[Freeciv-Dev] Re: Screenshots
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Thue writes:
> On Friday 06 July 2001 00:48, Jennifer Glover wrote:
> > Here are some screenshots. Does anyone have any ideas why all the
> > holes are appearing in the map?
> >
> > http://members.fortunecity.com/broadsword/Computer/FreeCiv/FreeCivScr
> >eenshots.html
> >
> > jenn
>
> Hmm, I have seen those holes before :).
Your mask bitmaps seem to be not 1 bit depth. AFAIK you have to use
CreateBitmap instead of CreateCompatibleBitmap for them (and set the
depth to 1 bit).
You can look at the implementation of DrawIcon (gdi32) in wine.
It handles a similar problem as the stuff in gui-win32/graphics.c
(drawing bitmaps with a "mask")
Greetings
Andreas Kemnade
|
|