Three-D Athena Widgets (Xaw3d) for Linux Xaw3d-0.6B-3.1.1 These are the sources and binaries of Kaleb Keithley's Xaw3d library for Linux. Xaw3d is a true replacement for the Athena widget library Xaw which gives your Athena based applications 3D appearance similar to another well known commercial widget library. Version Xaw3d-0.6B-3.1.1 is based on Xaw3d-0.6B-3.0.1 of Joachim Schnitter josch@pc.chemie.th-darmstadt.de plus the following patches of mine: o Patches for the Layout widget - The Layout Widget had a non Xt-conform String-to-Layout converter - A fix for laylex.l under AIX where the last character of all identifiers was globbered - initialization bug which caused incorrect width and height calculation in Layout widgets o Patches for the Clock widget Clock widget has the following additional resosurces: hourOffset Int minuteOffset Int gmt Boolean hourOffset and minuteOffset describe the offsets of the displayed time relative to the actual time, if gmt is set, gmtime() is used instead of localtime() to compute tm. if gmt is set to false (the default), the offsets are relative to localtime. This patch allows to have a single application to display various clocks showing different times. o Several attempts to improve the appearance of 3d shadows: a) for white or black background, the top shadow was darker than the bottom shadow b) the bitmaps used for back and white background were bad, they contained patterns with sequences which where a multiple of 3, but tiled with a multiple of 4 c) The shadows on white or black backgrounds were really ugly. Setting beNiceToColormap to false is not always the best solution, therefore i added some kind of a compromise, which uses a single additional color cell (gray) to achieve the intended effects. Using the gray colorcell can activated by compiling Xaw3d with the option -DUSEGRAY. o Patch for the AsciiText widget class: If for a AsciiText widget the resource "resize" is set (eg. to "width"), the AsciiText widget tries now to resize itself, when the "string" resouce is altered. In order to install the shared and static libraries, unpack the binary distribution, cd to ./Xaw3d and issue the the following commands with root privileges: cp libXaw3d.sa libXaw3d.a /usr/lib cp libXaw3d.so.3.1.1 /lib/ ldconfig libXaw3d is fully compatible with libXaw from XFree 2.0. In order to add 3d appearance to applications compiled with Xaw, it is sufficient to replace the shared library of libXaw with the 3d variant. Since Xaw3d has a higher revision number than libXaw, it is sufficient to issue the following commands to use the 3d library: ln -sf /lib/libXaw3d.so.3.1.1 /lib/libXaw.so.3.1.1 ldconfig The library was built using gcc 2.5.8, libc 4.5.19, tools 2.10 under Linux 0.99.15. Happy Linuxing -gustaf