[ba.windows.x] Source code to examples in Douglas Young's book on Xtk

turner@daisy.UUCP (D'arc Angel) (09/09/89)

The source code complete with Makefiles for the examples in 
Douglas Youngs' book on the X Toolkit is now available in The
West Coast X Archives. The files are:

/usr/spool/uucppublic/Xarchive/R3.contrib/D.Young:
total 130
-rw-rw-r--  1 turner        594 Sep  8 08:10 README.Z
-rw-rw-r--  1 turner      26683 Sep  8 15:46 examples.A.tar.Z
-rw-rw-r--  1 turner      40593 Sep  8 15:46 examples.B.tar.Z
-rw-rw-r--  1 turner      33153 Sep  8 15:46 examples.C.tar.Z
-rw-rw-r--  1 turner      28680 Sep  8 15:46 examples.D.tar.Z

I am including the README file here for your further edification
(I just love them big words (;-))
==========================================================================
This directory contains the source code for the examples in the book

 "X Window Systems Programming and Applications with Xt" 
   by Douglas Young

publisher: Prentice Hall
ISBN ISBN  0-13-972167-3

All examples (except as noted below) in these directories have been
succesfully compiled and linked with both the R2 Intrinsics and HP
contributed and product widget sets and the R3 Xt Intrinsics and the
contributed HP widget set with the patches found on expo.lcs.mit.edu in the
file Xhp.patch.works.tar.Z in the contrib directory.

For those using the HP product widgets, which are still based on the R2
Intrinsics, please note the folowing:

The directories ch12.R2, ch13.R2, and ch14.R2 contain R2 version of the
widgets described in those chapters.

The stopwatch example in chapter 5 WILL NOT WORK with R2, because it uses
WorkProcs which were not in R2.

As far as I know all other examples will work with either R2 or R3.

Several small bugs in the programs as described in the book have been fixed
in these directories. These are:

 In the fractal2 program, 
   the program will fail if your display has more
   than MAXCOLORS colors. The version here adds a check for this.
  
   Also, in the book, the pixmap  doesn't get cleared before it is used.

 In the coloredit example, 
    There is one spot where an Arg array is defined as size 1 (wargs[1]), but
    used with an index of 1.
   
    Installing the colormap as described in the book is non-ICCCM compliant.


==============================================================================

-- 
Don't take life too seriously, it ain't nohow permanent - Pogo
...{decwrl|ucbvax}!imagen!atari!daisy!turner (James M. Turner)