[comp.windows.x] help w/ color

ryan@sjuvax.UUCP (P. Ryan) (08/07/89)

     this is probably going to sound like a inane request but does
anyone have a fairly simple working demo program using color through
XWindows?  i am using an HP 9000/370 running HP-UX v.6.2.  for those
of us who are new to windows programming, the documentation is opaque
to say the least.  the xwindows shelf over at the maryland book exchange
is consistently empty so that hasn't helped me much.  i find a few
correct lines of code are worth a thousand pages of documentation.
basically i need to do things like draw a line from A to B in color
X.

thanks,

pat
pmr@bootes.gsfc.nasa.gov


-- 
/patrick/ryan
st. joseph's university, philadelphia, pennsylvania
uucp          { bpa | burdvax | drexel | princeton} !sjuvax!ryan
arpa/cs/bitnet  ryan@sjuvax.sju.edu, ryan%sjuvax.sju.edu@relay.cs.net