Hi,
If I create a child window, is it possible for the parent to draw over
the child region (that is to say using the GC of the parent) ?
Are X11 drawing functions able to draw over an openGL window ?
greeting,
craouette
Printable View
Hi,
If I create a child window, is it possible for the parent to draw over
the child region (that is to say using the GC of the parent) ?
Are X11 drawing functions able to draw over an openGL window ?
greeting,
craouette
"craouette" <pierre.saunier@ppmodeler.com> wrote in message
news:1168952503.710139.72040@m58g2000cwm.googlegroups.com...[color=blue]
> Hi,
>
> If I create a child window, is it possible for the parent to draw over
> the child region (that is to say using the GC of the parent) ?[/color]
Yes, if the gc->subindow_mode is set to IncludeInferiors instead of
ClipByChildren.
[color=blue]
> Are X11 drawing functions able to draw over an openGL window ?
>[/color]
Yes.
--
Fred L. Kleinschmidt
Boeing Associate Technical Fellow
Technical Architect, Software Reuse Project
already tried to call XSetSubwindowMode on the parent gc, but still,
my opengl window is in front, and the X drawing command does not seem
to affect the opengl subwindow...
any idea where I can find a sample code for this ?
Fred Kleinschmidt wrote:[color=blue]
> "craouette" <pierre.saunier@ppmodeler.com> wrote in message
> news:1168952503.710139.72040@m58g2000cwm.googlegroups.com...[color=green]
> > Hi,
> >
> > If I create a child window, is it possible for the parent to draw over
> > the child region (that is to say using the GC of the parent) ?[/color]
>
> Yes, if the gc->subindow_mode is set to IncludeInferiors instead of
> ClipByChildren.
>[color=green]
> > Are X11 drawing functions able to draw over an openGL window ?
> >[/color]
> Yes.
> --
> Fred L. Kleinschmidt
> Boeing Associate Technical Fellow
> Technical Architect, Software Reuse Project[/color]