Angus Dorbie (dorbie++at++multipass)
Mon, 8 Dec 1997 11:38:09 -0800
You need to select a visual with the attributes you need,
Use either of the following:
void pfPipeWindow::setFBConfig(XVisualInfo* vi);
void pfPipeWindow::setFBConfigAttrs(int *attr);
Cheers,Angus.
On Nov 27, 2:46pm, Thomas Ludwig wrote:
> Subject: False Drawings
> Hi performer's,
> I wrote a little Motif-program using RapidApp with an GL-DrawingArea and
> various buttons. Now I use this DrawingArea-widget for my
> Performer-program. I use the following commands:
>
> Window xwin = XtWindow( w);
> pw -> setWinType(PFWIN_TYPE_X);
> pw -> setWSWindow( NULL, xwin);
> pw -> set WSDrawable( NULL, xwin);
>
> On the end of my program I took the demo-program "simple.C" and now I
> can draw a aircraft (pitts.dwb) which is in rotation. However, contrary
> to the program "simple.C" my aircraft is transparent and the body is
> always drawing over the wings.
> I could not find any differences between both (I use the same commands
> like in "simple.C"). I think the problem could be the window-type? Could
> anyone tell me, where the differences are and how I could change my
> drawings to the right?
>
> Whith best regards
> Thomas Ludwig.
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Thomas Ludwig
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:21 PDT