From wafe@wu-wien.ac.at Tue Mar 9 00:56:19 1993 Received: from localhost by olymp.wu-wien.ac.at (AIX 3.2/UCB 5.64/4.03) id AA15950; Tue, 9 Mar 1993 00:54:37 GMT Date: Tue, 9 Mar 1993 00:54:37 GMT Message-Id: <9303082355.AA04006@dec4.wu-wien.ac.at> Comment: Wafe mailing list Originator: wafe@wu-wien.ac.at Errors-To: gerhard.gonter@wu-wien.ac.at Reply-To: Sender: wafe@wu-wien.ac.at Version: 5.5 -- Copyright (c) 1991/92, Anastasios Kotsikonas From: neumann@dec4.wu-wien.ac.at (Gustaf Neumann) To: Multiple recipients of list Subject: New Wafe extensions Status: OR On the Wafe home server ftp.wu-wien.ac.at is the file with the misleading name wafe-0.94-for-alpha2.tar.Z in pub/src/X11/wafe. It contains several fixes and extensions for Wafe 0.94 such as: - fixes for some problems on DEC Alpha machines, - fixes and extensions for the plotter widget support, - support for the Layout widget, - a few additional small sample scripts For DEC Alpha machines it fixes the problem, that absolute pathnames to bitmaps could not be resolved under certain conditions. The strange thing is that there are resources which have a different type on Alpha machines than on all other machines. For example, the iconPixmap resource is on Alpha of type Pixmap, on all other machines i have tried of type Bitmap. Maybe a DEC extension? The next fix concerns the Plotter widget. The update contains a bug fix for the labelAxisAttachData (inside Wafe) and a bug fix in the plotter widget sources where some postions in the postscript output were calculated wrongly. Wafe contains now also support for the Layout widget (by Keith Packard), which is included in the newest Xaw3d distributiion (Xaw3d-0.6A). It is a very nice constraint widget with TeX like semantics (it works with horizontal and vertical boxes and glues). A sample script is included below. The support for the Layout widget can be activated and deactivated from the Wafe Imakefile. The archive consists of the following files: src/XtGen.c src/xpm.inc src/XawGen.c src/XawGen.spec src/Imakefile src/genc src/AtGen.spec src/AtGen.c plotter/At/AxisCore.c src/tcl/layout.tcl src/tcl/form.tcl src/tcl/barplot2.tcl if you decide to apply these changes, expand the file wafe-0.94-for-alpha2.tar.Z in the wafe root directory. Please do the same with wafe-0.94-for-alpha.tar.Z before that as well, if you have not applied these changes yet. -gustaf PS: Wafe works nice on Linux as well! ===================================================================== #! /usr/bin/X11/wafe --f # small example script to demonstrate the Layout widget # Gustaf Neumann March 8, 1993 set Layout {vertical { space = (height label/2) $space <+inf -100%> horizontal { $space <-100%> label $space <+inf -100%> } $space <+inf -100%> horizontal { $space <-100%> textInsertionField $space <+inf -100%> } $space <+inf -100%> horizontal { $space <-100%> button1 (3*$space) <+inf -100%> button2 $space <-100%> } $space <+inf -100%> }} mergeResources topLevel \ *Text*editType edit \ *Text*background white \ *.background gainsboro \ *Label.borderWidth 0 \ *l.layout $Layout layout l topLevel label label l label "Label Widget" asciiText textInsertionField l command button1 l label "Button 1" command button2 l label Quit callback quit realize ===================================================================== -- Gustaf Neumann neumann@dec4.wu-wien.ac.at Vienna University of Economics and Business Administration Augasse 2-6, A-1090 Vienna, Austria Tel: +43 (222) 31-336 x4533 Fax: 347-555