From: Maurice L. <mj...@ga...> - 2002-08-04 07:33:17
|
I finished the changes necessary to return the "external API" functions previously moved to xwin_common.c back to xwin.c. The driver escape function is now used to access these, which is much cleaner from a linkage standpoint. I was able to simplify the PLColor<->XColor interface by using a temporary stream variable (tmpcolor), so all the extensions were trivial. I did have to introduce a new call in plframe.c to pllib_initdev() (was plGetDev) to load the device driver & set up the dispatch table before the escape function can be called. Anyhow it is a cleaner design now and everything seems to work fine, except the install problem that was present before my commits. Should be no problem to do this same procedure on the tkwin stuff. -- Maurice LeBrun mj...@ga... Research Organization for Information Science and Technology of Japan (RIST) |