Re: C++ PipeWindow bug revisited

New Message Reply Date view Thread view Subject view Author view

Jan Barglowski (jan++at++euryale.chinalake.navy.mil)
Tue, 11 Mar 1997 15:35:17 -0800 (PST)


Christopher R Volpe wrote:
>
> A few weeks ago I sent a message regarding problems I was having with
> manipulating a pfPipeWindow from the C++ interface. Specifically, I want
> a borderless fullscreen window. I got a couple of replies pointing me to
> the PFWIN_NOBORDER mode, but so far nothing has worked. Here is a code
> snippet:
>
> // Initialize a full screen window
> pwin = new pfPipeWindow(pipe);
> pwin->setMode(PFWIN_NOBORDER, PF_ON);
> pwin->setFullScreen();
> pwin->setSize(1280,1024); // remove this, and I get minimal window
> pwin->setOrigin(0,0);
> pwin->open();

Chris:

Here's my code, which opens a full-screen borderless all the time:

//////////////////////////////////////////////////////////////////////
// Get the pipe up and running.
pipe = pfGetPipe(0);
pw = new pfPipeWindow(pipe);
pw->setWinType(PFPWIN_TYPE_X);
pw->setName("OTW C++ Base");
pw->setOriginSize(1280,0,1280,1024); // 2nd monitor.
pw->open();

This only major difference I see is that I explicitly setWinType()

> I'm using Performer 2.1 on an R10000 Onyx iR.

Me too.

jan

-- 
Jan Anthony Barglowski	              jan++at++chinalake.navy.mil
Real-time Computer Graphics           http://www1.ridgecrest.ca.us/~jan
Naval Air Warfare Center, China Lake  (619) 927-1057
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:52 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.