From: Tanner Lovelace (lovelace++at++cthulhu.engr.sgi.com)
Date: 08/02/2000 14:59:17
Ken Lindsay wrote:
>
> hi,
>
> the irisGL noborder doesn't work with OpenGL performer. How do I open up a
> non fullscreen window without a border?
>
> I'm using pfPipeWindow for my window
>
> thanks
>
> ken
Ken,
Since you're using a pfPipeWindow it's extremely easy. The following
code works for me. (Note that the line you really want is the one
with PFWIN_NOBORDER, but I've placed it in context so you can get a
better idea of how to use it.)
// Configure and open GL window
pfPipe *p = pfGetPipe(0);
pfPipeWindow *pw = new pfPipeWindow(p);
pw->setWinType(PFPWIN_TYPE_X);
pw->setName("IRIS Performer");
pw->setOriginSize(0, 1024, 1280, 480); /* Set preferred window size */
pw->setMode(PFWIN_NOBORDER, 1);
pw->open();
Tanner Lovelace
This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 14:59:32 PDT