Re: XForms: Forms to Xforms

Steve Lamont (spl@szechuan.ucsd.edu)
Fri, 14 Aug 98 06:15:06 PDT

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> I have a old program wrote several years ago which is using 'forms'
> instead of 'xforms'. It's a old version of the present xforms and only
> used by SGI computers.
>
> The mouse event handling of 'forms' is not compatiable with 'xforms'. For
> example, these functions will not compile under new xforms library.
> fl_qdevice(LEFTMOUSE)
> fl_qtest()
> fl_qread(&val)
> fl_qreset()
> fl_unqdevice(MOUSEX)

These are basically wrappers around the old SGI GL (as opposed to the
more recent OpenGL) functions qdevice(), qtest(), etc. If you look up
those functions in your SGI man pages, you'll find out more about them.

Since the new XForms is more event driven, you'll probably have to
redesign your main loop somewhat to conform to those programming methods.

> Also about the *.fd generated by 'forms', if there has a easy way to
> convert it to a *.fd which can be loaded by the 'fdesign' of xforms?

You should be able to use the old Forms .fd files with the new
`fdesign'. At least in the limited number of tests I've seen, they
load up just fine.

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/