I am trying to port working Q4.25/photon 1.14 functions to Qnx6/Photon.
The use of the PtRaw widgets seem to have a different behavior under
6.3. All the draws to the PtRaw widget are done twice, sometimes more,
for what should be a single draw.
Is this a known problem?? The rest of the gui code works pretty well
with just resizing of fonts etc.
Thanks,
A.
aweick wrote:
I am trying to port working Q4.25/photon 1.14 functions to Qnx6/Photon.
The use of the PtRaw widgets seem to have a different behavior under
6.3. All the draws to the PtRaw widget are done twice, sometimes more,
for what should be a single draw.
Is this a known problem?? The rest of the gui code works pretty well
with just resizing of fonts etc.
Thanks,
A.
Ann,
I may have a solution writing to shared memory
instead of PtRaw direct. I will try it and get back to you.
Ron Richter
aweick wrote:
6.3. All the draws to the PtRaw widget are done twice, sometimes more,
for what should be a single draw.
Somewhere in the docs it talks about the first rect in the damage list will always cover the entire widget followed there after by the actual damages. I remember using an example that tested for a second entry in the list before skipping the first one.
Evan
Evan Hillas wrote:
aweick wrote:
6.3. All the draws to the PtRaw widget are done twice, sometimes
more, for what should be a single draw.
Somewhere in the docs it talks about the first rect in the damage list
will always cover the entire widget followed there after by the actual
damages. I remember using an example that tested for a second entry in
the list before skipping the first one.
Found it in: Photon microGUI for QNX Neutrino → Programmer’s Guide → Raw Drawing and Animation → PtRaw widget → Using damage tiles
Evan
Thanks Evan, I’ll check it out.
Evan Hillas wrote:
Evan Hillas wrote:
aweick wrote:
6.3. All the draws to the PtRaw widget are done twice, sometimes
more, for what should be a single draw.
Somewhere in the docs it talks about the first rect in the damage list
will always cover the entire widget followed there after by the actual
damages. I remember using an example that tested for a second entry
in the list before skipping the first one.
Found it in: Photon microGUI for QNX Neutrino → Programmer’s Guide -
Raw Drawing and Animation → PtRaw widget → Using damage tiles
Evan