When preparing to port the ASIZ program to run in Sun workstations, I first decided to learn how to program in event-oriented user interfaces, using something more similar to the Sun XView interface than the Windows interface, in a PC. I wrote a simple and small user interface code for PC computers that I called "XView-PC". It attempts to be similar to Sun XView, but avoids many unnecessary complications. I developed the first version in Pascal, and later translated it to C. The result was very good. I sent the interface to the SimTel repository (it is in the msdos/graphics directory) and made it available here, so it can also be useful for others.
The interface implements an unlimited number of overlapping windows, that can be moved and resized, a pop-up menu system, buttons, message fields, teletype terminals, setting buttons, and drawing panels. An interface generator program is included in the package.
Version 1.7 can be downloaded by clicking here. The file includes units for the Borland Pascal version, and object files for the Borland C/C++ and GNU C (DJGPP V1) versions. Included is also an interface generator program and several examples. The units for Turbo Pascal 6.0 are also available here.
The version 1.8, that includes support for DJGPP V2, a few extra functions, and is compatible with version 1.7, is available here. The required files from the DJGPP distribution, and some more, can be obtained locally from here. This version is fully operational. The last update was on 22/7/98 (recompilation of the djgpp version).
The source code for version 1.8 is now available. An example of a functional GUI with less than 30 kbytes of code.
A small FAQ, with some informations is available.
The use of the interface is free since 10/2/2000.
Last update: 7/4/2002
Developed and Maintained by Antonio Carlos
M. de Queiroz.