On Fri, May 30, 2003 at 09:45:58PM -0500, Chris Hawks wrote: > Last the bad news: > There is no way (pre Palm 3.5) to get the bitmap (for the image struct) > from the window I drew the table in. 3.5 and up it's simple. Make > a bitmap, wrap a window around it, unwrap the window and you have a bitmap > for fullscreen.c. (I can build a multi-image that way.) But, pre 3.5 there > is now way rhat I can see. I can't even cheat and grab the bitmapP pointer > from the window struct, 'cause it doesn't exist the the pre 3.5 window struct.
Icky. The only thing I can think of is to alter ImageTypeEnum to define a 'windowHandle-image'. In other words, create the window you want to draw into, but rather than converting it to a bmp, just keep the window handle handy and use that from within the image.c infrastructure. If you need a hand in implementing it, send me what you have so far and I'll try hacking in my idea.. assuming it's possible. The only bad thing about doing this method is that the more window handles you have around, the more they'll gobble dynamic heap memory. Fortunatly the max bitdepth you're working with is 4bpp so it won't quite fill up as quickly as if you had this problem on a 16bpp device. -- Adam McDaniel Array.org Calgary, AB, Canada _______________________________________________ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
