Re: Mouse cursor

New Message Reply Date view Thread view Subject view Author view

Frank Dea (frank++at++narnia.aero.swri.edu)
Mon, 7 Jul 1997 17:39:11 -0500 (CDT)


> I need some help with the (trivial?) task to switch off the mouse cursor
> image (or simply blank it) from within the Performer program or just
> before the game is started on the shell level. It's a game that uses the
> left
>
> Any ideas are appreciated!
>
> Regards
> Andreas Schiffler
> ZKM Medienmuseum, Karlsruhe, Germany
> schiffler++at++zkm.de

Try
     pfuLoadPWinCursor(pw, PFU_CURSOR_OFF);

I call this from within my configuration function callback:

    _main_pipe_window->setConfigFunc(OnAirConfig);
    _main_pipe_window->config();

    ...

void OnAirConfig(pfPipeWindow *pw)
{
     
    pw->open();

    // turn off X cursor since it doesn't DR well - we will draw our own
    pfuLoadPWinCursor(pw, PFU_CURSOR_OFF);
     
     
} // End of OnAirConfig

Frank

--
William Frank Dea
     _________/|__________
    /--------/-/---------/
   /    /   / /   /     /          "If you want to get results ...
  /-   /---/-/---/    -/            try a prayer!"
 /    /   / /   /     /
/--------/-/---------/
    wdea++at++swri.edu

Research Engineer Southwest Research Institute (210) 522-6576

======================================================================= 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:55:35 PDT

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