Karen Harper (kharper++at++cra.com)
Wed, 19 Nov 1997 10:21:06 -0500
I suffered through this learning process a while ago and managed to come
out of it with a Performer application running in a glwDrawingArea
widget.
The general steps are as follows.
Set up your rapidapp interface with a glwDrawingArea.
In the init function for your drawing area, make your Performer
intiialization calls, i.e.
pfInit, pfConfig, etc.
Set up a pipe using pfGetPipe and a pfPipewindow.
pipe = pfGetPipe(0);
pw = new pfPipeWindow(pipe);
You can then specify the glDrawingArea as the Performer drawing window
by
grabbing the window associated with the widget:
Window xwin = XtWindow( w);
pw -> setWinType(PFWIN_TYPE_X);
pw -> setWSWindow( NULL, xwin);
pw -> set WSDrawable( NULL, xwin);
Then just carry on with your Performer application.
Hope that helps,
Karen
-------------------------------------------------------
Karen A. Harper e-mail: kharper++at++cra.com
Research Engineer http://www.cra.com
Charles River Analytics http://www.opensesame.com
-------------------------------------------------------
=======================================================================
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:13 PDT