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 - Widget flicks if not rectangular: Page 1 of 28 (28 Items)
   
Widget flicks if not rectangular  
Hi, i'm new to Photon developing and I have a problem with my app.

I'm using a PtRaw widget to display some graphic made with Photon functions such as PgDrawPolygon, etc. The raw widget 
is damaged (and therefore, redrawn) every 200ms with a timer_cb. The raw widget's width and height is the same as the 
app window.

On top of the raw widget there are some other widgets as labels that update their value every 200ms too.

The problem is that those labels that have rectangular borders are ok but those that have an image background 
(Pt_ARG_LABEL_IMAGE) or rounded borders (Pt_ARG_HIGHLIGHT_ROUNDNESS) flick when the raw widget beneath them damages.

I've tried to fix that by changing some flags but didn't get anywhere.

I'm trying to work it out using layers but I don't know if that's a possible solution. Is there any other way to avoid 
this? If it is, how can I know if my HW supports layers?

Thanks in advance.