PtOSContainer widget undocumented?

What does a PTOSContainer widget do? It exists in PhAB 2.0 but not in
the help files (at least I can’t find it).

Bruce Davis <bruce.r.davis@boeing.com> wrote:
: What does a PTOSContainer widget do? It exists in PhAB 2.0 but not in
: the help files (at least I can’t find it).

It’s in the docs now, but there isn’t much to it:

PtOSContainer creates an offscreen context and forces all its
children’s draws to be directed to that context. The draw stream is
rendered into offscreen video memory, taking advantage of any
hardware-acceleration features supported by the graphics driver. The
graphics hardware can then blit the image directly onto the screen,
resulting in flicker-free widgets and/or animation.

It doesn’t define any new resources. As for the inherited resources, the
only thing to note is that (as for PtDBContainer) you can’t set
Pt_ARG_FILL_COLOR to Pg_TRANSPARENT.

\

Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems

Steve Reid <stever@qnx.com> wrote:
: Bruce Davis <bruce.r.davis@boeing.com> wrote:
: : What does a PTOSContainer widget do? It exists in PhAB 2.0 but not in
: : the help files (at least I can’t find it).

: It’s in the docs now, but there isn’t much to it:

I’m told that PtOSContainer in the original RTP release doesn’t work.
Perhaps one of the Photon developers can give more details.


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems