Up until the latest version of the Palm OS Emulator, I've been able to generate
greyscale images on the fly by bit-twiddling in the data of an off-screen
window, then copying from that window to the screen.  We're now getting messages
from POSE (and in the 4.0 include files) that this unofficial technique will no
longer be supported on new OS versions.  

On the other hand, drawing a 120x120 image by doing WinSetForeColor(), then
WinDrawPixel(), for each and every of 14,400 pixels is _S_L_O_W_.

Is there some faster way I'm missing to dynamically create displayable images
that will be compatible with future OS versions?

If not, is there a less-likely-to-break-hack, perhaps twiddling inside a
previously stored Constructor-created (non-compressed) bitmap, then copying from
that to the screeen?

-Tom Warfel
  [EMAIL PROTECTED] / [EMAIL PROTECTED]

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to