[comp.sources.x] v03i086: Xcu -- widget set from Cornell University, Part10/12

argv@island.uu.net (Dan Heller) (04/27/89)

Submitted-by: Gene Dykes <gdykes@tcgould.tn.cornell.edu>
Posting-number: Volume 3, Issue 86
Archive-name: xcu/part10

#! /bin/sh
# This is a shell archive.  Remove anything before this line, then feed it
# into a shell via "sh file" or similar.  To overwrite existing files,
# type "sh file -c".
# The tool that generated this appeared in the comp.sources.unix newsgroup;
# send mail to comp-sources-unix@uunet.uu.net if you want that tool.
# If this archive is complete, you will see the following message at the end:
#		"End of archive 10 (of 12)."
# Contents:  examples/xcursors/bwcursors.wl examples/xlayout/README
#   examples/xlayout/bmgr.wc examples/xlayout/bw_bmgr.wc
#   examples/xlayout/bw_menu.wc examples/xlayout/menu.wc
#   examples/xwlm/xwlm.c man/CuBmgr.man man/CuLabel.man
#   man/CuSimple.man man/wlc.man src/CuBmgrR.c src/CuButtonI.h
#   src/CuDeckP.h src/CuRc.c src/CuResizePR.c src/Imakefile
# Wrapped by argv@island on Mon Apr 24 15:42:05 1989
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'examples/xcursors/bwcursors.wl' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'examples/xcursors/bwcursors.wl'\"
else
echo shar: Extracting \"'examples/xcursors/bwcursors.wl'\" \(4165 characters\)
sed "s/^X//" >'examples/xcursors/bwcursors.wl' <<'END_OF_FILE'
XCuWlm
X{
X*facetWidth "5"
X*CuCommand.internalHeight "10"
X*background "White"
X*foreground "Black"
X*shadow "True"
XCuTbl {
X    formatString "padding(3);c c c c c."
X    equalColumns "True"
XCuCommand { name "X_cursor" cursor "X_cursor" }
XCuCommand { name "X_cursor" cursor "X_cursor" }
XCuCommand { name "X_cursor" cursor "X_cursor" }
XCuCommand { name "X_cursor" cursor "X_cursor" }
XCuCommand { name "arrow" cursor "arrow" }
XCuCommand { name "based_arrow_down" cursor "based_arrow_down" }
XCuCommand { name "based_arrow_up" cursor "based_arrow_up" }
XCuCommand { name "boat" cursor "boat" }
XCuCommand { name "bogosity" cursor "bogosity" }
XCuCommand { name "bottom_left_corner" cursor "bottom_left_corner" }
XCuCommand { name "bottom_right_corner" cursor "bottom_right_corner" }
XCuCommand { name "bottom_side" cursor "bottom_side" }
XCuCommand { name "bottom_tee" cursor "bottom_tee" }
XCuCommand { name "box_spiral" cursor "box_spiral" }
XCuCommand { name "center_ptr" cursor "center_ptr" }
XCuCommand { name "circle" cursor "circle" }
XCuCommand { name "clock" cursor "clock" }
XCuCommand { name "coffee_mug" cursor "coffee_mug" }
XCuCommand { name "cross" cursor "cross" }
XCuCommand { name "cross_reverse" cursor "cross_reverse" }
XCuCommand { name "crosshair" cursor "crosshair" }
XCuCommand { name "diamond_cross" cursor "diamond_cross" }
XCuCommand { name "dot" cursor "dot" }
XCuCommand { name "dotbox" cursor "dotbox" }
XCuCommand { name "double_arrow" cursor "double_arrow" }
XCuCommand { name "draft_large" cursor "draft_large" }
XCuCommand { name "draft_small" cursor "draft_small" }
XCuCommand { name "draped_box" cursor "draped_box" }
XCuCommand { name "exchange" cursor "exchange" }
XCuCommand { name "fleur" cursor "fleur" }
XCuCommand { name "gobbler" cursor "gobbler" }
XCuCommand { name "gumby" cursor "gumby" }
XCuCommand { name "hand1" cursor "hand1" }
XCuCommand { name "hand2" cursor "hand2" }
XCuCommand { name "heart" cursor "heart" }
XCuCommand { name "icon" cursor "icon" }
XCuCommand { name "iron_cross" cursor "iron_cross" }
XCuCommand { name "left_ptr" cursor "left_ptr" }
XCuCommand { name "left_side" cursor "left_side" }
XCuCommand { name "left_tee" cursor "left_tee" }
XCuCommand { name "leftbutton" cursor "leftbutton" }
XCuCommand { name "ll_angle" cursor "ll_angle" }
XCuCommand { name "lr_angle" cursor "lr_angle" }
XCuCommand { name "man" cursor "man" }
XCuCommand { name "middlebutton" cursor "middlebutton" }
XCuCommand { name "mouse" cursor "mouse" }
XCuCommand { name "pencil" cursor "pencil" }
XCuCommand { name "pirate" cursor "pirate" }
XCuCommand { name "plus" cursor "plus" }
XCuCommand { name "question_arrow" cursor "question_arrow" }
XCuCommand { name "right_ptr" cursor "right_ptr" }
XCuCommand { name "right_side" cursor "right_side" }
XCuCommand { name "right_tee" cursor "right_tee" }
XCuCommand { name "rightbutton" cursor "rightbutton" }
XCuCommand { name "rtl_logo" cursor "rtl_logo" }
XCuCommand { name "sailboat" cursor "sailboat" }
XCuCommand { name "sb_down_arrow" cursor "sb_down_arrow" }
XCuCommand { name "sb_h_double_arrow" cursor "sb_h_double_arrow" }
XCuCommand { name "sb_left_arrow" cursor "sb_left_arrow" }
XCuCommand { name "sb_right_arrow" cursor "sb_right_arrow" }
XCuCommand { name "sb_up_arrow" cursor "sb_up_arrow" }
XCuCommand { name "sb_v_double_arrow" cursor "sb_v_double_arrow" }
XCuCommand { name "shuttle" cursor "shuttle" }
XCuCommand { name "sizing" cursor "sizing" }
XCuCommand { name "spider" cursor "spider" }
XCuCommand { name "spraycan" cursor "spraycan" }
XCuCommand { name "star" cursor "star" }
XCuCommand { name "target" cursor "target" }
XCuCommand { name "tcross" cursor "tcross" }
XCuCommand { name "top_left_arrow" cursor "top_left_arrow" }
XCuCommand { name "top_left_corner" cursor "top_left_corner" }
XCuCommand { name "top_right_corner" cursor "top_right_corner" }
XCuCommand { name "top_side" cursor "top_side" }
XCuCommand { name "top_tee" cursor "top_tee" }
XCuCommand { name "trek" cursor "trek" }
XCuCommand { name "ul_angle" cursor "ul_angle" }
XCuCommand { name "umbrella" cursor "umbrella" }
XCuCommand { name "ur_angle" cursor "ur_angle" }
XCuCommand { name "watch" cursor "watch" }
XCuCommand { name "xterm" cursor "xterm" }
X    }
X}

END_OF_FILE
echo shar: NEWLINE appended to \"'examples/xcursors/bwcursors.wl'\"
if test 4166 -ne `wc -c <'examples/xcursors/bwcursors.wl'`; then
    echo shar: \"'examples/xcursors/bwcursors.wl'\" unpacked with wrong size!
fi
# end of 'examples/xcursors/bwcursors.wl'
fi
if test -f 'examples/xlayout/README' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'examples/xlayout/README'\"
else
echo shar: Extracting \"'examples/xlayout/README'\" \(1500 characters\)
sed "s/^X//" >'examples/xlayout/README' <<'END_OF_FILE'
Xxlayout is a simple client that allows a widget description language
Xprogrammer to test a layout.
X
Xxlayout.wh contains all the Xcu widgets, so xlayout.c will not need
Xrecompiling until widgets from other sources are included in a
Xdescription language file.
X
XTo test a layout, merely issue the following two commands, where name
Xis the name of the layout description file with a .wl extension:
X
X	../../wlmCompiler/wlc name
X	xlayout name
X
XThe following sample layout descriptions are included in this directory:
X
X	(bw_)bmgr   : shows the five CuBmgr (button manager) semantics
X	(bw_)menu   : shows a common menu device using the CuDeck widget
X	(bw_)shadow : shows facets vs. shadow and sensitive vs. insensitive
X	(bw_)manip  : shows a graphics manipulation menu
X
X	The bw_ versions work better for displays without good colors
X
XIMPORTANT HINT:  You will want a customized version of this program
Xon your system when you get around to writing layout descriptions.
X(To customize, all you have to do is put the widgets you will use
Xin xlayout.wh)  Then, to test menus all you need is xlayout, wlc, and an
Xeditor.  Repeat the following three steps until satisfied:
X
X    1) vi layout.wl
X    2) wlc layout
X    3) xlayout layout
X
XNo application code, hence no compiling, no linking.  The only thing
Xyou can't test are things like callbacks to your application.  It is 
Xliterally possible to do one iteration of the above in under 15 seconds.
XI've made lots of minor adjustments to menus in just that fashion.
X

END_OF_FILE
echo shar: NEWLINE appended to \"'examples/xlayout/README'\"
if test 1501 -ne `wc -c <'examples/xlayout/README'`; then
    echo shar: \"'examples/xlayout/README'\" unpacked with wrong size!
fi
# end of 'examples/xlayout/README'
fi
if test -f 'examples/xlayout/bmgr.wc' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'examples/xlayout/bmgr.wc'\"
else
echo shar: Extracting \"'examples/xlayout/bmgr.wc'\" \(3472 characters\)
sed "s/^X//" >'examples/xlayout/bmgr.wc' <<'END_OF_FILE'
X#WLDL
X5
X
X5 CuWlm
X14
X17 CuTbl.interHeight 2 (10) 6 Global
X16 CuTbl.interWidth 2 (10) 6 Global
X20 CuTbl.internalHeight 2 (20) 6 Global
X19 CuTbl.internalWidth 2 (20) 6 Global
X18 CuLabel.facetWidth 1 (0) 6 Global
X18 CuLabel.foreground 5 (black) 6 Global
X19 CuLabel.borderColor 9 (LightGray) 6 Global
X18 CuLabel.background 9 (LightGray) 6 Global
X16 CuCommand.cursor 3 (dot) 6 Global
X20 CuCommand.foreground 5 (black) 6 Global
X20 CuCommand.background 5 (white) 6 Global
X10 facetWidth 1 (5) 6 Global
X16 brightFacetColor 14 (LightSteelBlue) 6 Global
X13 dimFacetColor 9 (SteelBlue) 6 Global
X0
X0
X3
X
X  6 CuBmgr
X  1
X  8 bmgrType 9 (AnyOfMany) 5 Local
X  0
X  3
X  3 (BLU) 6 String 3 (BLU)
X  3 (GRN) 6 String 3 (GRN)
X  3 (RED) 6 String 3 (RED)
X  0
X
X  6 CuBmgr
X  1
X  8 bmgrType 9 (OneOfMany) 5 Local
X  0
X  3
X  2 (ZX) 6 String 2 (ZX)
X  2 (YZ) 6 String 2 (YZ)
X  2 (XY) 6 String 2 (XY)
X  0
X
X  5 CuTbl
X  6
X  11 interHeight 2 (10) 5 Local
X  10 interWidth 2 (10) 5 Local
X  14 internalHeight 2 (20) 5 Local
X  13 internalWidth 2 (20) 5 Local
X  10 background 5 (White) 5 Local
X  12 formatString 2 (c.) 5 Local
X  0
X  0
X  5
X
X    5 CuTbl
X    2
X    10 background 9 (LightGray) 5 Local
X    12 formatString 8 (c
Xc c c.) 5 Local
X    0
X    0
X    4
X
X      8 CuButton
X      2
X      3 set 4 (True) 5 Local
X      4 name 3 (BLU) 5 Local
X      0
X      0
X      0
X
X      8 CuButton
X      2
X      3 set 4 (True) 5 Local
X      4 name 3 (GRN) 5 Local
X      0
X      0
X      0
X
X      8 CuButton
X      1
X      4 name 3 (RED) 5 Local
X      0
X      0
X      0
X
X      7 CuLabel
X      1
X      4 name 11 (Any of Many) 5 Local
X      0
X      0
X      0
X
X    5 CuTbl
X    2
X    10 background 9 (LightGray) 5 Local
X    12 formatString 8 (c
Xc c c.) 5 Local
X    0
X    0
X    4
X
X      8 CuButton
X      2
X      3 set 4 (True) 5 Local
X      4 name 2 (ZX) 5 Local
X      0
X      0
X      0
X
X      8 CuButton
X      1
X      4 name 2 (YZ) 5 Local
X      0
X      0
X      0
X
X      8 CuButton
X      1
X      4 name 2 (XY) 5 Local
X      0
X      0
X      0
X
X      7 CuLabel
X      1
X      4 name 11 (One of Many) 5 Local
X      0
X      0
X      0
X
X    5 CuTbl
X    2
X    10 background 9 (LightGray) 5 Local
X    12 formatString 6 (c
Xc c.) 5 Local
X    0
X    0
X    2
X
X      6 CuBmgr
X      1
X      8 bmgrType 12 (DoubleToggle) 5 Local
X      0
X      2
X      3 (OFF) 6 String 3 (OFF)
X      2 (ON) 6 String 2 (ON)
X      2
X
X        8 CuButton
X        1
X        4 name 3 (OFF) 5 Local
X        0
X        0
X        0
X
X        8 CuButton
X        2
X        3 set 4 (True) 5 Local
X        4 name 2 (ON) 5 Local
X        0
X        0
X        0
X
X      7 CuLabel
X      1
X      4 name 13 (Double Toggle) 5 Local
X      0
X      0
X      0
X
X    5 CuTbl
X    2
X    10 background 9 (LightGray) 5 Local
X    12 formatString 2 (c.) 5 Local
X    0
X    0
X    2
X
X      6 CuBmgr
X      1
X      8 bmgrType 12 (SingleToggle) 5 Local
X      0
X      1
X      9 (HIGHLIGHT) 6 String 9 (HIGHLIGHT)
X      1
X
X        8 CuButton
X        1
X        4 name 9 (HIGHLIGHT) 5 Local
X        0
X        0
X        0
X
X      7 CuLabel
X      1
X      4 name 13 (Single Toggle) 5 Local
X      0
X      0
X      0
X
X    5 CuTbl
X    2
X    10 background 9 (LightGray) 5 Local
X    12 formatString 2 (c.) 5 Local
X    0
X    0
X    2
X
X      6 CuBmgr
X      1
X      8 bmgrType 9 (Transient) 5 Local
X      0
X      1
X      4 (STEP) 6 String 4 (STEP)
X      1
X
X        8 CuButton
X        1
X        4 name 4 (STEP) 5 Local
X        0
X        0
X        0
X
X      7 CuLabel
X      1
X      4 name 9 (Transient) 5 Local
X      0
X      0
X      0

END_OF_FILE
echo shar: NEWLINE appended to \"'examples/xlayout/bmgr.wc'\"
if test 3473 -ne `wc -c <'examples/xlayout/bmgr.wc'`; then
    echo shar: \"'examples/xlayout/bmgr.wc'\" unpacked with wrong size!
fi
# end of 'examples/xlayout/bmgr.wc'
fi
if test -f 'examples/xlayout/bw_bmgr.wc' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'examples/xlayout/bw_bmgr.wc'\"
else
echo shar: Extracting \"'examples/xlayout/bw_bmgr.wc'\" \(3179 characters\)
sed "s/^X//" >'examples/xlayout/bw_bmgr.wc' <<'END_OF_FILE'
X#WLDL
X5
X
X5 CuWlm
X12
X20 CuButton.borderColor 5 (White) 6 Global
X18 CuLabel.facetWidth 1 (1) 6 Global
X19 CuLabel.borderColor 5 (White) 6 Global
X14 CuLabel.shadow 4 (True) 6 Global
X23 CuButton.internalHeight 2 (10) 6 Global
X22 CuButton.internalWidth 2 (10) 6 Global
X15 CuButton.shadow 4 (True) 6 Global
X17 CuTbl.interHeight 2 (10) 6 Global
X16 CuTbl.interWidth 2 (10) 6 Global
X20 CuTbl.internalHeight 2 (20) 6 Global
X19 CuTbl.internalWidth 2 (20) 6 Global
X16 CuCommand.cursor 3 (dot) 6 Global
X0
X0
X3
X
X  6 CuBmgr
X  1
X  8 bmgrType 9 (AnyOfMany) 5 Local
X  0
X  3
X  3 (BLU) 6 String 3 (BLU)
X  3 (GRN) 6 String 3 (GRN)
X  3 (RED) 6 String 3 (RED)
X  0
X
X  6 CuBmgr
X  1
X  8 bmgrType 9 (OneOfMany) 5 Local
X  0
X  3
X  2 (ZX) 6 String 2 (ZX)
X  2 (YZ) 6 String 2 (YZ)
X  2 (XY) 6 String 2 (XY)
X  0
X
X  5 CuTbl
X  6
X  11 interHeight 2 (10) 5 Local
X  10 interWidth 2 (10) 5 Local
X  14 internalHeight 2 (20) 5 Local
X  13 internalWidth 2 (20) 5 Local
X  10 background 5 (White) 5 Local
X  12 formatString 2 (c.) 5 Local
X  0
X  0
X  5
X
X    5 CuTbl
X    1
X    12 formatString 8 (c
Xc c c.) 5 Local
X    0
X    0
X    4
X
X      8 CuButton
X      2
X      3 set 4 (True) 5 Local
X      4 name 3 (BLU) 5 Local
X      0
X      0
X      0
X
X      8 CuButton
X      2
X      3 set 4 (True) 5 Local
X      4 name 3 (GRN) 5 Local
X      0
X      0
X      0
X
X      8 CuButton
X      1
X      4 name 3 (RED) 5 Local
X      0
X      0
X      0
X
X      7 CuLabel
X      1
X      4 name 11 (Any of Many) 5 Local
X      0
X      0
X      0
X
X    5 CuTbl
X    1
X    12 formatString 8 (c
Xc c c.) 5 Local
X    0
X    0
X    4
X
X      8 CuButton
X      2
X      3 set 4 (True) 5 Local
X      4 name 2 (ZX) 5 Local
X      0
X      0
X      0
X
X      8 CuButton
X      1
X      4 name 2 (YZ) 5 Local
X      0
X      0
X      0
X
X      8 CuButton
X      1
X      4 name 2 (XY) 5 Local
X      0
X      0
X      0
X
X      7 CuLabel
X      1
X      4 name 11 (One of Many) 5 Local
X      0
X      0
X      0
X
X    5 CuTbl
X    1
X    12 formatString 6 (c
Xc c.) 5 Local
X    0
X    0
X    2
X
X      6 CuBmgr
X      1
X      8 bmgrType 12 (DoubleToggle) 5 Local
X      0
X      2
X      3 (OFF) 6 String 3 (OFF)
X      2 (ON) 6 String 2 (ON)
X      2
X
X        8 CuButton
X        1
X        4 name 3 (OFF) 5 Local
X        0
X        0
X        0
X
X        8 CuButton
X        2
X        3 set 4 (True) 5 Local
X        4 name 2 (ON) 5 Local
X        0
X        0
X        0
X
X      7 CuLabel
X      1
X      4 name 13 (Double Toggle) 5 Local
X      0
X      0
X      0
X
X    5 CuTbl
X    1
X    12 formatString 2 (c.) 5 Local
X    0
X    0
X    2
X
X      6 CuBmgr
X      1
X      8 bmgrType 12 (SingleToggle) 5 Local
X      0
X      1
X      9 (HIGHLIGHT) 6 String 9 (HIGHLIGHT)
X      1
X
X        8 CuButton
X        1
X        4 name 9 (HIGHLIGHT) 5 Local
X        0
X        0
X        0
X
X      7 CuLabel
X      1
X      4 name 13 (Single Toggle) 5 Local
X      0
X      0
X      0
X
X    5 CuTbl
X    1
X    12 formatString 2 (c.) 5 Local
X    0
X    0
X    2
X
X      6 CuBmgr
X      1
X      8 bmgrType 9 (Transient) 5 Local
X      0
X      1
X      4 (STEP) 6 String 4 (STEP)
X      1
X
X        8 CuButton
X        1
X        4 name 4 (STEP) 5 Local
X        0
X        0
X        0
X
X      7 CuLabel
X      1
X      4 name 9 (Transient) 5 Local
X      0
X      0
X      0

END_OF_FILE
echo shar: NEWLINE appended to \"'examples/xlayout/bw_bmgr.wc'\"
if test 3180 -ne `wc -c <'examples/xlayout/bw_bmgr.wc'`; then
    echo shar: \"'examples/xlayout/bw_bmgr.wc'\" unpacked with wrong size!
fi
# end of 'examples/xlayout/bw_bmgr.wc'
fi
if test -f 'examples/xlayout/bw_menu.wc' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'examples/xlayout/bw_menu.wc'\"
else
echo shar: Extracting \"'examples/xlayout/bw_menu.wc'\" \(3347 characters\)
sed "s/^X//" >'examples/xlayout/bw_menu.wc' <<'END_OF_FILE'
X#WLDL
X6
X
X5 CuWlm
X13
X17 CuTbl.interHeight 2 (10) 6 Global
X16 CuTbl.interWidth 2 (10) 6 Global
X20 CuTbl.internalHeight 2 (20) 6 Global
X19 CuTbl.internalWidth 2 (20) 6 Global
X18 CuLabel.foreground 5 (black) 6 Global
X19 CuLabel.borderColor 5 (white) 6 Global
X18 CuLabel.background 5 (white) 6 Global
X16 CuCommand.cursor 3 (dot) 6 Global
X20 CuCommand.foreground 5 (black) 6 Global
X20 CuCommand.background 5 (white) 6 Global
X10 facetWidth 1 (5) 6 Global
X13 dimFacetColor 5 (Black) 6 Global
X6 shadow 4 (True) 6 Global
X0
X0
X1
X
X  5 CuTbl
X  6
X  11 interHeight 2 (10) 5 Local
X  10 interWidth 2 (10) 5 Local
X  14 internalHeight 2 (20) 5 Local
X  13 internalWidth 2 (20) 5 Local
X  10 background 5 (White) 5 Local
X  12 formatString 2 (c.) 5 Local
X  0
X  0
X  2
X
X    5 CuTbl
X    2
X    10 background 5 (white) 5 Local
X    12 formatString 2 (c.) 5 Local
X    0
X    0
X    2
X
X      5 CuTbl
X      2
X      10 background 5 (white) 5 Local
X      12 formatString 4 (c c.) 5 Local
X      0
X      0
X      1
X
X        6 CuBmgr
X        1
X        8 bmgrType 9 (OneOfMany) 5 Local
X        4
X        11 setCallback 6 CuDeck 4 menu 1 14 PublicFunction
X         6 String 6 (Page
X4) 0 2 == 0 :
X        11 RaiseWidget 1
X        7 CuLabel 11 (Menu Page 4)
X        11 setCallback 6 CuDeck 4 menu 1 14 PublicFunction
X         6 String 6 (Page
X3) 0 2 == 0 :
X        11 RaiseWidget 1
X        7 CuLabel 11 (Menu Page 3)
X        11 setCallback 6 CuDeck 4 menu 1 14 PublicFunction
X         6 String 6 (Page
X2) 0 2 == 0 :
X        11 RaiseWidget 1
X        7 CuLabel 11 (Menu Page 2)
X        11 setCallback 6 CuDeck 4 menu 1 14 PublicFunction
X         6 String 6 (Page
X1) 0 2 == 0 :
X        11 RaiseWidget 1
X        7 CuLabel 11 (Menu Page 1)
X        4
X        6 (Page
X4) 6 String 6 (Page
X4)
X        6 (Page
X3) 6 String 6 (Page
X3)
X        6 (Page
X2) 6 String 6 (Page
X2)
X        6 (Page
X1) 6 String 6 (Page
X1)
X        4
X
X          8 CuButton
X          1
X          4 name 6 (Page
X4) 5 Local
X          0
X          0
X          0
X
X          8 CuButton
X          1
X          4 name 6 (Page
X3) 5 Local
X          0
X          0
X          0
X
X          8 CuButton
X          1
X          4 name 6 (Page
X2) 5 Local
X          0
X          0
X          0
X
X          8 CuButton
X          2
X          3 set 4 (True) 5 Local
X          4 name 6 (Page
X1) 5 Local
X          0
X          0
X          0
X
X      7 CuLabel
X      2
X      4 name 22 (Permanent Menu Buttons) 5 Local
X      10 facetWidth 1 (1) 5 Local
X      0
X      0
X      0
X
X    5 CuTbl
X    2
X    10 background 5 (white) 5 Local
X    12 formatString 2 (c.) 5 Local
X    0
X    0
X    2
X
X      6 CuDeck
X      5
X      18 CuLabel.background 5 (white) 6 Global
X      22 CuLabel.internalHeight 3 (100) 6 Global
X      21 CuLabel.internalWidth 2 (50) 6 Global
X      10 background 5 (white) 5 Local
X      4 name 4 (menu) 5 Local
X      0
X      0
X      4
X
X        7 CuLabel
X        1
X        4 name 11 (Menu Page 4) 5 Local
X        0
X        0
X        0
X
X        7 CuLabel
X        1
X        4 name 11 (Menu Page 3) 5 Local
X        0
X        0
X        0
X
X        7 CuLabel
X        1
X        4 name 11 (Menu Page 2) 5 Local
X        0
X        0
X        0
X
X        7 CuLabel
X        1
X        4 name 11 (Menu Page 1) 5 Local
X        0
X        0
X        0
X
X      7 CuLabel
X      2
X      4 name 19 (Variable Menu Pages) 5 Local
X      10 facetWidth 1 (1) 5 Local
X      0
X      0
X      0

END_OF_FILE
echo shar: NEWLINE appended to \"'examples/xlayout/bw_menu.wc'\"
if test 3348 -ne `wc -c <'examples/xlayout/bw_menu.wc'`; then
    echo shar: \"'examples/xlayout/bw_menu.wc'\" unpacked with wrong size!
fi
# end of 'examples/xlayout/bw_menu.wc'
fi
if test -f 'examples/xlayout/menu.wc' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'examples/xlayout/menu.wc'\"
else
echo shar: Extracting \"'examples/xlayout/menu.wc'\" \(3388 characters\)
sed "s/^X//" >'examples/xlayout/menu.wc' <<'END_OF_FILE'
X#WLDL
X6
X
X5 CuWlm
X14
X17 CuTbl.interHeight 2 (10) 6 Global
X16 CuTbl.interWidth 2 (10) 6 Global
X20 CuTbl.internalHeight 2 (20) 6 Global
X19 CuTbl.internalWidth 2 (20) 6 Global
X18 CuLabel.facetWidth 1 (0) 6 Global
X18 CuLabel.foreground 5 (black) 6 Global
X19 CuLabel.borderColor 9 (LightGray) 6 Global
X18 CuLabel.background 9 (LightGray) 6 Global
X16 CuCommand.cursor 3 (dot) 6 Global
X20 CuCommand.foreground 5 (black) 6 Global
X20 CuCommand.background 5 (white) 6 Global
X10 facetWidth 1 (5) 6 Global
X16 brightFacetColor 14 (LightSteelBlue) 6 Global
X13 dimFacetColor 9 (SteelBlue) 6 Global
X0
X0
X1
X
X  5 CuTbl
X  6
X  11 interHeight 2 (10) 5 Local
X  10 interWidth 2 (10) 5 Local
X  14 internalHeight 2 (20) 5 Local
X  13 internalWidth 2 (20) 5 Local
X  10 background 5 (White) 5 Local
X  12 formatString 2 (c.) 5 Local
X  0
X  0
X  2
X
X    5 CuTbl
X    2
X    10 background 9 (LightGray) 5 Local
X    12 formatString 2 (c.) 5 Local
X    0
X    0
X    2
X
X      5 CuTbl
X      2
X      10 background 5 (Wheat) 5 Local
X      12 formatString 4 (c c.) 5 Local
X      0
X      0
X      1
X
X        6 CuBmgr
X        1
X        8 bmgrType 9 (OneOfMany) 5 Local
X        4
X        11 setCallback 6 CuDeck 4 menu 1 14 PublicFunction
X         6 String 6 (Page
X4) 0 2 == 0 :
X        11 RaiseWidget 1
X        7 CuLabel 11 (Menu Page 4)
X        11 setCallback 6 CuDeck 4 menu 1 14 PublicFunction
X         6 String 6 (Page
X3) 0 2 == 0 :
X        11 RaiseWidget 1
X        7 CuLabel 11 (Menu Page 3)
X        11 setCallback 6 CuDeck 4 menu 1 14 PublicFunction
X         6 String 6 (Page
X2) 0 2 == 0 :
X        11 RaiseWidget 1
X        7 CuLabel 11 (Menu Page 2)
X        11 setCallback 6 CuDeck 4 menu 1 14 PublicFunction
X         6 String 6 (Page
X1) 0 2 == 0 :
X        11 RaiseWidget 1
X        7 CuLabel 11 (Menu Page 1)
X        4
X        6 (Page
X4) 6 String 6 (Page
X4)
X        6 (Page
X3) 6 String 6 (Page
X3)
X        6 (Page
X2) 6 String 6 (Page
X2)
X        6 (Page
X1) 6 String 6 (Page
X1)
X        4
X
X          8 CuButton
X          1
X          4 name 6 (Page
X4) 5 Local
X          0
X          0
X          0
X
X          8 CuButton
X          1
X          4 name 6 (Page
X3) 5 Local
X          0
X          0
X          0
X
X          8 CuButton
X          1
X          4 name 6 (Page
X2) 5 Local
X          0
X          0
X          0
X
X          8 CuButton
X          2
X          3 set 4 (True) 5 Local
X          4 name 6 (Page
X1) 5 Local
X          0
X          0
X          0
X
X      7 CuLabel
X      1
X      4 name 22 (Permanent Menu Buttons) 5 Local
X      0
X      0
X      0
X
X    5 CuTbl
X    2
X    10 background 9 (LightGray) 5 Local
X    12 formatString 2 (c.) 5 Local
X    0
X    0
X    2
X
X      6 CuDeck
X      6
X      19 CuLabel.borderColor 5 (Wheat) 6 Global
X      18 CuLabel.background 5 (Wheat) 6 Global
X      14 internalHeight 3 (100) 5 Local
X      13 internalWidth 2 (50) 5 Local
X      10 background 5 (Wheat) 5 Local
X      4 name 4 (menu) 5 Local
X      0
X      0
X      4
X
X        7 CuLabel
X        1
X        4 name 11 (Menu Page 4) 5 Local
X        0
X        0
X        0
X
X        7 CuLabel
X        1
X        4 name 11 (Menu Page 3) 5 Local
X        0
X        0
X        0
X
X        7 CuLabel
X        1
X        4 name 11 (Menu Page 2) 5 Local
X        0
X        0
X        0
X
X        7 CuLabel
X        1
X        4 name 11 (Menu Page 1) 5 Local
X        0
X        0
X        0
X
X      7 CuLabel
X      1
X      4 name 19 (Variable Menu Pages) 5 Local
X      0
X      0
X      0

END_OF_FILE
echo shar: NEWLINE appended to \"'examples/xlayout/menu.wc'\"
if test 3389 -ne `wc -c <'examples/xlayout/menu.wc'`; then
    echo shar: \"'examples/xlayout/menu.wc'\" unpacked with wrong size!
fi
# end of 'examples/xlayout/menu.wc'
fi
if test -f 'examples/xwlm/xwlm.c' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'examples/xwlm/xwlm.c'\"
else
echo shar: Extracting \"'examples/xwlm/xwlm.c'\" \(2907 characters\)
sed "s/^X//" >'examples/xwlm/xwlm.c' <<'END_OF_FILE'
X#include <stdio.h>
X#include <X11/Intrinsic.h>
X#include <X11/IntrinsicP.h>
X#include <X11/Cardinals.h>
X#include <X11/StringDefs.h>
X#include <X11/Shell.h>
X#include "CuWlm.h"
X
Xstatic void exit_callback () ;
Xstatic void expose () ;
Xstatic void resize () ;
Xstatic void increment () ;
Xstatic void file_read () ;
Xstatic void pos_neg () ;
Xstatic void bank_mod () ;
X
Xstatic Arg toplevel_args[] =
X    {
X     {XtNallowShellResize, (XtArgVal) True}
X    } ;
X
Xstatic Arg wlm_args[] =
X    {
X     {XtNfile, (XtArgVal) NULL}
X    } ;
X
XWidget toplevel, wlm ;
X
Xmain (argc, argv)
X    int argc ;
X    char **argv ;
X{
Xextern XtResource lbl_resources[] ;
X
XCardinal i ;
XBoolean on_switch = 2 ;
X
Xif (argc < 2)
X    {
X    fprintf (stderr, "\nUsage: %s wlm_layout_file\n\n",
X	     argv[0]) ;
X    exit (1) ;
X    }
X
Xtoplevel = XtInitialize (NULL, "top", NULL, NULL, &argc, argv);
X
X
XXtSetArg (wlm_args[0], XtNfile, argv[1]) ;
Xwlm = XtCreateManagedWidget ( "wlm", cuWlmWidgetClass, toplevel, wlm_args, ONE) ;
X
XCuWlmAddCallback (wlm, NULL,
X		"CuButton", "EXIT", "firstExpose",
X		expose, NULL) ;
XCuWlmAddCallback (wlm, NULL,
X		"CuButton", "EXIT", "resize",
X		resize, NULL) ;
XCuWlmAddCallback (wlm, NULL,
X		"CuBmgr", "exit_button", "setCallback",
X		exit_callback, NULL) ;
XCuWlmAddCallback ( wlm, NULL, "CuBmgr", "rotation increment", "setCallback",
Xincrement, NULL ) ;
XCuWlmAddCallback ( wlm, CuWlmSampling, "CuBmgr", "files", "setCallback",
Xfile_read, NULL) ;
XCuWlmAddCallback ( wlm, CuWlmSampling, "CuBmgr", "banks", "setCallback",
Xbank_mod, True ) ;
XCuWlmAddCallback ( wlm, CuWlmSampling, "CuBmgr", "pos_neg", "setCallback",
Xpos_neg, True ) ;
XCuWlmGetBoolean ( wlm, CuWlmSampling, "CuBmgr", "switch", "setCallback",
X&on_switch) ;
X
XXtRealizeWidget (toplevel) ;
X
XXtSetValues (toplevel, toplevel_args, XtNumber(toplevel_args)) ;
X
XCuWlmSample (wlm) ;
Xfor (;;)
X    {
X    while (on_switch)
X	{
X	CuWlmEvent ( wlm ) ;
X	}
X    CuWlmRequest ( wlm) ;
X    }
X}
X
Xstatic void
Xresize (w, client, call)
X    Widget w ;
X    caddr_t client ;
X    caddr_t call ;
X{
X}
X
Xstatic void
Xexpose (w, client, call)
X    Widget w ;
X    caddr_t client ;
X    caddr_t call ;
X{
X}
X
Xstatic void
Xexit_callback (w, client, call)
X    Widget w ;
X    caddr_t client ;
X    caddr_t call ;
X{
Xexit (0) ;
X}
X
Xstatic void
Xincrement (w, client, call)
X    Widget w ;
X    caddr_t client ;
X    caddr_t call ;
X{
Xreturn ;
X}
X
Xstatic void
Xfile_read (w, client, call)
X    Widget w ;
X    caddr_t client ;
X    caddr_t call ;
X{
XWidget www ;
XString file = (String) call ;
Xwww = CuWlmInquireWidget (wlm, "CuBmgr", "pos_neg") ;
XXtCallCallbacks (www, "setCallback", NULL) ;
Xreturn ;
X}
X
Xstatic void
Xpos_neg (w, client, call)
X    Widget w ;
X    caddr_t client ;
X    caddr_t call ;
X{
XBoolean bool = (Boolean) client ;
Xreturn ;
X}
X
Xstatic void
Xbank_mod (w, client, call)
X    Widget w ;
X    caddr_t client ;
X    caddr_t call ;
X{
Xint bank = (int) call ;
XBoolean bool = (Boolean) client ;
Xreturn ;
X}
X
X#include "xwlm.wh"

END_OF_FILE
echo shar: NEWLINE appended to \"'examples/xwlm/xwlm.c'\"
if test 2908 -ne `wc -c <'examples/xwlm/xwlm.c'`; then
    echo shar: \"'examples/xwlm/xwlm.c'\" unpacked with wrong size!
fi
# end of 'examples/xwlm/xwlm.c'
fi
if test -f 'man/CuBmgr.man' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'man/CuBmgr.man'\"
else
echo shar: Extracting \"'man/CuBmgr.man'\" \(3967 characters\)
sed "s/^X//" >'man/CuBmgr.man' <<'END_OF_FILE'
X.TH CuBmgr 3X "\fBCornell University Widget Set\fR"
X.ad b
X.de}F    
X.ds)H Program of Computer Graphics
X.ev1
X.}E
X.if\\n()s 'sp |\\n(.pu-1v-1p
X.if\\n()t 'sp |\\n(.pu-3v
X.ifn 'sp |\\n(.pu-4v
X.tl\\*()H- % -\\*(]W
X'bp
X.ev
X..
X.SH NAME
XCuBmgr \- Manages semantics of groups of CuButton widgets
X.ne 4
X.SH CLASS HIERARCHY
X\ 
X.br
XCore / CuBmgr
X.ne 4
X.SH NEW RESOURCES
X\ 
X.br
X.TS
Xallbox tab(;);
Xc s s s.
XCuBmgr Resources
X.T&
XlB lB lB lB.
XName;Type;Default;Description
X_
X.T&
XlB l l l.
XXtNbmgrType;CuBmgrType;CuBmgrAnyOfMany;Semantics
XXtNdownAction;Boolean;True;Callbacks occur on down events instead of up
XXtNsetCallback;Callback;;Whenever a child becomes set
XXtNunsetCallback;Callback;;Whenever a child becomes unset
XXtNillegalCallback;Callback;;Whenever a child is forbidden to change state
X.TE
X.ne 4
X.SH DESCRIPTION
X\ 
X.br
XThe \fBCuBmgr\fR  widget understands the semantics of several kinds of
X"button" combinations.
XIt is not, however, a geometry manager.
X\fBCuBmgr\fR children (which must be \fBCuButton\fR widgets)
Xmust also be children of geometry managers.
XThis separation of geometry management and semantic management makes possible
Xseveral techniques that would otherwise be impossible.
XThe children of a \fBCuBmgr\fR need not all be children
Xof the same geometry manager.
XConversely, more than one \fBCuBmgr\fR may have children of a
Xsingle geometry manager.
X.sp
XThe call_data of the callbacks is the value associated with
Xthe \fBCuButton\fR when the \fBCuButton\fR was registered with the \fBCuBmgr\fR.
X.sp
XThe following button semantics are understood by the \fBCuBmgr\fR:
X.sp
X.ne 4
XCuBmgrTransient
X.sp
X.in +5
XThe clicked \fBCuButton\fR
Xchanges from unset to set and back to unset, producing
Xa momentary flicker.
X.in -5
X.sp
X.ne 4
XCuBmgrSingleToggle
X.sp
X.in +5
XThe clicked \fBCuButton\fR changes from unset to set, or vice versa.
X(This is a synonym for CuBmgrAnyOfMany.)
X.in -5
X.sp
X.ne 3
XCuBmgrDoubleToggle
X.sp
X.in +5
XWhen either of a pair of \fBCuButtons\fR is clicked, they swap states.
X.in -5
X.sp
X.ne 4
XCuBmgrOneOfMany
X.sp
X.in +5
XThe clicked unset \fBCuButton\fR changes from unset to set,
Xand the previously set \fBCuButton\fR changes to unset.
XIf a set \fBCuButton\fR is clicked, no \fBCuButtons\fR change state, and
Xa beep is issued.
X.in -5
X.sp
X.ne 3
XCuBmgrAnyOfMany
X.sp
X.in +5
XThe clicked \fBCuButton\fR changes from unset to set, or vice versa.
X.in -5
X.ne 4
X.SH PUBLIC FUNCTIONS
X\ 
X.br
X.ne 4
XCuBmgrManage ( Widget bmgr,  Widget *CuButtonList,  caddr_t *ValueList,  Cardinal n_buttons )
X.sp
X.in +5
XThe list of \fBCuButton\fR widgets is registered with the \fBCuBmgr\fR,
Xand each \fBCuButton\fR
Xis associated with a value for use as call_data during callbacks.
X.in -5
X.sp
X.ne 4
XCuBmgrSample ( Widget CuBmgr )
X.sp
X.in +5
XFor each managed \fBCuButton\fR, each callback in the setCallback list or
XunsetCallback list is called, as appropriate.
XIf the semantic type is CuBmgrTransient, the callbacks are not made.
X.in -5
X.sp
X.ne 4
XCuBmgrSetAll ( Widget CuBmgr )
X.sp
X.in +5
XEach managed \fBCuButton\fR has its state set to "True", and each callback
Xin the setCallback list is called.
X.in -5
X.sp
X.ne 4
XCuBmgrUnsetAll ( Widget CuBmgr )
X.sp
X.in +5
XEach managed \fBCuButton\fR has its state set to "False", and each callback
Xin the unsetCallback list is called.
X.in -5
X.sp
X.ne 4
XCuBmgrToggleAll ( Widget CuBmgr )
X.sp
X.in +5
XEach managed \fBCuButton\fR has its state reversed and each callback
Xin the setCallback or unsetCallback list is called, as appropriate.
X.in -5
X.ne 4
X.SH DIAGNOSTICS
X\ 
X.br
XIf there are an improper number of children in the set state for the
Xchosen semantics, a warning is issued with a description of the rectifying
Xaction.
X.ne 4
X.SH FUTURE ENHANCEMENTS
X\ 
X.br
XThere needs to be a method for the semantics of "at most N of many" and
X"at least N of many".
X.ne 4
X.SH SEE ALSO
X\ 
X.br
XCuBmgrR(3X), CuButton(3X), CuWlm(3X)
X.ne 4
X.SH AUTHOR
X\ 
X.br
XGene Dykes, \fIgwd@freedom.tn.cornell.edu\fR
X.br
XProgram of Computer Graphics, Cornell University
X

END_OF_FILE
echo shar: NEWLINE appended to \"'man/CuBmgr.man'\"
echo shar: 4 control characters may be missing from \"'man/CuBmgr.man'\"
if test 3968 -ne `wc -c <'man/CuBmgr.man'`; then
    echo shar: \"'man/CuBmgr.man'\" unpacked with wrong size!
fi
# end of 'man/CuBmgr.man'
fi
if test -f 'man/CuLabel.man' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'man/CuLabel.man'\"
else
echo shar: Extracting \"'man/CuLabel.man'\" \(2245 characters\)
sed "s/^X//" >'man/CuLabel.man' <<'END_OF_FILE'
X.TH CuLabel 3X "\fBCornell University Widget Set\fR"
X.ad b
X.de}F    
X.ds)H Program of Computer Graphics
X.ev1
X.}E
X.if\\n()s 'sp |\\n(.pu-1v-1p
X.if\\n()t 'sp |\\n(.pu-3v
X.ifn 'sp |\\n(.pu-4v
X.tl\\*()H- % -\\*(]W
X'bp
X.ev
X..
X.SH NAME
XCuLabel \- Basic Labels
X.SH CLASS HIERARCHY
X\ 
X.br
XCore / CuSimple / CuLabel
X.SH NEW RESOURCES
X\ 
X.br
X.TS
Xallbox tab(;);
Xc s s s.
XCuLabel Resources
X.T&
XlB lB lB lB.
XName;Type;Default;Description
X_
X.T&
XlB l l l.
XXtNbitmap;Pixmap;None;Pixmap to display instead of text
XXtNbiggestLabel;String;NULL;largest text to be displayed
XXtNfont;String;"Fixed";font for the label
XXtNforeground;Pixel;"Black";text color
XXtNgravity;CuGravity;CuCenterGravity;gravity of label in oversized widgets
XXtNinternalHeight;Dimension;2;vt distance between border and label
XXtNinternalWidth;Dimension;2;hz distance between border and label
XXtNjustify;CuJustify;CuJustifyCenter;label justification
XXtNlabel;String;widget's core name;text to be displayed
XXtNlineFactor;Float;1.0;multiples of font heights between lines
X.TE
X.SH DESCRIPTION
X\ 
X.br
XThe \fBCuLabel\fR widget handles the basic label display operations.
XIt can display multiple lines of text with left, center, or right justification,
Xand it has self-defined gravity covering each of the eight compass directions
Xand center.
XMultiple lines are created merely by embedding newline characters within
Xthe label.
X.SH COMPARISON WITH THE XAW LABEL WIDGET
X\ 
X.br
XAlthough \fBCuLabel\fR was originally derived from Xaw \fBLabel\fR, it
Xhas been significantly restructured.
XThe following are the major externally visible differences:
X.in +3
X.sp
X\fBCuLabel\fR allows text with embedded newlines, producing multi-line labels.
XThese lines can be left, center, or right justified.
X.sp
XTo prevent annoying resizes, there is a "biggestLabel" resource which permits
Xthe label to be initially sized large enough to hold the largest expected label.
X\fBCuLabel\fR will not request to be made smaller than this size.
X.sp
X\fBCuLabel\fR has a gravity resource.
X.sp
XIt is a subclass of \fBCuSimple\fR.
X.in -3
X.ne4
X.SH SEE ALSO
X\ 
X.br
XCuSimple(3X), CuJustifyR(3X), CuGravityR(3X)
X.ne 4
X.SH AUTHOR
X\ 
X.br
XGene Dykes, \fIgwd@freedom.tn.cornell.edu\fR
X.br
XProgram of Computer Graphics, Cornell University
X

END_OF_FILE
echo shar: NEWLINE appended to \"'man/CuLabel.man'\"
echo shar: 4 control characters may be missing from \"'man/CuLabel.man'\"
if test 2246 -ne `wc -c <'man/CuLabel.man'`; then
    echo shar: \"'man/CuLabel.man'\" unpacked with wrong size!
fi
# end of 'man/CuLabel.man'
fi
if test -f 'man/CuSimple.man' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'man/CuSimple.man'\"
else
echo shar: Extracting \"'man/CuSimple.man'\" \(2426 characters\)
sed "s/^X//" >'man/CuSimple.man' <<'END_OF_FILE'
X.TH CuSimple 3X "\fBCornell University Widget Set\fR"
X.ad b
X.de}F    
X.ds)H Program of Computer Graphics
X.ev1
X.}E
X.if\\n()s 'sp |\\n(.pu-1v-1p
X.if\\n()t 'sp |\\n(.pu-3v
X.ifn 'sp |\\n(.pu-4v
X.tl\\*()H- % -\\*(]W
X'bp
X.ev
X..
X.SH NAME
XCuSimple \- Common Features
X.SH CLASS HIERARCHY
X\ 
X.br
XCore / CuSimple
X.SH NEW RESOURCES
X\ 
X.br
X.TS
Xallbox tab(;);
Xc s s s.
XCuSimple Resources
X.T&
XlB lB lB lB.
XName;Type;Default;Description
X_
X.T&
XlB l l l.
XXtNcursor;Cursor;None;Cursor to display when sensitive
XXtNcursorBackground;Pixel;None;Background color of cursor
XXtNcursorForeground;Pixel;None;Foreground color of cursor
XXtNinsensitiveBorder;Pixmap;None;Border when insensitive
XXtNhighlightWidth;Dimension;2;Width of highlight frame
XXtNhighlightColor;Pixel;"White";Highlight color when sensitive
XXtNfacetWidth;Dimension;5;Width of each picture frame facet
XXtNdimFacetColor;Pixel;"LightSteelBlue";Shaded facets of picture frame
XXtNbrightFacetColor;Pixel;"SteelBlue";Bright facets of picture frame
XXtNshadow;Boolean;False;Put shadows behind widgets instead of frames
X.TE
X.SH DESCRIPTION
X\ 
X.br
XAlthough \fBCuSimple\fR was originally derived from Xaw \fBSimple\fR, it
Xhas been significantly restructured.
XThe \fBCuSimple\fR widget implements many features commonly used
Xby non-composite widgets.  These features concern cursor sensitivity and
Xframes for 3D appearance.
X.sp
X.ce
X.ne 4
XPICTURE FRAMES
X.sp
XBy default, \fBCuSimple\fR derived widgets are surrounded by a picture frame
Xconsisting of facets of width 5.  The left and top facets are colored
Xdifferently so that it appears that there is a light source shining down
Xfrom the upper left (if the brightFacetColor is properly chosen to be
Xbrighter than dimFacetColor).  The effect is quite pleasing when "good"
Xcolors are available.
X.sp
X.ce
X.ne 5
XSHADOWS
X.sp
XFor systems with black and white or primary colors only, shadows provide
Xa much better appearance of 3D relief.  Shadows use the dimFacetColor resource
Xand the facetWidth resource to determine the color and offset of the shadow.
XThe shadow takes on the highlightColor when highlighting is active.
X.sp
X.ce
X.ne 5
XCURSOR SENSITIVITY
X.sp
XResources are available to set cursor type and colors,
Xhighlight width and colors, and
Xborders in response to sensitivity and presence of a cursor in the widget.
X.in -3
X.ne 4
X.SH AUTHOR
X\ 
X.br
XGene Dykes, \fIgwd@freedom.tn.cornell.edu\fR
X.br
XProgram of Computer Graphics, Cornell University
X

END_OF_FILE
echo shar: NEWLINE appended to \"'man/CuSimple.man'\"
echo shar: 4 control characters may be missing from \"'man/CuSimple.man'\"
if test 2427 -ne `wc -c <'man/CuSimple.man'`; then
    echo shar: \"'man/CuSimple.man'\" unpacked with wrong size!
fi
# end of 'man/CuSimple.man'
fi
if test -f 'man/wlc.man' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'man/wlc.man'\"
else
echo shar: Extracting \"'man/wlc.man'\" \(3638 characters\)
sed "s/^X//" >'man/wlc.man' <<'END_OF_FILE'
X.TH wlc 3X "\fBCornell University Widget Set\fR"
X.ad b
X.de}F    
X.ds)H Program of Computer Graphics
X.ev1
X.}E
X.if\\n()s 'sp |\\n(.pu-1v-1p
X.if\\n()t 'sp |\\n(.pu-3v
X.ifn 'sp |\\n(.pu-4v
X.tl\\*()H- % -\\*(]W
X'bp
X.ev
X..
X.SH NAME
Xwlc \- A Widget Layout Compiler
X.ne 6
X.SH OVERVIEW
X\ 
X.br
XUsage: \fBwlc\fR \fIname\fR, or \fBwlc\fR \fIname.wl\fR
X.sp
XThe \fBwlc\fR widget layout compiler
Xparses a description language with a .wl extension and outputs three files:
X.in +5
X.sp
X\fIname\fR.wc - a compiled widget layout description
X.br
X\fIname\fR.cl - a list of widget classes encountered in \fIname\fR.wl.
X.br
X\fIname\fR.lw - a list of .wl files encountered in \fIname\fR.wl.
X.in -5
X.sp
X\fIname\fR.wc is the file that is referenced by the \fBCuWlm\fR
XXtNfile resource.  There are three reasons for having compilation be
Xa separate process.  Since compilation is rapid, speed is the least
Ximportant reason.  Probably more important is the size of client programs,
Xsince this isolates the largish routines generated by lex and yacc.
XThe primary reason, however, is to enable an automatic mechanism
Xfor linking the required widgets with the client program.  The
X\fIname\fR.cl and
X\fIname\fR.lw files are part of that mechanism.
X.sp
XClient programs are required to have a \fBmake_tag_class_list()\fR procedure
Xwhich creates a list of widget class pairs.  One member of the pair is the
Xwidget class name string as it appears in the description language, and
Xthe other member of the pair is the widget class pointer. 
XTo make this procedure "by hand", follow this template:
X.sp
X#include "CuWlmP.h"
X.br
X#include "Name.h" /* One for each widget */
X.sp
Xvoid make_tag_class_list(wlm)
X.br
XCuWlmWidget wlm ;
X.br
X{
X.br
XTAG_CLASS_ENTRY (wlm, "Name", nameWidgetClass) ; /* One for each widget */
X.br
X}
X.sp
XFor each widget to be linked into the client, substitute the appropriate
Xwidget name.
XE.g., "Name" and "name" could be "CuLabel" and "cuLabel".
X.sp
XThe following Makefile fragment, however, shows how it can be created
Xautomatically when a significant change has been made to the layout
Xdescription:
X.sp
XWLDL=layout.wl
X.br
XWLDLI=layout1 layout2
X.br
XINCL_PATH=/usr/local/include
X.br
XCAT=/bin/cat
X.br
XCLIENT=main
X.sp
X$(CLIENT).o : $(CLIENT).c $(CLIENT).wh
X.br
X	$(CC) -c $(CFLAGS) $(CLIENT).c
X.sp
X$(CLIENT).wh : $(CLIENT).wb
X.br
X	wlm_incl_make `$(CAT) $(CLIENT).wb` > $@
X.sp
X$(CLIENT).nc : $(WLDL)
X.br
X	wlm_update_class $(CLIENT) $?
X.sp
X$(CLIENT).wf : $(CLIENT).nc
X.sp
X$(CLIENT).wb : $(CLIENT).wf
X.br
X	wlm_doupdate $(CLIENT)
X.sp
X$(WLDL) : $(WLDLI)
X.br
X	touch $@
X.sp
XThe logic is as follows:
X.sp
Xmain.c depends on main.wh, which is an include file that
Xcontains make_tag_class_list().
X.sp
Xmain.wh depends on main.wb, which is a list of widgets
X.sp
Xmain.wb depends on a dummy file, main.wf, which is only touched
Xwhen there are new widget names in the layout description
X.sp
Xmain.wb is created from main.nc by wlm_doupdate
X.sp
Xmain.nc is created by wlm_update_class, which invokes the compiler
Xon the layout description.
X.sp 2
XIf only cosmetic changes are made to the layout description, "make" will
Xnot update the client.
XIf, however, new widgets are added, then a new include file will be generated,
Xwhich will then force a recompile and relink.
X
X.ne 6
X.SH WARNINGS
X\ 
X.br
XSome widget sets (e.g., HP) violate intrinsics naming conventions,
Xmaking it difficult to automatically generate a good include file.
Xwlm_incl_make has been fudged to handle HP widgets, but future problems
Xcould occur if future non-compliant widgets are used.
X
X.ne 6
X.SH AUTHOR
X\ 
X.br
XGene Dykes, \fIgwd@freedom.tn.cornell.edu\fR
X.br
XProgram of Computer Graphics, Cornell University
X

END_OF_FILE
echo shar: NEWLINE appended to \"'man/wlc.man'\"
echo shar: 4 control characters may be missing from \"'man/wlc.man'\"
if test 3639 -ne `wc -c <'man/wlc.man'`; then
    echo shar: \"'man/wlc.man'\" unpacked with wrong size!
fi
# end of 'man/wlc.man'
fi
if test -f 'src/CuBmgrR.c' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'src/CuBmgrR.c'\"
else
echo shar: Extracting \"'src/CuBmgrR.c'\" \(2440 characters\)
sed "s/^X//" >'src/CuBmgrR.c' <<'END_OF_FILE'
X#include <X11/Intrinsic.h>
X#include <X11/StringDefs.h>
X#include "CuBmgrR.h"
X
X/**
X *** Resource Converter Name
X **/
X
Xstatic void CvtStringToCuBmgrType() ;	/* Resource Converter */
X
X/**
X *** Resource Converter Quarks
X **/
X
Xstatic XrmQuark	XrmQEtransient,
X		XrmQEsingle_toggle,
X		XrmQEdouble_toggle,
X		XrmQEone_of_many,
X		XrmQEany_of_many,
X		XrmQEhelp ;	/* CuBmgrTypes */
X
X/**
X *** Resource Converter AddConverter Routine
X **/
X
X/*
X * e.g., one_of_many
X *       OneOfMany      } all match
X *       One_of_many
X */
X
Xvoid
XCuAddStringToBmgrTypeConverter ()
X{
Xstatic Boolean first_time = True ;
Xif (first_time)
X    {
X    XrmQEtransient   = XrmStringToQuark("transient") ;
X    XrmQEsingle_toggle = XrmStringToQuark("singletoggle") ;
X    XrmQEdouble_toggle  = XrmStringToQuark("doubletoggle") ;
X    XrmQEone_of_many  = XrmStringToQuark("oneofmany") ;
X    XrmQEany_of_many  = XrmStringToQuark("anyofmany") ;
X    XrmQEhelp  = XrmStringToQuark("help") ;
X    XtAddConverter( XtRString, XtRCuBmgrType, CvtStringToCuBmgrType, NULL, 0 ) ;
X    first_time = False ;
X    }
Xreturn ;
X}
X
X/**
X *** Resource Converter Routine
X **/
X
X#include <ctype.h>
X
X/*
X * Convert String To CuBmgrType
X */
X
Xstatic void CvtStringToCuBmgrType(args, num_args, fromVal, toVal)
X    XrmValuePtr *args ;		/* unused */
X    Cardinal	*num_args ;	/* unused */
X    XrmValuePtr fromVal ;
X    XrmValuePtr toVal ;
X{
XXrmQuark	q ;
XCardinal	i, j ;
Xchar	*s = (char *) fromVal->addr ;
Xchar    lowerName[1000] ;
Xchar	*name_ptr ;
Xstatic CuBmgrType	e ; /* must be static! */
X
Xif (s == NULL) return ;
X
Xfor (i=0,j=0; i<=strlen(s); i++)
X    {
X    char c = s[i] ;
X    lowerName[j] = isupper(c) ? (char) tolower(c) : c ;
X    /* squeeze out underscores */
X    if (lowerName[j] != '_')
X	j++ ;
X    }
X
Xwhile (lowerName[j] == '_')
X    lowerName[j--] = '\0' ;
X
X/* Allow the name to be preceded with "CuBmgr" */
Xname_ptr = lowerName ;
Xif (strncmp (lowerName, "cubmgr", 6) == 0)
X    name_ptr += 6 ;
X
Xq = XrmStringToQuark(name_ptr) ;
X
XtoVal->size = sizeof(CuBmgrType) ;
XtoVal->addr = (caddr_t) &e ;
X
Xif (q == XrmQEtransient)   { e = CuBmgrTransient; return; }
Xif (q == XrmQEsingle_toggle) { e = CuBmgrSingleToggle; return; }
Xif (q == XrmQEdouble_toggle)  { e = CuBmgrDoubleToggle; return; }
Xif (q == XrmQEone_of_many)  { e = CuBmgrOneOfMany;  return; }
Xif (q == XrmQEany_of_many)  { e = CuBmgrAnyOfMany;  return; }
Xif (q == XrmQEhelp)  { e = CuBmgrHelp;  return; }
X
XtoVal->size = 0 ;
XtoVal->addr = NULL ;
Xreturn ;
X}
X

END_OF_FILE
echo shar: NEWLINE appended to \"'src/CuBmgrR.c'\"
if test 2441 -ne `wc -c <'src/CuBmgrR.c'`; then
    echo shar: \"'src/CuBmgrR.c'\" unpacked with wrong size!
fi
# end of 'src/CuBmgrR.c'
fi
if test -f 'src/CuButtonI.h' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'src/CuButtonI.h'\"
else
echo shar: Extracting \"'src/CuButtonI.h'\" \(2318 characters\)
sed "s/^X//" >'src/CuButtonI.h' <<'END_OF_FILE'
X/*
X *
X *  A few definitions to make CuButton.c easier to read.
X *   
X */
X
X  /* Yes, this is gross, but the code will be easier to read.
X     Trust me.  */
X#define ComWx                            cbw->core.x
X#define ComWy                            cbw->core.y
X#define ComWdepth                        cbw->core.depth
X#define ComWwidth                        cbw->core.width
X#define ComWheight                       cbw->core.height
X#define ComWborder_width                 cbw->core.border_width
X#define ComWbackground                   cbw->core.background_pixel
X#define ComWsensitive                    cbw->core.sensitive 
X#define ComWforeground                   cbw->label.foreground
X#define ComWfont                         cbw->label.font
X#define ComWlabel                        cbw->label.label
X#define ComWlocations                    cbw->label.locations
X#define ComWlen                          cbw->label.len
X#define ComWn_lines                      cbw->label.n_lines
X#define ComWinternalWidth                cbw->label.internal_width
X#define ComWinternalHeight               cbw->label.internal_height
X#define ComWlabelX                       cbw->label.x
X#define ComWlabelY                       cbw->label.y
X#define ComWnormalGC                     cbw->button.normal_GC
X#define ComWgrayGC                       cbw->button.gray_GC
X#define ComWcallbackList                 cbw->button.callback_list
X#define ComWcallback                     cbw->button.callback
X#define ComWclosure                      cbw->button.closure
X#define ComWhighlightGC                  cbw->button.highlight_GC
X#define ComWinverseGC                    cbw->button.inverse_GC
X#define ComWinverseTextGC                cbw->button.inverse_text_GC
X#define ComWset                          cbw->button.set
X#define ComWdisplaySet                   cbw->button.display_set
X#define ComWdisplayHighlighted           cbw->button.display_highlighted
X#define ComWhighlighted                  cbw->simple.highlighted
X
X#define XtBField(cbw,field)  cbw->button.field
X#define XtLField(cbw,field)   cbw->label.field
X#define XtCField(cbw,field)   cbw->core.field
X
X
Xstatic void Initialize();
Xstatic void Redisplay();
Xstatic Boolean SetValues();
Xstatic void Notify();
Xstatic void Highlight();
Xstatic void Unhighlight();
Xstatic void Destroy();

END_OF_FILE
echo shar: NEWLINE appended to \"'src/CuButtonI.h'\"
if test 2319 -ne `wc -c <'src/CuButtonI.h'`; then
    echo shar: \"'src/CuButtonI.h'\" unpacked with wrong size!
fi
# end of 'src/CuButtonI.h'
fi
if test -f 'src/CuDeckP.h' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'src/CuDeckP.h'\"
else
echo shar: Extracting \"'src/CuDeckP.h'\" \(2234 characters\)
sed "s/^X//" >'src/CuDeckP.h' <<'END_OF_FILE'
X/* CuDeck widget private definitions */
X
X#ifndef _Cu_DeckP_h
X#define _Cu_DeckP_h
X
X#include <X11/IntrinsicP.h>
X#include <X11/StringDefs.h>
X
X#include <X11/CompositeP.h>	/* Superclass Private Include File	*/
X#include "CuProcedureR.h"
X#include "CuDeck.h"		/* Class Public Include File		*/
X
X/*
X * The new fields added to superclass widget structure
X *
X * "Int" is often used instead of "Dimension" and "Cardinal" because there is
X * frequent use of these variables in expressions involving signed arithmentic
X */
X
Xtypedef struct _CuDeckPart
X    {
X    /* resources */
X    int	internal_width ;    /* horizontal space surrounding children*/
X    int	internal_height ;   /* vertical space surrounding children  */
X    CuResizeParticipants resize_participants ; /* what expands on resizes   */
X    XtCallbackList callbacks;
X    XtProcedureList *procedure_list ;
X
X    /* private state */
X    Widget	*order ;	/* keeps track of stacking order */
X    int		standalone_width ;  /* minimum width of deck		    */
X    int		standalone_height ; /* minimum height of deck		    */
X    Position	*x ;
X    Position	*y ;
X    Dimension	*width ;
X    Dimension	*height ;
X    Dimension	*border_width ;
X    Dimension	new_width ;	    /* set in ETS, xfer'd to core.width in  */
X    Dimension	new_height ;        /* DoLayout                             */
X    Dimension	almost_width ;  /* Values returned with an Almost reply */
X    Dimension	almost_height ;
X    Position	almost_x ;
X    Position	almost_y ;
X    Widget	almost_widget ;
X    Boolean	almost_status ;
X    XtGeometryMask	almost_mode ;
X    int		c_slack ;
X    int		r_slack ;
X    } CuDeckPart ;
X
X/*
X * The complete widget instance structure for this widget
X */
X
Xtypedef struct _CuDeckRec
X    {
X    CorePart		core ;
X    CompositePart	composite ;
X    CuDeckPart		deck ;
X    } CuDeckRec ;
X
Xtypedef struct
X    {
X    int not_used ;
X    } CuDeckClassPart ;
X
X/*
X * The complete widget class structure for the widget
X */
X
Xtypedef struct _CuDeckClassRec
X    {
X    CoreClassPart	core_class ;
X    CompositeClassPart	composite_class ;
X    CuDeckClassPart	deck_class ;
X    } CuDeckClassRec ;
X
X/*
X * The name of a "constant" of the generic widget class structure
X */
X
Xextern CuDeckClassRec cuDeckClassRec ;
X
X#endif _Cu_DeckP_h

END_OF_FILE
echo shar: NEWLINE appended to \"'src/CuDeckP.h'\"
if test 2235 -ne `wc -c <'src/CuDeckP.h'`; then
    echo shar: \"'src/CuDeckP.h'\" unpacked with wrong size!
fi
# end of 'src/CuDeckP.h'
fi
if test -f 'src/CuRc.c' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'src/CuRc.c'\"
else
echo shar: Extracting \"'src/CuRc.c'\" \(3031 characters\)
sed "s/^X//" >'src/CuRc.c' <<'END_OF_FILE'
X#include "CuRcP.h"
X
Xstatic void yyerror () ;
Xstatic int yywrap () ;
Xstatic int input () ;
Xstatic void unput () ;
X
X/* Private Definitions */
X
XCuRcClassRec cuRcClassRec =
X{
X  { /* core_class fields */
X    /* superclass         */    (WidgetClass) &cuTblClassRec,
X    /* class_name         */    "CuRc",
X    /* widget_size        */    sizeof(CuRcRec),
X    /* class_initialize   */    NULL,
X    /* class_part_init    */    NULL,
X    /* class_inited       */    FALSE,
X    /* initialize         */    NULL,
X    /* initialize_hook    */    NULL,
X    /* realize            */    XtInheritRealize,
X    /* actions            */    NULL,
X    /* num_actions        */    0,
X    /* resources          */    NULL,
X    /* num_resources      */    0,
X    /* xrm_class          */    NULLQUARK,
X    /* compress_motion    */    TRUE,
X    /* compress_exposure  */    TRUE,
X    /* compress_enterleave*/    TRUE,
X    /* visible_interest   */    FALSE,
X    /* destroy            */    NULL,
X    /* resize             */    XtInheritResize,
X    /* expose             */    NULL,
X    /* set_values         */    NULL,
X    /* set_values_hook    */    NULL,
X    /* set_values_almost  */    XtInheritSetValuesAlmost,
X    /* get_values_hook    */    NULL,
X    /* accept_focus       */    NULL,
X    /* version            */    XtVersion,
X    /* callback_private   */    NULL,
X    /* tm_table           */    NULL,
X    /* query_geometry	  */	NULL,
X    /* display_accelerator*/	XtInheritDisplayAccelerator,
X    /* extension	  */	NULL,
X  },
X  { /* composite_class fields */
X    /* geometry_manager   */   XtInheritGeometryManager,
X    /* change_managed     */   XtInheritChangeManaged,
X    /* insert_child       */   XtInheritInsertChild,
X    /* delete_child       */   XtInheritDeleteChild,
X    /* extension	  */   NULL,
X  },
X  { /* constraint_class fields */
X    /* subresources       */   NULL,
X    /* subresource_count  */   0,
X    /* constraint_size    */   sizeof(CuRcConstraintsRec),
X    /* initialize         */   NULL,
X    /* destroy            */   NULL,
X    /* set_values         */   NULL
X  },
X  { /* tbl_class fields   */
X    /* interpret_string   */   MyString
X  },
X  { /* rc_class fields    */
X    /* empty  		  */   NULL
X  }
X} ;
X
XWidgetClass cuRcWidgetClass = (WidgetClass)&cuRcClassRec ;
X
X/***** **** *** ** * InterpretString * ** *** **** *****/
X
Xstatic char *rc_format_string ;
Xstatic char *output_format ;
Xstatic char mystring[200] ;
X
Xstatic String MyString (string)
X    char *string ;
X{
Xrc_format_string = string ;
Xoutput_format = mystring ;
Xyyparse () ;
Xreturn mystring ;
X}
X
X#include "CuRc.y.c"
X
Xstatic void
Xyyerror (s)
X    char *s ;
X{
Xchar *etext = "CuRc: yacc parsing error\n" ;
XXtError (etext) ;
X}
X
Xstatic int
Xyywrap ()
X{
Xreturn 1 ;
X}
X
Xstatic int inbuffer[100] ;
Xstatic int inpointer = 0 ;
X
Xstatic int
Xinput ()
X{
Xint t ;
Xif (inpointer)
X    {
X    t = inbuffer[inpointer-1] ;
X    inpointer-- ;
X    }
Xelse
X    {
X    t = *rc_format_string++ ;
X    }
X
Xreturn t ;
X}
X
Xstatic void
Xunput (c)
X    int c ;
X{
Xinbuffer[inpointer++] = c ;
Xreturn ;
X}
X

END_OF_FILE
echo shar: NEWLINE appended to \"'src/CuRc.c'\"
if test 3032 -ne `wc -c <'src/CuRc.c'`; then
    echo shar: \"'src/CuRc.c'\" unpacked with wrong size!
fi
# end of 'src/CuRc.c'
fi
if test -f 'src/CuResizePR.c' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'src/CuResizePR.c'\"
else
echo shar: Extracting \"'src/CuResizePR.c'\" \(2268 characters\)
sed "s/^X//" >'src/CuResizePR.c' <<'END_OF_FILE'
X#include <stdio.h>
X#include <X11/Intrinsic.h>
X#include <X11/StringDefs.h>
X#include "CuResizePR.h"
X
X/**
X *** Resource Converter Name
X **/
X
Xstatic void CvtStringToResizeParticipants() ;	/* Resource Converter */
X
X/**
X *** Resource Converter Quarks
X **/
X
X/* ResizeParticipants */
Xstatic XrmQuark	XrmQEnone, XrmQEinters, XrmQEinternals, XrmQEchildren ;
X
X/**
X *** Resource Converter AddConverter Routine
X **/
X
Xvoid
XCuAddStringToResizeParticipantsConverter ()
X{
Xstatic Boolean first_time = True ;
Xif (first_time)
X    {
X    XrmQEnone   = XrmStringToQuark("none") ;
X    XrmQEinters = XrmStringToQuark("inters") ;
X    XrmQEinternals = XrmStringToQuark("internals") ;
X    XrmQEchildren  = XrmStringToQuark("children") ;
X    XtAddConverter (XtRString, XtRResizeParticipants,
X		    CvtStringToResizeParticipants, NULL, 0 ) ;
X    first_time = False ;
X    }
Xreturn ;
X}
X
X/**
X *** Resource Converter Routine
X **/
X
X#include <ctype.h>
X
X/*
X * Convert String To ResizeParticipants
X */
X
Xstatic void CvtStringToResizeParticipants(args, num_args, fromVal, toVal)
X    XrmValuePtr *args ;		/* unused */
X    Cardinal	*num_args ;	/* unused */
X    XrmValuePtr fromVal ;
X    XrmValuePtr toVal ;
X{
Xstatic XtArgVal	e ; /* must be static! */
XXrmQuark	q ;
XCardinal	i ;
XCardinal	j ;
XCardinal	iptr ;
Xchar	*s = (char *) fromVal->addr ;
Xchar    lowerName[1000] ;
X
Xif (s == NULL) return ;
X
Xfor (i=0,j=0; i<=strlen(s); i++)
X    {
X    char c = s[i] ;
X    if (isspace(c))
X	continue ;
X    lowerName[j] = isupper(c) ? (char) tolower(c) : c ;
X    j++ ;
X    }
XlowerName[j] = '\0' ;
X
Xe = 0 ;
X
XtoVal->size = sizeof(CuResizeParticipants) ;
XtoVal->addr = (caddr_t) &e ;
X
Xiptr = 0 ;
Xfor (i=0;  i < strlen(lowerName);  i++)
X    {
X    if (lowerName[i] == '|' || lowerName[i] == '+' || lowerName[i] == '\0')
X	{
X	lowerName[i] = '\0' ;
X	q = XrmStringToQuark(&lowerName[iptr]) ;
X	if      (q == XrmQEnone)      e |= (XtArgVal)CuResizeNone ;
X	else if (q == XrmQEinters)    e |= (XtArgVal)CuResizeInters ;
X	else if (q == XrmQEinternals) e |= (XtArgVal)CuResizeInternals ;
X	else if (q == XrmQEchildren)  e |= (XtArgVal)CuResizeChildren ;
X	else
X	    {
X	    char text[80] ;
X	    sprintf (text, "(%s) is not a valid ResizeParticipants item\n",
X		     lowerName[i]) ;
X	    XtError (text) ;
X	    }
X	iptr = i+1 ;
X	}
X    }
X
Xreturn ;
X}
X

END_OF_FILE
echo shar: NEWLINE appended to \"'src/CuResizePR.c'\"
if test 2269 -ne `wc -c <'src/CuResizePR.c'`; then
    echo shar: \"'src/CuResizePR.c'\" unpacked with wrong size!
fi
# end of 'src/CuResizePR.c'
fi
if test -f 'src/Imakefile' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'src/Imakefile'\"
else
echo shar: Extracting \"'src/Imakefile'\" \(2247 characters\)
sed "s/^X//" >'src/Imakefile' <<'END_OF_FILE'
X    STD_DEFINES = LibraryDefines
X    CDEBUGFLAGS = LibraryCDebugFlags
X       INCLUDES = -I. -I$(TOOLKITSRC) -I$(TOP) -I$(TOP)/X11
X   INSTALLFLAGS = $(INSTINCFLAGS)
X       LINTLIBS = $(LINTXLIB) $(LINTXTOOL)
X#ifdef RtArchitecture
X             CC = pcc
X#endif
X
XHEADERS = \
X	CuBmgr.h \
X	CuBmgrP.h \
X	CuBmgrR.h \
X	CuButton.h \
X	CuButtonI.h \
X	CuButtonP.h \
X	CuCommand.h \
X	CuCommandI.h \
X	CuCommandP.h \
X	CuDeck.h \
X	CuDeckP.h \
X	CuFloatR.h \
X	CuGravityR.h \
X	CuJustifyR.h \
X	CuLabel.h \
X	CuLabelP.h \
X	CuProcedureR.h \
X	CuRc.h \
X	CuRcP.h \
X	CuResizePR.h \
X	CuSimple.h \
X	CuSimpleI.h \
X	CuSimpleP.h \
X	CuSimpleR.h \
X	CuTbl.h \
X	CuTblP.h \
X	CuWlm.h \
X	CuWlmP.h \
X	disclaimer.h
X
XSRCS = \
X	CuBmgr.c \
X	CuBmgrR.c \
X	CuButton.c \
X	CuCommand.c \
X	CuDeck.c \
X	CuFloatR.c \
X	CuGravityR.c \
X	CuJustifyR.c \
X	CuLabel.c \
X	CuRc.c \
X	CuRc.l \
X	CuRc.y \
X	CuResizePR.c \
X	CuSimple.c \
X	CuTbl.c \
X	CuTbl.l \
X	CuTbl.y \
X	CuWlm.c \
X	CuCopy_ds.c
X
XOBJS = \
X	CuBmgr.o \
X	CuBmgrR.o \
X	CuButton.o \
X	CuCommand.o \
X	CuDeck.o \
X	CuFloatR.o \
X	CuGravityR.o \
X	CuJustifyR.o \
X	CuLabel.o \
X	CuRc.o \
X	CuResizePR.o \
X	CuSimple.o \
X	CuTbl.o \
X	CuWlm.o \
X	CuCopy_ds.o
X
X#if DebugLibXcu && ProfileLibXcu
XDebuggedAndProfiledLibraryObjectRule()
X#else
X# if DebugLibXcu
XDebuggedLibraryObjectRule()
X# else
X#  if ProfileLibXcu
XProfiledLibraryObjectRule()
X#  else
XNormalLibraryObjectRule()
X#  endif
X# endif
X#endif
X
XNormalLibraryTarget(Xcu,$(OBJS))
XLintLibraryTarget(Xcu,$(SRCS))
XInstallLibrary(Xcu,$(USRLIBDIR))
XInstallLintLibrary(Xcu,$(LINTLIBDIR))
X
X#if ProfileLibXcu
XProfiledLibraryTarget(Xcu,$(OBJS))
XInstallLibrary(Xcu_p,$(USRLIBDIR))
X#endif
X
X#if DebugLibXcu
XDebuggedLibraryTarget(Xcu,$(OBJS))
X#endif
X
XInstallMultiple($(HEADERS),$(INCDIR))
X
XDependTarget()
X
XNormalLintTarget($(SRCS))
X
XCuRc.c : ;
X
XCuRc.o : CuRc.y.c
X
XCuRc.lex.c :	CuRc.l
X	lex CuRc.l
X	mv lex.yy.c CuRc.lex.c
X
XCuRc.y.c :	CuRc.y CuRc.lex.c
X	yacc CuRc.y
X	mv y.tab.c CuRc.y.c
X
X
XCuTbl.c : ;
X
XCuTbl.lex.c :	CuTbl.l
X	lex CuTbl.l
X	sed 's/yy/ytbl/g' < lex.yy.c > CuTbl.lex.c
X	rm lex.yy.c
X
XCuTbl.o : CuTbl.y.c
X
XCuTbl.y.c :	CuTbl.y CuTbl.lex.c
X	yacc CuTbl.y
X	@echo "These conflicts are harmless... not to worry."
X	@echo "Someday I'll figure out how to make them go away."
X	@echo
X	sed 's/yy/ytbl/g' < y.tab.c > CuTbl.y.c
X	rm y.tab.c
X
X

END_OF_FILE
echo shar: NEWLINE appended to \"'src/Imakefile'\"
if test 2248 -ne `wc -c <'src/Imakefile'`; then
    echo shar: \"'src/Imakefile'\" unpacked with wrong size!
fi
# end of 'src/Imakefile'
fi
echo shar: End of archive 10 \(of 12\).
cp /dev/null ark10isdone
MISSING=""
for I in 1 2 3 4 5 6 7 8 9 10 11 12 ; do
    if test ! -f ark${I}isdone ; then
	MISSING="${MISSING} ${I}"
    fi
done
if test "${MISSING}" = "" ; then
    echo You have unpacked all 12 archives.
    rm -f ark[1-9]isdone ark[1-9][0-9]isdone
else
    echo You still need to unpack the following archives:
    echo "        " ${MISSING}
fi
##  End of shell archive.
exit 0