|
Andy Rhind
|
PtOsContainer moving image
|
|
Andy Rhind
01/20/2011 7:28 PM
post82520
|
PtOsContainer moving image
Hi:
I'm writing a demo for a potential customer, I need to be able to have a flicker free indicator move across a graphic
background. This indicator is has been read in using PxLoadImage and has transparent areas.
Ive tried using the PtOsContainer. Its smooth and flicker free - however it has a coloured background and I am unable to
make it 1) transparent or 2) make its 'fill' the same as the real background.
Q: is there something that I am missing with PtOSContainer?
I am also looking into Video memory offscreen. This has potential. However it draws over the background and I get old
draws still visible as the indicator moves.
Q: Do I need to 'mask' out the previous indicator before blitting the updated one? If so how? Can you point me to sample
code where the blitted image is moving?
Thanks,
Andy
|
|
|
|
|