Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - PtOsContainer moving image: Page 1 of 7 (7 Items)
   
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