Mark Baranowski (baranowski++at++marklynn.demon.co.uk)
Fri, 06 Dec 1996 09:31:03 GMT
I haven't had any experience with EasyScene (so all that follows might
be a load of *!#* with respect to EasyScene), but this sounds like the
same problem we had integrating the pfuGUI routines into our Vega
application. The pfuGUI functions expect the mouse data to be stored
in a pfuMouse structure. I guess that ES reads the mouse/keyboard
events itself and makes them available to you give some API. There are
probably two approaches you can take.
1. Try to get Performer to collect the input before EasyScene.
Probably/Possibly not the approach to take, as I would guess ES may
need such input if it updates motion models or whatever for you.
2. Use the ES API to get mouse (& keyboard ?) inputs and map them into
the pfuMouse ( & pfuEvent?) structures so that the GUI routines can
use them. Note that as you are using Performer 1.2, one of the pfuGUI
routines reads the mouse and updates a local pfuMouse structure
directly. You will have to modify the code to stop this and instead
accept a pfuMouse structure which you can pass in as a parameter from
your application. (Fortunately, exactly this change was made in
Performer 2)
> 3) Can the pfGUI buttons support a pixmap? I would like
> part of my panel to contains buttons with pixmaps that
> look like buttons on a VCR.
No, but all the source code is there to let you create these sorts of
buttons if you are so inclined.
>Thanks in advance,
>
>Jeff Eng
Regards
Mark.
--
Mark Baranowski at work (baranowski++at++marklynn.demon.co.uk)
Pera, VR Division. Melton Mowbray, Leicestershire. UK.
Tel: +44 1664 501501, Fax: +44 1664 501553
===================================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:54:06 PDT