C++ PipeWindow bug revisited

New Message Reply Date view Thread view Subject view Author view

Christopher R Volpe (volpe++at++ash.crd.ge.com)
Tue, 11 Mar 1997 13:15:20 -0500


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();

If I leave out this whole segment of code, Performer creates a full
screen window for me, but with a border. So, I make my own window and
open it. (This is occurring in the app process.) It appears that the
setMode and setFullScreen C++ methods have absolutely no effect
whatsoever. The setSize method works fine, though, but I don't want to
hardcode a specific size. If I remove the setSize call, I get a window
consisting entirely of window manager decorations.

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

Is this a bug in the C++ interface? Am I doing something wrong? Any help
would be appreciated.

-Chris

--

Chris Volpe Phone: (518) 387-7766 GE Corporate R&D Fax: (518) 387-6560 PO Box 8 Email: volpecr++at++crd.ge.com Schenectady, NY 12301 Web: http://www.crd.ge.com/~volpecr ======================================================================= 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.