home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume3 / awm2 / part05 < prev    next >
SHell self-extracting ARchive  |  1989-02-20  |  54.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: SHell self-extracting ARchive (archive/shar).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/329 Shell Archive Format default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 75 75 | 6e 65 74 21 6c 6c 6c 2d |Path: uu|net!lll-|
|00000010| 77 69 6e 6b 65 6e 21 61 | 6d 65 73 21 6d 61 69 6c |winken!a|mes!mail|
|00000020| 72 75 73 21 74 75 74 2e | 63 69 73 2e 6f 68 69 6f |rus!tut.|cis.ohio|
|00000030| 2d 73 74 61 74 65 2e 65 | 64 75 21 75 63 62 76 61 |-state.e|du!ucbva|
|00000040| 78 21 64 65 63 77 72 6c | 21 77 79 73 65 21 6d 69 |x!decwrl|!wyse!mi|
|00000050| 6b 65 77 0a 46 72 6f 6d | 3a 20 6d 69 6b 65 77 40 |kew.From|: mikew@|
|00000060| 77 79 73 65 2e 77 79 73 | 65 2e 63 6f 6d 20 28 4d |wyse.wys|e.com (M|
|00000070| 69 6b 65 20 57 65 78 6c | 65 72 29 0a 4e 65 77 73 |ike Wexl|er).News|
|00000080| 67 72 6f 75 70 73 3a 20 | 63 6f 6d 70 2e 73 6f 75 |groups: |comp.sou|
|00000090| 72 63 65 73 2e 78 0a 53 | 75 62 6a 65 63 74 3a 20 |rces.x.S|ubject: |
|000000a0| 76 30 33 69 30 32 31 3a | 20 20 41 72 64 65 6e 74 |v03i021:| Ardent|
|000000b0| 20 57 69 6e 64 6f 77 20 | 4d 61 6e 61 67 65 72 2c | Window |Manager,|
|000000c0| 20 50 61 74 63 68 6c 65 | 76 65 6c 20 39 2c 20 50 | Patchle|vel 9, P|
|000000d0| 61 72 74 30 35 2f 31 32 | 0a 4d 65 73 73 61 67 65 |art05/12|.Message|
|000000e0| 2d 49 44 3a 20 3c 32 30 | 37 31 40 77 79 73 65 2e |-ID: <20|71@wyse.|
|000000f0| 77 79 73 65 2e 63 6f 6d | 3e 0a 44 61 74 65 3a 20 |wyse.com|>.Date: |
|00000100| 32 30 20 46 65 62 20 38 | 39 20 32 32 3a 32 34 3a |20 Feb 8|9 22:24:|
|00000110| 31 35 20 47 4d 54 0a 4f | 72 67 61 6e 69 7a 61 74 |15 GMT.O|rganizat|
|00000120| 69 6f 6e 3a 20 57 79 73 | 65 20 54 65 63 68 6e 6f |ion: Wys|e Techno|
|00000130| 6c 6f 67 79 2c 20 53 61 | 6e 20 4a 6f 73 65 0a 4c |logy, Sa|n Jose.L|
|00000140| 69 6e 65 73 3a 20 31 37 | 36 38 0a 41 70 70 72 6f |ines: 17|68.Appro|
|00000150| 76 65 64 3a 20 6d 69 6b | 65 77 40 77 79 73 65 2e |ved: mik|ew@wyse.|
|00000160| 63 6f 6d 0a 0a 53 75 62 | 6d 69 74 74 65 64 2d 62 |com..Sub|mitted-b|
|00000170| 79 3a 20 6b 6d 77 40 61 | 72 64 65 6e 74 20 28 4b |y: kmw@a|rdent (K|
|00000180| 65 6e 20 57 61 6c 6c 69 | 63 68 29 20 20 0a 50 6f |en Walli|ch) .Po|
|00000190| 73 74 69 6e 67 2d 6e 75 | 6d 62 65 72 3a 20 56 6f |sting-nu|mber: Vo|
|000001a0| 6c 75 6d 65 20 33 2c 20 | 49 73 73 75 65 20 32 31 |lume 3, |Issue 21|
|000001b0| 0a 41 72 63 68 69 76 65 | 2d 6e 61 6d 65 3a 20 61 |.Archive|-name: a|
|000001c0| 77 6d 32 2f 70 61 72 74 | 30 35 0a 0a 23 21 20 2f |wm2/part|05..#! /|
|000001d0| 62 69 6e 2f 73 68 0a 23 | 20 54 68 69 73 20 69 73 |bin/sh.#| This is|
|000001e0| 20 61 20 73 68 65 6c 6c | 20 61 72 63 68 69 76 65 | a shell| archive|
|000001f0| 2e 20 20 52 65 6d 6f 76 | 65 20 61 6e 79 74 68 69 |. Remov|e anythi|
|00000200| 6e 67 20 62 65 66 6f 72 | 65 20 74 68 69 73 20 6c |ng befor|e this l|
|00000210| 69 6e 65 2c 20 74 68 65 | 6e 20 75 6e 70 61 63 6b |ine, the|n unpack|
|00000220| 0a 23 20 69 74 20 62 79 | 20 73 61 76 69 6e 67 20 |.# it by| saving |
|00000230| 69 74 20 69 6e 74 6f 20 | 61 20 66 69 6c 65 20 61 |it into |a file a|
|00000240| 6e 64 20 74 79 70 69 6e | 67 20 22 73 68 20 66 69 |nd typin|g "sh fi|
|00000250| 6c 65 22 2e 20 20 54 6f | 20 6f 76 65 72 77 72 69 |le". To| overwri|
|00000260| 74 65 20 65 78 69 73 74 | 69 6e 67 0a 23 20 66 69 |te exist|ing.# fi|
|00000270| 6c 65 73 2c 20 74 79 70 | 65 20 22 73 68 20 66 69 |les, typ|e "sh fi|
|00000280| 6c 65 20 2d 63 22 2e 20 | 20 59 6f 75 20 63 61 6e |le -c". | You can|
|00000290| 20 61 6c 73 6f 20 66 65 | 65 64 20 74 68 69 73 20 | also fe|ed this |
|000002a0| 61 73 20 73 74 61 6e 64 | 61 72 64 20 69 6e 70 75 |as stand|ard inpu|
|000002b0| 74 20 76 69 61 0a 23 20 | 75 6e 73 68 61 72 2c 20 |t via.# |unshar, |
|000002c0| 6f 72 20 62 79 20 74 79 | 70 69 6e 67 20 22 73 68 |or by ty|ping "sh|
|000002d0| 20 3c 66 69 6c 65 22 2c | 20 65 2e 67 2e 2e 20 20 | <file",| e.g.. |
|000002e0| 49 66 20 74 68 69 73 20 | 61 72 63 68 69 76 65 20 |If this |archive |
|000002f0| 69 73 20 63 6f 6d 70 6c | 65 74 65 2c 20 79 6f 75 |is compl|ete, you|
|00000300| 0a 23 20 77 69 6c 6c 20 | 73 65 65 20 74 68 65 20 |.# will |see the |
|00000310| 66 6f 6c 6c 6f 77 69 6e | 67 20 6d 65 73 73 61 67 |followin|g messag|
|00000320| 65 20 61 74 20 74 68 65 | 20 65 6e 64 3a 0a 23 09 |e at the| end:.#.|
|00000330| 09 22 45 6e 64 20 6f 66 | 20 61 72 63 68 69 76 65 |."End of| archive|
|00000340| 20 35 20 28 6f 66 20 31 | 32 29 2e 22 0a 23 20 43 | 5 (of 1|2).".# C|
|00000350| 6f 6e 74 65 6e 74 73 3a | 20 20 50 61 75 73 65 2e |ontents:| Pause.|
|00000360| 63 20 61 77 6d 2e 68 20 | 6d 65 6e 75 73 2f 74 72 |c awm.h |menus/tr|
|00000370| 61 63 6b 5f 6d 65 6e 75 | 2e 63 0a 23 20 57 72 61 |ack_menu|.c.# Wra|
|00000380| 70 70 65 64 20 62 79 20 | 6d 69 6b 65 77 40 77 79 |pped by |mikew@wy|
|00000390| 73 65 20 6f 6e 20 46 72 | 69 20 46 65 62 20 31 37 |se on Fr|i Feb 17|
|000003a0| 20 31 30 3a 35 30 3a 32 | 33 20 31 39 38 39 0a 50 | 10:50:2|3 1989.P|
|000003b0| 41 54 48 3d 2f 62 69 6e | 3a 2f 75 73 72 2f 62 69 |ATH=/bin|:/usr/bi|
|000003c0| 6e 3a 2f 75 73 72 2f 75 | 63 62 20 3b 20 65 78 70 |n:/usr/u|cb ; exp|
|000003d0| 6f 72 74 20 50 41 54 48 | 0a 69 66 20 74 65 73 74 |ort PATH|.if test|
|000003e0| 20 2d 66 20 27 50 61 75 | 73 65 2e 63 27 20 2d 61 | -f 'Pau|se.c' -a|
|000003f0| 20 22 24 7b 31 7d 22 20 | 21 3d 20 22 2d 63 22 20 | "${1}" |!= "-c" |
|00000400| 3b 20 74 68 65 6e 20 0a | 20 20 65 63 68 6f 20 73 |; then .| echo s|
|00000410| 68 61 72 3a 20 57 69 6c | 6c 20 6e 6f 74 20 63 6c |har: Wil|l not cl|
|00000420| 6f 62 62 65 72 20 65 78 | 69 73 74 69 6e 67 20 66 |obber ex|isting f|
|00000430| 69 6c 65 20 5c 22 27 50 | 61 75 73 65 2e 63 27 5c |ile \"'P|ause.c'\|
|00000440| 22 0a 65 6c 73 65 0a 65 | 63 68 6f 20 73 68 61 72 |".else.e|cho shar|
|00000450| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|00000460| 50 61 75 73 65 2e 63 27 | 5c 22 20 5c 28 33 30 30 |Pause.c'|\" \(300|
|00000470| 33 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |3 charac|ters\).s|
|00000480| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 27 50 61 |ed "s/^X|//" >'Pa|
|00000490| 75 73 65 2e 63 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |use.c' <|<'END_OF|
|000004a0| 5f 46 49 4c 45 27 0a 58 | 0a 58 0a 58 0a 58 23 69 |_FILE'.X|.X.X.X#i|
|000004b0| 66 6e 64 65 66 20 6c 69 | 6e 74 0a 58 73 74 61 74 |fndef li|nt.Xstat|
|000004c0| 69 63 20 63 68 61 72 20 | 2a 72 63 73 69 64 5f 50 |ic char |*rcsid_P|
|000004d0| 61 75 73 65 5f 63 20 3d | 20 22 24 48 65 61 64 65 |ause_c =| "$Heade|
|000004e0| 72 3a 20 2f 75 73 72 2f | 67 72 61 70 68 32 2f 58 |r: /usr/|graph2/X|
|000004f0| 31 31 2e 33 2f 63 6f 6e | 74 72 69 62 2f 77 69 6e |11.3/con|trib/win|
|00000500| 64 6f 77 6d 67 72 73 2f | 61 77 6d 2f 52 43 53 2f |dowmgrs/|awm/RCS/|
|00000510| 50 61 75 73 65 2e 63 2c | 76 20 31 2e 32 20 38 39 |Pause.c,|v 1.2 89|
|00000520| 2f 30 32 2f 30 37 20 32 | 31 3a 32 33 3a 31 35 20 |/02/07 2|1:23:15 |
|00000530| 6a 6b 68 20 45 78 70 20 | 24 22 3b 0a 58 23 65 6e |jkh Exp |$";.X#en|
|00000540| 64 69 66 09 6c 69 6e 74 | 0a 58 0a 58 23 69 6e 63 |dif.lint|.X.X#inc|
|00000550| 6c 75 64 65 20 22 58 31 | 31 2f 63 6f 70 79 72 69 |lude "X1|1/copyri|
|00000560| 67 68 74 2e 68 22 0a 58 | 2f 2a 0a 58 20 2a 0a 58 |ght.h".X|/*.X *.X|
|00000570| 20 2a 20 43 6f 70 79 72 | 69 67 68 74 20 31 39 38 | * Copyr|ight 198|
|00000580| 37 2c 20 31 39 38 38 20 | 62 79 20 41 72 64 65 6e |7, 1988 |by Arden|
|00000590| 74 20 43 6f 6d 70 75 74 | 65 72 20 43 6f 72 70 6f |t Comput|er Corpo|
|000005a0| 72 61 74 69 6f 6e 2c 20 | 53 75 6e 6e 79 76 61 6c |ration, |Sunnyval|
|000005b0| 65 2c 20 43 61 2e 0a 58 | 20 2a 0a 58 20 2a 20 43 |e, Ca..X| *.X * C|
|000005c0| 6f 70 79 72 69 67 68 74 | 20 31 39 38 37 20 62 79 |opyright| 1987 by|
|000005d0| 20 4a 6f 72 64 61 6e 20 | 48 75 62 62 61 72 64 2e | Jordan |Hubbard.|
|000005e0| 0a 58 20 2a 0a 58 20 2a | 0a 58 20 2a 20 20 20 20 |.X *.X *|.X * |
|000005f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000600| 20 20 20 20 20 41 6c 6c | 20 52 69 67 68 74 73 20 | All| Rights |
|00000610| 52 65 73 65 72 76 65 64 | 0a 58 20 2a 0a 58 20 2a |Reserved|.X *.X *|
|00000620| 20 50 65 72 6d 69 73 73 | 69 6f 6e 20 74 6f 20 75 | Permiss|ion to u|
|00000630| 73 65 2c 20 63 6f 70 79 | 2c 20 6d 6f 64 69 66 79 |se, copy|, modify|
|00000640| 2c 20 61 6e 64 20 64 69 | 73 74 72 69 62 75 74 65 |, and di|stribute|
|00000650| 20 74 68 69 73 20 73 6f | 66 74 77 61 72 65 20 61 | this so|ftware a|
|00000660| 6e 64 20 69 74 73 0a 58 | 20 2a 20 64 6f 63 75 6d |nd its.X| * docum|
|00000670| 65 6e 74 61 74 69 6f 6e | 20 66 6f 72 20 61 6e 79 |entation| for any|
|00000680| 20 70 75 72 70 6f 73 65 | 20 61 6e 64 20 77 69 74 | purpose| and wit|
|00000690| 68 6f 75 74 20 66 65 65 | 20 69 73 20 68 65 72 65 |hout fee| is here|
|000006a0| 62 79 20 67 72 61 6e 74 | 65 64 2c 0a 58 20 2a 20 |by grant|ed,.X * |
|000006b0| 70 72 6f 76 69 64 65 64 | 20 74 68 61 74 20 74 68 |provided| that th|
|000006c0| 65 20 61 62 6f 76 65 20 | 63 6f 70 79 72 69 67 68 |e above |copyrigh|
|000006d0| 74 20 6e 6f 74 69 63 65 | 20 61 70 70 65 61 72 20 |t notice| appear |
|000006e0| 69 6e 20 61 6c 6c 20 63 | 6f 70 69 65 73 20 61 6e |in all c|opies an|
|000006f0| 64 20 74 68 61 74 0a 58 | 20 2a 20 62 6f 74 68 20 |d that.X| * both |
|00000700| 74 68 61 74 20 63 6f 70 | 79 72 69 67 68 74 20 6e |that cop|yright n|
|00000710| 6f 74 69 63 65 20 61 6e | 64 20 74 68 69 73 20 70 |otice an|d this p|
|00000720| 65 72 6d 69 73 73 69 6f | 6e 20 6e 6f 74 69 63 65 |ermissio|n notice|
|00000730| 20 61 70 70 65 61 72 20 | 69 6e 0a 58 20 2a 20 73 | appear |in.X * s|
|00000740| 75 70 70 6f 72 74 69 6e | 67 20 64 6f 63 75 6d 65 |upportin|g docume|
|00000750| 6e 74 61 74 69 6f 6e 2c | 20 61 6e 64 20 74 68 61 |ntation,| and tha|
|00000760| 74 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 41 72 |t the na|me of Ar|
|00000770| 64 65 6e 74 20 43 6f 6d | 70 75 74 65 72 0a 58 20 |dent Com|puter.X |
|00000780| 2a 20 43 6f 72 70 6f 72 | 61 74 69 6f 6e 20 6f 72 |* Corpor|ation or|
|00000790| 20 4a 6f 72 64 61 6e 20 | 48 75 62 62 61 72 64 20 | Jordan |Hubbard |
|000007a0| 6e 6f 74 20 62 65 20 75 | 73 65 64 20 69 6e 20 61 |not be u|sed in a|
|000007b0| 64 76 65 72 74 69 73 69 | 6e 67 20 6f 72 20 70 75 |dvertisi|ng or pu|
|000007c0| 62 6c 69 63 69 74 79 0a | 58 20 2a 20 70 65 72 74 |blicity.|X * pert|
|000007d0| 61 69 6e 69 6e 67 20 74 | 6f 20 64 69 73 74 72 69 |aining t|o distri|
|000007e0| 62 75 74 69 6f 6e 20 6f | 66 20 74 68 65 20 73 6f |bution o|f the so|
|000007f0| 66 74 77 61 72 65 20 77 | 69 74 68 6f 75 74 20 73 |ftware w|ithout s|
|00000800| 70 65 63 69 66 69 63 2c | 20 77 72 69 74 74 65 6e |pecific,| written|
|00000810| 0a 58 20 2a 20 70 72 69 | 6f 72 20 70 65 72 6d 69 |.X * pri|or permi|
|00000820| 73 73 69 6f 6e 2e 0a 58 | 20 2a 0a 58 20 2a 2f 0a |ssion..X| *.X */.|
|00000830| 58 0a 58 2f 2a 0a 58 20 | 2a 20 43 6f 70 79 72 69 |X.X/*.X |* Copyri|
|00000840| 67 68 74 20 31 39 38 37 | 20 62 79 20 44 69 67 69 |ght 1987| by Digi|
|00000850| 74 61 6c 20 45 71 75 69 | 70 6d 65 6e 74 20 43 6f |tal Equi|pment Co|
|00000860| 72 70 6f 72 61 74 69 6f | 6e 2c 20 4d 61 79 6e 61 |rporatio|n, Mayna|
|00000870| 72 64 2c 20 4d 61 73 73 | 61 63 68 75 73 65 74 74 |rd, Mass|achusett|
|00000880| 73 2e 0a 58 20 2a 0a 58 | 20 2a 20 20 20 20 20 20 |s..X *.X| * |
|00000890| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000008a0| 20 20 20 41 6c 6c 20 52 | 69 67 68 74 73 20 52 65 | All R|ights Re|
|000008b0| 73 65 72 76 65 64 0a 58 | 20 2a 0a 58 20 2a 20 50 |served.X| *.X * P|
|000008c0| 65 72 6d 69 73 73 69 6f | 6e 20 74 6f 20 75 73 65 |ermissio|n to use|
|000008d0| 2c 20 63 6f 70 79 2c 20 | 6d 6f 64 69 66 79 2c 20 |, copy, |modify, |
|000008e0| 61 6e 64 20 64 69 73 74 | 72 69 62 75 74 65 20 74 |and dist|ribute t|
|000008f0| 68 69 73 20 73 6f 66 74 | 77 61 72 65 20 61 6e 64 |his soft|ware and|
|00000900| 20 69 74 73 0a 58 20 2a | 20 64 6f 63 75 6d 65 6e | its.X *| documen|
|00000910| 74 61 74 69 6f 6e 20 66 | 6f 72 20 61 6e 79 20 70 |tation f|or any p|
|00000920| 75 72 70 6f 73 65 20 61 | 6e 64 20 77 69 74 68 6f |urpose a|nd witho|
|00000930| 75 74 20 66 65 65 20 69 | 73 20 68 65 72 65 62 79 |ut fee i|s hereby|
|00000940| 20 67 72 61 6e 74 65 64 | 2c 0a 58 20 2a 20 70 72 | granted|,.X * pr|
|00000950| 6f 76 69 64 65 64 20 74 | 68 61 74 20 74 68 65 20 |ovided t|hat the |
|00000960| 61 62 6f 76 65 20 63 6f | 70 79 72 69 67 68 74 20 |above co|pyright |
|00000970| 6e 6f 74 69 63 65 20 61 | 70 70 65 61 72 20 69 6e |notice a|ppear in|
|00000980| 20 61 6c 6c 20 63 6f 70 | 69 65 73 20 61 6e 64 20 | all cop|ies and |
|00000990| 74 68 61 74 0a 58 20 2a | 20 62 6f 74 68 20 74 68 |that.X *| both th|
|000009a0| 61 74 20 63 6f 70 79 72 | 69 67 68 74 20 6e 6f 74 |at copyr|ight not|
|000009b0| 69 63 65 20 61 6e 64 20 | 74 68 69 73 20 70 65 72 |ice and |this per|
|000009c0| 6d 69 73 73 69 6f 6e 20 | 6e 6f 74 69 63 65 20 61 |mission |notice a|
|000009d0| 70 70 65 61 72 20 69 6e | 0a 58 20 2a 20 73 75 70 |ppear in|.X * sup|
|000009e0| 70 6f 72 74 69 6e 67 20 | 64 6f 63 75 6d 65 6e 74 |porting |document|
|000009f0| 61 74 69 6f 6e 2c 20 61 | 6e 64 20 74 68 61 74 20 |ation, a|nd that |
|00000a00| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 44 69 67 69 |the name| of Digi|
|00000a10| 74 61 6c 20 45 71 75 69 | 70 6d 65 6e 74 0a 58 20 |tal Equi|pment.X |
|00000a20| 2a 20 43 6f 72 70 6f 72 | 61 74 69 6f 6e 20 6e 6f |* Corpor|ation no|
|00000a30| 74 20 62 65 20 75 73 65 | 64 20 69 6e 20 61 64 76 |t be use|d in adv|
|00000a40| 65 72 74 69 73 69 6e 67 | 20 6f 72 20 70 75 62 6c |ertising| or publ|
|00000a50| 69 63 69 74 79 20 70 65 | 72 74 61 69 6e 69 6e 67 |icity pe|rtaining|
|00000a60| 20 74 6f 0a 58 20 2a 20 | 64 69 73 74 72 69 62 75 | to.X * |distribu|
|00000a70| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 73 6f 66 74 |tion of |the soft|
|00000a80| 77 61 72 65 20 77 69 74 | 68 6f 75 74 20 73 70 65 |ware wit|hout spe|
|00000a90| 63 69 66 69 63 2c 20 77 | 72 69 74 74 65 6e 20 70 |cific, w|ritten p|
|00000aa0| 72 69 6f 72 20 70 65 72 | 6d 69 73 73 69 6f 6e 2e |rior per|mission.|
|00000ab0| 0a 58 20 2a 0a 58 20 2a | 0a 58 20 2a 20 44 49 47 |.X *.X *|.X * DIG|
|00000ac0| 49 54 41 4c 20 44 49 53 | 43 4c 41 49 4d 53 20 41 |ITAL DIS|CLAIMS A|
|00000ad0| 4c 4c 20 57 41 52 52 41 | 4e 54 49 45 53 20 57 49 |LL WARRA|NTIES WI|
|00000ae0| 54 48 20 52 45 47 41 52 | 44 20 54 4f 20 54 48 49 |TH REGAR|D TO THI|
|00000af0| 53 20 53 4f 46 54 57 41 | 52 45 2c 20 49 4e 43 4c |S SOFTWA|RE, INCL|
|00000b00| 55 44 49 4e 47 0a 58 20 | 2a 20 41 4c 4c 20 49 4d |UDING.X |* ALL IM|
|00000b10| 50 4c 49 45 44 20 57 41 | 52 52 41 4e 54 49 45 53 |PLIED WA|RRANTIES|
|00000b20| 20 4f 46 20 4d 45 52 43 | 48 41 4e 54 41 42 49 4c | OF MERC|HANTABIL|
|00000b30| 49 54 59 20 41 4e 44 20 | 46 49 54 4e 45 53 53 2c |ITY AND |FITNESS,|
|00000b40| 20 49 4e 20 4e 4f 20 45 | 56 45 4e 54 20 53 48 41 | IN NO E|VENT SHA|
|00000b50| 4c 4c 0a 58 20 2a 20 44 | 49 47 49 54 41 4c 20 42 |LL.X * D|IGITAL B|
|00000b60| 45 20 4c 49 41 42 4c 45 | 20 46 4f 52 20 41 4e 59 |E LIABLE| FOR ANY|
|00000b70| 20 53 50 45 43 49 41 4c | 2c 20 49 4e 44 49 52 45 | SPECIAL|, INDIRE|
|00000b80| 43 54 20 4f 52 20 43 4f | 4e 53 45 51 55 45 4e 54 |CT OR CO|NSEQUENT|
|00000b90| 49 41 4c 20 44 41 4d 41 | 47 45 53 20 4f 52 0a 58 |IAL DAMA|GES OR.X|
|00000ba0| 20 2a 20 41 4e 59 20 44 | 41 4d 41 47 45 53 20 57 | * ANY D|AMAGES W|
|00000bb0| 48 41 54 53 4f 45 56 45 | 52 20 52 45 53 55 4c 54 |HATSOEVE|R RESULT|
|00000bc0| 49 4e 47 20 46 52 4f 4d | 20 4c 4f 53 53 20 4f 46 |ING FROM| LOSS OF|
|00000bd0| 20 55 53 45 2c 20 44 41 | 54 41 20 4f 52 20 50 52 | USE, DA|TA OR PR|
|00000be0| 4f 46 49 54 53 2c 0a 58 | 20 2a 20 57 48 45 54 48 |OFITS,.X| * WHETH|
|00000bf0| 45 52 20 49 4e 20 41 4e | 20 41 43 54 49 4f 4e 20 |ER IN AN| ACTION |
|00000c00| 4f 46 20 43 4f 4e 54 52 | 41 43 54 2c 20 4e 45 47 |OF CONTR|ACT, NEG|
|00000c10| 4c 49 47 45 4e 43 45 20 | 4f 52 20 4f 54 48 45 52 |LIGENCE |OR OTHER|
|00000c20| 20 54 4f 52 54 49 4f 55 | 53 20 41 43 54 49 4f 4e | TORTIOU|S ACTION|
|00000c30| 2c 0a 58 20 2a 20 41 52 | 49 53 49 4e 47 20 4f 55 |,.X * AR|ISING OU|
|00000c40| 54 20 4f 46 20 4f 52 20 | 49 4e 20 43 4f 4e 4e 45 |T OF OR |IN CONNE|
|00000c50| 43 54 49 4f 4e 20 57 49 | 54 48 20 54 48 45 20 55 |CTION WI|TH THE U|
|00000c60| 53 45 20 4f 52 20 50 45 | 52 46 4f 52 4d 41 4e 43 |SE OR PE|RFORMANC|
|00000c70| 45 20 4f 46 20 54 48 49 | 53 0a 58 20 2a 20 53 4f |E OF THI|S.X * SO|
|00000c80| 46 54 57 41 52 45 2e 0a | 58 20 2a 2f 0a 58 0a 58 |FTWARE..|X */.X.X|
|00000c90| 0a 58 0a 58 2f 2a 0a 58 | 20 2a 20 4d 4f 44 49 46 |.X.X/*.X| * MODIF|
|00000ca0| 49 43 41 54 49 4f 4e 20 | 48 49 53 54 4f 52 59 0a |ICATION |HISTORY.|
|00000cb0| 58 20 2a 0a 58 20 2a 20 | 30 30 30 20 2d 2d 20 4d |X *.X * |000 -- M|
|00000cc0| 2e 20 47 61 6e 63 61 72 | 7a 2c 20 44 45 43 20 55 |. Gancar|z, DEC U|
|00000cd0| 6c 74 72 69 78 20 45 6e | 67 69 6e 65 65 72 69 6e |ltrix En|gineerin|
|00000ce0| 67 20 47 72 6f 75 70 0a | 58 20 2a 20 30 30 31 20 |g Group.|X * 001 |
|00000cf0| 2d 2d 20 4c 6f 72 65 74 | 74 61 20 47 75 61 72 69 |-- Loret|ta Guari|
|00000d00| 6e 6f 20 52 65 69 64 2c | 20 44 45 43 20 55 6c 74 |no Reid,| DEC Ult|
|00000d10| 72 69 78 20 45 6e 67 69 | 6e 65 65 72 69 6e 67 20 |rix Engi|neering |
|00000d20| 47 72 6f 75 70 2c 0a 58 | 20 2a 20 20 57 65 73 74 |Group,.X| * West|
|00000d30| 65 72 6e 20 53 6f 66 74 | 77 61 72 65 20 4c 61 62 |ern Soft|ware Lab|
|00000d40| 2e 20 43 6f 6e 76 65 72 | 74 20 74 6f 20 58 31 31 |. Conver|t to X11|
|00000d50| 2e 0a 58 20 2a 20 30 30 | 32 20 2d 2d 20 4a 6f 72 |..X * 00|2 -- Jor|
|00000d60| 64 61 6e 20 48 75 62 62 | 61 72 64 2c 20 41 72 64 |dan Hubb|ard, Ard|
|00000d70| 65 6e 74 20 43 6f 6d 70 | 75 74 65 72 0a 58 20 2a |ent Comp|uter.X *|
|00000d80| 20 20 43 68 61 6e 67 65 | 73 20 66 6f 72 20 61 77 | Change|s for aw|
|00000d90| 6d 2e 0a 58 20 2a 2f 0a | 58 0a 58 23 69 6e 63 6c |m..X */.|X.X#incl|
|00000da0| 75 64 65 20 22 61 77 6d | 2e 68 22 0a 58 0a 58 2f |ude "awm|.h".X.X/|
|00000db0| 2a 41 52 47 53 55 53 45 | 44 2a 2f 0a 58 42 6f 6f |*ARGSUSE|D*/.XBoo|
|00000dc0| 6c 65 61 6e 20 50 61 75 | 73 65 28 77 69 6e 64 6f |lean Pau|se(windo|
|00000dd0| 77 2c 20 6d 61 73 6b 2c | 20 62 75 74 74 6f 6e 2c |w, mask,| button,|
|00000de0| 20 78 2c 20 79 29 0a 58 | 57 69 6e 64 6f 77 20 77 | x, y).X|Window w|
|00000df0| 69 6e 64 6f 77 3b 20 20 | 20 20 20 20 20 20 20 20 |indow; | |
|00000e00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e10| 2f 2a 20 45 76 65 6e 74 | 20 77 69 6e 64 6f 77 2e |/* Event| window.|
|00000e20| 20 2a 2f 0a 58 69 6e 74 | 20 6d 61 73 6b 3b 20 20 | */.Xint| mask; |
|00000e30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2a 20 | | /* |
|00000e50| 42 75 74 74 6f 6e 2f 6b | 65 79 20 6d 61 73 6b 2e |Button/k|ey mask.|
|00000e60| 20 2a 2f 0a 58 69 6e 74 | 20 62 75 74 74 6f 6e 3b | */.Xint| button;|
|00000e70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e80| 20 20 20 20 20 20 20 20 | 20 20 20 2f 2a 20 42 75 | | /* Bu|
|00000e90| 74 74 6f 6e 20 65 76 65 | 6e 74 20 64 65 74 61 69 |tton eve|nt detai|
|00000ea0| 6c 2e 20 2a 2f 0a 58 69 | 6e 74 20 78 2c 20 79 3b |l. */.Xi|nt x, y;|
|00000eb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ec0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2f | | /|
|00000ed0| 2a 20 45 76 65 6e 74 20 | 6d 6f 75 73 65 20 70 6f |* Event |mouse po|
|00000ee0| 73 69 74 69 6f 6e 2e 20 | 2a 2f 0a 58 7b 0a 58 20 |sition. |*/.X{.X |
|00000ef0| 20 20 20 45 6e 74 72 79 | 28 22 50 61 75 73 65 22 | Entry|("Pause"|
|00000f00| 29 0a 58 0a 58 20 20 20 | 20 58 47 72 61 62 53 65 |).X.X | XGrabSe|
|00000f10| 72 76 65 72 28 64 70 79 | 29 3b 0a 58 20 20 20 20 |rver(dpy|);.X |
|00000f20| 4c 65 61 76 65 28 46 41 | 4c 53 45 29 0a 58 7d 0a |Leave(FA|LSE).X}.|
|00000f30| 58 0a 58 2f 2a 41 52 47 | 53 55 53 45 44 2a 2f 0a |X.X/*ARG|SUSED*/.|
|00000f40| 58 42 6f 6f 6c 65 61 6e | 20 43 6f 6e 74 69 6e 75 |XBoolean| Continu|
|00000f50| 65 28 77 69 6e 64 6f 77 | 2c 20 6d 61 73 6b 2c 20 |e(window|, mask, |
|00000f60| 62 75 74 74 6f 6e 2c 20 | 78 2c 20 79 29 0a 58 57 |button, |x, y).XW|
|00000f70| 69 6e 64 6f 77 20 77 69 | 6e 64 6f 77 3b 20 20 20 |indow wi|ndow; |
|00000f80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000f90| 20 20 20 20 20 20 20 2f | 2a 20 45 76 65 6e 74 20 | /|* Event |
|00000fa0| 77 69 6e 64 6f 77 2e 20 | 2a 2f 0a 58 69 6e 74 20 |window. |*/.Xint |
|00000fb0| 6d 61 73 6b 3b 20 20 20 | 20 20 20 20 20 20 20 20 |mask; | |
|00000fc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000fd0| 20 20 20 20 2f 2a 20 42 | 75 74 74 6f 6e 2f 6b 65 | /* B|utton/ke|
|00000fe0| 79 20 6d 61 73 6b 2e 20 | 2a 2f 0a 58 69 6e 74 20 |y mask. |*/.Xint |
|00000ff0| 62 75 74 74 6f 6e 3b 20 | 20 20 20 20 20 20 20 20 |button; | |
|00001000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001010| 20 20 2f 2a 20 42 75 74 | 74 6f 6e 20 65 76 65 6e | /* But|ton even|
|00001020| 74 20 64 65 74 61 69 6c | 2e 20 2a 2f 0a 58 69 6e |t detail|. */.Xin|
|00001030| 74 20 78 2c 20 79 3b 20 | 20 20 20 20 20 20 20 20 |t x, y; | |
|00001040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001050| 20 20 20 20 20 20 2f 2a | 20 45 76 65 6e 74 20 6d | /*| Event m|
|00001060| 6f 75 73 65 20 70 6f 73 | 69 74 69 6f 6e 2e 20 2a |ouse pos|ition. *|
|00001070| 2f 0a 58 7b 0a 58 20 20 | 20 20 45 6e 74 72 79 28 |/.X{.X | Entry(|
|00001080| 22 43 6f 6e 74 69 6e 75 | 65 22 29 0a 58 0a 58 20 |"Continu|e").X.X |
|00001090| 20 20 20 58 55 6e 67 72 | 61 62 53 65 72 76 65 72 | XUngr|abServer|
|000010a0| 28 64 70 79 29 3b 0a 58 | 20 20 20 20 4c 65 61 76 |(dpy);.X| Leav|
|000010b0| 65 28 46 41 4c 53 45 29 | 0a 58 7d 0a 45 4e 44 5f |e(FALSE)|.X}.END_|
|000010c0| 4f 46 5f 46 49 4c 45 0a | 69 66 20 74 65 73 74 20 |OF_FILE.|if test |
|000010d0| 33 30 30 33 20 2d 6e 65 | 20 60 77 63 20 2d 63 20 |3003 -ne| `wc -c |
|000010e0| 3c 27 50 61 75 73 65 2e | 63 27 60 3b 20 74 68 65 |<'Pause.|c'`; the|
|000010f0| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|00001100| 20 5c 22 27 50 61 75 73 | 65 2e 63 27 5c 22 20 75 | \"'Paus|e.c'\" u|
|00001110| 6e 70 61 63 6b 65 64 20 | 77 69 74 68 20 77 72 6f |npacked |with wro|
|00001120| 6e 67 20 73 69 7a 65 21 | 0a 66 69 0a 23 20 65 6e |ng size!|.fi.# en|
|00001130| 64 20 6f 66 20 27 50 61 | 75 73 65 2e 63 27 0a 66 |d of 'Pa|use.c'.f|
|00001140| 69 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 61 77 |i.if tes|t -f 'aw|
|00001150| 6d 2e 68 27 20 2d 61 20 | 22 24 7b 31 7d 22 20 21 |m.h' -a |"${1}" !|
|00001160| 3d 20 22 2d 63 22 20 3b | 20 74 68 65 6e 20 0a 20 |= "-c" ;| then . |
|00001170| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 57 69 6c 6c | echo sh|ar: Will|
|00001180| 20 6e 6f 74 20 63 6c 6f | 62 62 65 72 20 65 78 69 | not clo|bber exi|
|00001190| 73 74 69 6e 67 20 66 69 | 6c 65 20 5c 22 27 61 77 |sting fi|le \"'aw|
|000011a0| 6d 2e 68 27 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |m.h'\".e|lse.echo|
|000011b0| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|000011c0| 67 20 5c 22 27 61 77 6d | 2e 68 27 5c 22 20 5c 28 |g \"'awm|.h'\" \(|
|000011d0| 32 32 33 31 37 20 63 68 | 61 72 61 63 74 65 72 73 |22317 ch|aracters|
|000011e0| 5c 29 0a 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |\).sed "|s/^X//" |
|000011f0| 3e 27 61 77 6d 2e 68 27 | 20 3c 3c 27 45 4e 44 5f |>'awm.h'| <<'END_|
|00001200| 4f 46 5f 46 49 4c 45 27 | 0a 58 23 69 66 6e 64 65 |OF_FILE'|.X#ifnde|
|00001210| 66 20 6c 69 6e 74 0a 58 | 73 74 61 74 69 63 20 63 |f lint.X|static c|
|00001220| 68 61 72 20 2a 72 63 73 | 69 64 5f 61 77 6d 5f 68 |har *rcs|id_awm_h|
|00001230| 20 3d 20 22 24 48 65 61 | 64 65 72 3a 20 2f 75 73 | = "$Hea|der: /us|
|00001240| 72 2f 67 72 61 70 68 32 | 2f 58 31 31 2e 33 2f 63 |r/graph2|/X11.3/c|
|00001250| 6f 6e 74 72 69 62 2f 77 | 69 6e 64 6f 77 6d 67 72 |ontrib/w|indowmgr|
|00001260| 73 2f 61 77 6d 2f 52 43 | 53 2f 61 77 6d 2e 68 2c |s/awm/RC|S/awm.h,|
|00001270| 76 20 31 2e 32 20 38 39 | 2f 30 32 2f 30 37 20 32 |v 1.2 89|/02/07 2|
|00001280| 31 3a 32 34 3a 32 37 20 | 6a 6b 68 20 45 78 70 20 |1:24:27 |jkh Exp |
|00001290| 24 22 3b 0a 58 23 65 6e | 64 69 66 20 20 6c 69 6e |$";.X#en|dif lin|
|000012a0| 74 0a 58 0a 58 23 69 6e | 63 6c 75 64 65 20 3c 58 |t.X.X#in|clude <X|
|000012b0| 31 31 2f 63 6f 70 79 72 | 69 67 68 74 2e 68 3e 0a |11/copyr|ight.h>.|
|000012c0| 58 2f 2a 0a 58 20 2a 0a | 58 20 2a 20 43 6f 70 79 |X/*.X *.|X * Copy|
|000012d0| 72 69 67 68 74 20 31 39 | 38 37 2c 20 31 39 38 38 |right 19|87, 1988|
|000012e0| 20 62 79 20 41 72 64 65 | 6e 74 20 43 6f 6d 70 75 | by Arde|nt Compu|
|000012f0| 74 65 72 20 43 6f 72 70 | 6f 72 61 74 69 6f 6e 2c |ter Corp|oration,|
|00001300| 20 53 75 6e 6e 79 76 61 | 6c 65 2c 20 43 61 2e 0a | Sunnyva|le, Ca..|
|00001310| 58 20 2a 0a 58 20 2a 20 | 43 6f 70 79 72 69 67 68 |X *.X * |Copyrigh|
|00001320| 74 20 31 39 38 37 20 62 | 79 20 4a 6f 72 64 61 6e |t 1987 b|y Jordan|
|00001330| 20 48 75 62 62 61 72 64 | 2e 0a 58 20 2a 0a 58 20 | Hubbard|..X *.X |
|00001340| 2a 0a 58 20 2a 20 20 20 | 20 20 20 20 20 20 20 20 |*.X * | |
|00001350| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 41 6c | | Al|
|00001360| 6c 20 52 69 67 68 74 73 | 20 52 65 73 65 72 76 65 |l Rights| Reserve|
|00001370| 64 0a 58 20 2a 0a 58 20 | 2a 20 50 65 72 6d 69 73 |d.X *.X |* Permis|
|00001380| 73 69 6f 6e 20 74 6f 20 | 75 73 65 2c 20 63 6f 70 |sion to |use, cop|
|00001390| 79 2c 20 6d 6f 64 69 66 | 79 2c 20 61 6e 64 20 64 |y, modif|y, and d|
|000013a0| 69 73 74 72 69 62 75 74 | 65 20 74 68 69 73 20 73 |istribut|e this s|
|000013b0| 6f 66 74 77 61 72 65 20 | 61 6e 64 20 69 74 73 0a |oftware |and its.|
|000013c0| 58 20 2a 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |X * docu|mentatio|
|000013d0| 6e 20 66 6f 72 20 61 6e | 79 20 70 75 72 70 6f 73 |n for an|y purpos|
|000013e0| 65 20 61 6e 64 20 77 69 | 74 68 6f 75 74 20 66 65 |e and wi|thout fe|
|000013f0| 65 20 69 73 20 68 65 72 | 65 62 79 20 67 72 61 6e |e is her|eby gran|
|00001400| 74 65 64 2c 0a 58 20 2a | 20 70 72 6f 76 69 64 65 |ted,.X *| provide|
|00001410| 64 20 74 68 61 74 20 74 | 68 65 20 61 62 6f 76 65 |d that t|he above|
|00001420| 20 63 6f 70 79 72 69 67 | 68 74 20 6e 6f 74 69 63 | copyrig|ht notic|
|00001430| 65 20 61 70 70 65 61 72 | 20 69 6e 20 61 6c 6c 20 |e appear| in all |
|00001440| 63 6f 70 69 65 73 20 61 | 6e 64 20 74 68 61 74 0a |copies a|nd that.|
|00001450| 58 20 2a 20 62 6f 74 68 | 20 74 68 61 74 20 63 6f |X * both| that co|
|00001460| 70 79 72 69 67 68 74 20 | 6e 6f 74 69 63 65 20 61 |pyright |notice a|
|00001470| 6e 64 20 74 68 69 73 20 | 70 65 72 6d 69 73 73 69 |nd this |permissi|
|00001480| 6f 6e 20 6e 6f 74 69 63 | 65 20 61 70 70 65 61 72 |on notic|e appear|
|00001490| 20 69 6e 0a 58 20 2a 20 | 73 75 70 70 6f 72 74 69 | in.X * |supporti|
|000014a0| 6e 67 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |ng docum|entation|
|000014b0| 2c 20 61 6e 64 20 74 68 | 61 74 20 74 68 65 20 6e |, and th|at the n|
|000014c0| 61 6d 65 20 6f 66 20 41 | 72 64 65 6e 74 20 43 6f |ame of A|rdent Co|
|000014d0| 6d 70 75 74 65 72 0a 58 | 20 2a 20 43 6f 72 70 6f |mputer.X| * Corpo|
|000014e0| 72 61 74 69 6f 6e 20 6f | 72 20 4a 6f 72 64 61 6e |ration o|r Jordan|
|000014f0| 20 48 75 62 62 61 72 64 | 20 6e 6f 74 20 62 65 20 | Hubbard| not be |
|00001500| 75 73 65 64 20 69 6e 20 | 61 64 76 65 72 74 69 73 |used in |advertis|
|00001510| 69 6e 67 20 6f 72 20 70 | 75 62 6c 69 63 69 74 79 |ing or p|ublicity|
|00001520| 0a 58 20 2a 20 70 65 72 | 74 61 69 6e 69 6e 67 20 |.X * per|taining |
|00001530| 74 6f 20 64 69 73 74 72 | 69 62 75 74 69 6f 6e 20 |to distr|ibution |
|00001540| 6f 66 20 74 68 65 20 73 | 6f 66 74 77 61 72 65 20 |of the s|oftware |
|00001550| 77 69 74 68 6f 75 74 20 | 73 70 65 63 69 66 69 63 |without |specific|
|00001560| 2c 20 77 72 69 74 74 65 | 6e 0a 58 20 2a 20 70 72 |, writte|n.X * pr|
|00001570| 69 6f 72 20 70 65 72 6d | 69 73 73 69 6f 6e 2e 0a |ior perm|ission..|
|00001580| 58 20 2a 0a 58 20 2a 2f | 0a 58 0a 58 2f 2a 0a 58 |X *.X */|.X.X/*.X|
|00001590| 20 2a 20 43 6f 70 79 72 | 69 67 68 74 20 31 39 38 | * Copyr|ight 198|
|000015a0| 37 20 62 79 20 44 69 67 | 69 74 61 6c 20 45 71 75 |7 by Dig|ital Equ|
|000015b0| 69 70 6d 65 6e 74 20 43 | 6f 72 70 6f 72 61 74 69 |ipment C|orporati|
|000015c0| 6f 6e 2c 20 4d 61 79 6e | 61 72 64 2c 20 4d 61 73 |on, Mayn|ard, Mas|
|000015d0| 73 61 63 68 75 73 65 74 | 74 73 2e 0a 58 20 2a 0a |sachuset|ts..X *.|
|000015e0| 58 20 2a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |X * | |
|000015f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 41 6c 6c 20 | | All |
|00001600| 52 69 67 68 74 73 20 52 | 65 73 65 72 76 65 64 0a |Rights R|eserved.|
|00001610| 58 20 2a 0a 58 20 2a 20 | 50 65 72 6d 69 73 73 69 |X *.X * |Permissi|
|00001620| 6f 6e 20 74 6f 20 75 73 | 65 2c 20 63 6f 70 79 2c |on to us|e, copy,|
|00001630| 20 6d 6f 64 69 66 79 2c | 20 61 6e 64 20 64 69 73 | modify,| and dis|
|00001640| 74 72 69 62 75 74 65 20 | 74 68 69 73 20 73 6f 66 |tribute |this sof|
|00001650| 74 77 61 72 65 20 61 6e | 64 20 69 74 73 0a 58 20 |tware an|d its.X |
|00001660| 2a 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 20 |* docume|ntation |
|00001670| 66 6f 72 20 61 6e 79 20 | 70 75 72 70 6f 73 65 20 |for any |purpose |
|00001680| 61 6e 64 20 77 69 74 68 | 6f 75 74 20 66 65 65 20 |and with|out fee |
|00001690| 69 73 20 68 65 72 65 62 | 79 20 67 72 61 6e 74 65 |is hereb|y grante|
|000016a0| 64 2c 0a 58 20 2a 20 70 | 72 6f 76 69 64 65 64 20 |d,.X * p|rovided |
|000016b0| 74 68 61 74 20 74 68 65 | 20 61 62 6f 76 65 20 63 |that the| above c|
|000016c0| 6f 70 79 72 69 67 68 74 | 20 6e 6f 74 69 63 65 20 |opyright| notice |
|000016d0| 61 70 70 65 61 72 20 69 | 6e 20 61 6c 6c 20 63 6f |appear i|n all co|
|000016e0| 70 69 65 73 20 61 6e 64 | 20 74 68 61 74 0a 58 20 |pies and| that.X |
|000016f0| 2a 20 62 6f 74 68 20 74 | 68 61 74 20 63 6f 70 79 |* both t|hat copy|
|00001700| 72 69 67 68 74 20 6e 6f | 74 69 63 65 20 61 6e 64 |right no|tice and|
|00001710| 20 74 68 69 73 20 70 65 | 72 6d 69 73 73 69 6f 6e | this pe|rmission|
|00001720| 20 6e 6f 74 69 63 65 20 | 61 70 70 65 61 72 20 69 | notice |appear i|
|00001730| 6e 0a 58 20 2a 20 73 75 | 70 70 6f 72 74 69 6e 67 |n.X * su|pporting|
|00001740| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 2c 20 | documen|tation, |
|00001750| 61 6e 64 20 74 68 61 74 | 20 74 68 65 20 6e 61 6d |and that| the nam|
|00001760| 65 20 6f 66 20 44 69 67 | 69 74 61 6c 20 45 71 75 |e of Dig|ital Equ|
|00001770| 69 70 6d 65 6e 74 0a 58 | 20 2a 20 43 6f 72 70 6f |ipment.X| * Corpo|
|00001780| 72 61 74 69 6f 6e 20 6e | 6f 74 20 62 65 20 75 73 |ration n|ot be us|
|00001790| 65 64 20 69 6e 20 61 64 | 76 65 72 74 69 73 69 6e |ed in ad|vertisin|
|000017a0| 67 20 6f 72 20 70 75 62 | 6c 69 63 69 74 79 20 70 |g or pub|licity p|
|000017b0| 65 72 74 61 69 6e 69 6e | 67 20 74 6f 0a 58 20 2a |ertainin|g to.X *|
|000017c0| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 20 6f 66 | distrib|ution of|
|000017d0| 20 74 68 65 20 73 6f 66 | 74 77 61 72 65 20 77 69 | the sof|tware wi|
|000017e0| 74 68 6f 75 74 20 73 70 | 65 63 69 66 69 63 2c 20 |thout sp|ecific, |
|000017f0| 77 72 69 74 74 65 6e 20 | 70 72 69 6f 72 20 70 65 |written |prior pe|
|00001800| 72 6d 69 73 73 69 6f 6e | 2e 0a 58 20 2a 0a 58 20 |rmission|..X *.X |
|00001810| 2a 0a 58 20 2a 20 44 49 | 47 49 54 41 4c 20 44 49 |*.X * DI|GITAL DI|
|00001820| 53 43 4c 41 49 4d 53 20 | 41 4c 4c 20 57 41 52 52 |SCLAIMS |ALL WARR|
|00001830| 41 4e 54 49 45 53 20 57 | 49 54 48 20 52 45 47 41 |ANTIES W|ITH REGA|
|00001840| 52 44 20 54 4f 20 54 48 | 49 53 20 53 4f 46 54 57 |RD TO TH|IS SOFTW|
|00001850| 41 52 45 2c 20 49 4e 43 | 4c 55 44 49 4e 47 0a 58 |ARE, INC|LUDING.X|
|00001860| 20 2a 20 41 4c 4c 20 49 | 4d 50 4c 49 45 44 20 57 | * ALL I|MPLIED W|
|00001870| 41 52 52 41 4e 54 49 45 | 53 20 4f 46 20 4d 45 52 |ARRANTIE|S OF MER|
|00001880| 43 48 41 4e 54 41 42 49 | 4c 49 54 59 20 41 4e 44 |CHANTABI|LITY AND|
|00001890| 20 46 49 54 4e 45 53 53 | 2c 20 49 4e 20 4e 4f 20 | FITNESS|, IN NO |
|000018a0| 45 56 45 4e 54 20 53 48 | 41 4c 4c 0a 58 20 2a 20 |EVENT SH|ALL.X * |
|000018b0| 44 49 47 49 54 41 4c 20 | 42 45 20 4c 49 41 42 4c |DIGITAL |BE LIABL|
|000018c0| 45 20 46 4f 52 20 41 4e | 59 20 53 50 45 43 49 41 |E FOR AN|Y SPECIA|
|000018d0| 4c 2c 20 49 4e 44 49 52 | 45 43 54 20 4f 52 20 43 |L, INDIR|ECT OR C|
|000018e0| 4f 4e 53 45 51 55 45 4e | 54 49 41 4c 20 44 41 4d |ONSEQUEN|TIAL DAM|
|000018f0| 41 47 45 53 20 4f 52 0a | 58 20 2a 20 41 4e 59 20 |AGES OR.|X * ANY |
|00001900| 44 41 4d 41 47 45 53 20 | 57 48 41 54 53 4f 45 56 |DAMAGES |WHATSOEV|
|00001910| 45 52 20 52 45 53 55 4c | 54 49 4e 47 20 46 52 4f |ER RESUL|TING FRO|
|00001920| 4d 20 4c 4f 53 53 20 4f | 46 20 55 53 45 2c 20 44 |M LOSS O|F USE, D|
|00001930| 41 54 41 20 4f 52 20 50 | 52 4f 46 49 54 53 2c 0a |ATA OR P|ROFITS,.|
|00001940| 58 20 2a 20 57 48 45 54 | 48 45 52 20 49 4e 20 41 |X * WHET|HER IN A|
|00001950| 4e 20 41 43 54 49 4f 4e | 20 4f 46 20 43 4f 4e 54 |N ACTION| OF CONT|
|00001960| 52 41 43 54 2c 20 4e 45 | 47 4c 49 47 45 4e 43 45 |RACT, NE|GLIGENCE|
|00001970| 20 4f 52 20 4f 54 48 45 | 52 20 54 4f 52 54 49 4f | OR OTHE|R TORTIO|
|00001980| 55 53 20 41 43 54 49 4f | 4e 2c 0a 58 20 2a 20 41 |US ACTIO|N,.X * A|
|00001990| 52 49 53 49 4e 47 20 4f | 55 54 20 4f 46 20 4f 52 |RISING O|UT OF OR|
|000019a0| 20 49 4e 20 43 4f 4e 4e | 45 43 54 49 4f 4e 20 57 | IN CONN|ECTION W|
|000019b0| 49 54 48 20 54 48 45 20 | 55 53 45 20 4f 52 20 50 |ITH THE |USE OR P|
|000019c0| 45 52 46 4f 52 4d 41 4e | 43 45 20 4f 46 20 54 48 |ERFORMAN|CE OF TH|
|000019d0| 49 53 0a 58 20 2a 20 53 | 4f 46 54 57 41 52 45 2e |IS.X * S|OFTWARE.|
|000019e0| 0a 58 20 2a 2f 0a 58 0a | 58 20 0a 58 20 0a 58 2f |.X */.X.|X .X .X/|
|000019f0| 2a 0a 58 20 2a 20 4d 4f | 44 49 46 49 43 41 54 49 |*.X * MO|DIFICATI|
|00001a00| 4f 4e 20 48 49 53 54 4f | 52 59 0a 58 20 2a 0a 58 |ON HISTO|RY.X *.X|
|00001a10| 20 2a 20 30 30 30 20 2d | 2d 20 4d 2e 20 47 61 6e | * 000 -|- M. Gan|
|00001a20| 63 61 72 7a 2c 20 44 45 | 43 20 55 6c 74 72 69 78 |carz, DE|C Ultrix|
|00001a30| 20 45 6e 67 69 6e 65 65 | 72 69 6e 67 20 47 72 6f | Enginee|ring Gro|
|00001a40| 75 70 0a 58 20 2a 20 30 | 30 31 20 2d 2d 20 52 2e |up.X * 0|01 -- R.|
|00001a50| 20 4b 69 74 74 65 6c 6c | 2c 20 44 45 43 20 53 74 | Kittell|, DEC St|
|00001a60| 6f 72 61 67 65 20 41 2f | 44 20 4d 61 79 20 31 39 |orage A/|D May 19|
|00001a70| 2c 20 31 39 38 36 0a 58 | 20 2a 20 20 41 64 64 65 |, 1986.X| * Adde|
|00001a80| 64 20 67 6c 6f 62 61 6c | 20 76 61 72 73 20 66 6f |d global| vars fo|
|00001a90| 72 20 77 61 72 70 20 6f | 70 74 69 6f 6e 73 2e 0a |r warp o|ptions..|
|00001aa0| 58 20 2a 20 30 30 32 20 | 2d 2d 20 4c 6f 72 65 74 |X * 002 |-- Loret|
|00001ab0| 74 61 20 47 75 61 72 69 | 6e 6f 20 52 65 69 64 2c |ta Guari|no Reid,|
|00001ac0| 20 44 45 43 20 55 6c 74 | 72 69 78 20 45 6e 67 69 | DEC Ult|rix Engi|
|00001ad0| 6e 65 65 72 69 6e 67 20 | 47 72 6f 75 70 2c 0a 58 |neering |Group,.X|
|00001ae0| 20 2a 20 20 57 65 73 74 | 65 72 6e 20 53 6f 66 74 | * West|ern Soft|
|00001af0| 77 61 72 65 20 4c 61 62 | 2c 20 50 6f 72 74 20 74 |ware Lab|, Port t|
|00001b00| 6f 20 58 31 31 0a 58 20 | 2a 20 30 30 33 20 2d 2d |o X11.X |* 003 --|
|00001b10| 20 4a 6f 72 64 61 6e 20 | 48 75 62 62 61 72 64 2c | Jordan |Hubbard,|
|00001b20| 20 41 72 64 65 6e 74 20 | 43 6f 6d 70 75 74 65 72 | Ardent |Computer|
|00001b30| 0a 58 20 2a 20 20 4d 61 | 6e 79 20 61 64 64 69 74 |.X * Ma|ny addit|
|00001b40| 69 6f 6e 61 6c 20 64 65 | 63 6c 61 72 61 74 69 6f |ional de|claratio|
|00001b50| 6e 73 20 66 6f 72 20 61 | 77 6d 2e 0a 58 20 2a 20 |ns for a|wm..X * |
|00001b60| 31 2e 33 20 2d 2d 20 53 | 75 70 70 6f 72 74 20 66 |1.3 -- S|upport f|
|00001b70| 6f 72 20 57 4d 5f 53 54 | 41 54 45 20 28 4d 69 6b |or WM_ST|ATE (Mik|
|00001b80| 65 20 57 65 78 6c 65 72 | 29 0a 58 20 2a 2f 0a 58 |e Wexler|).X */.X|
|00001b90| 20 0a 58 23 69 66 6e 64 | 65 66 20 41 57 4d 5f 49 | .X#ifnd|ef AWM_I|
|00001ba0| 4e 43 4c 55 44 45 0a 58 | 23 64 65 66 69 6e 65 20 |NCLUDE.X|#define |
|00001bb0| 41 57 4d 5f 49 4e 43 4c | 55 44 45 0a 58 23 69 6e |AWM_INCL|UDE.X#in|
|00001bc0| 63 6c 75 64 65 20 3c 65 | 72 72 6e 6f 2e 68 3e 0a |clude <e|rrno.h>.|
|00001bd0| 58 23 69 6e 63 6c 75 64 | 65 20 3c 73 74 64 69 6f |X#includ|e <stdio|
|00001be0| 2e 68 3e 0a 58 23 69 6e | 63 6c 75 64 65 20 3c 58 |.h>.X#in|clude <X|
|00001bf0| 31 31 2f 49 6e 74 72 69 | 6e 73 69 63 2e 68 3e 0a |11/Intri|nsic.h>.|
|00001c00| 58 23 69 6e 63 6c 75 64 | 65 20 3c 58 31 31 2f 58 |X#includ|e <X11/X|
|00001c10| 61 74 6f 6d 2e 68 3e 0a | 58 0a 58 23 69 6e 63 6c |atom.h>.|X.X#incl|
|00001c20| 75 64 65 20 22 6d 65 6e | 75 73 2f 72 74 6c 6d 65 |ude "men|us/rtlme|
|00001c30| 6e 75 2e 68 22 0a 58 23 | 69 6e 63 6c 75 64 65 20 |nu.h".X#|include |
|00001c40| 22 73 75 70 70 6f 72 74 | 2e 68 22 0a 58 20 0a 58 |"support|.h".X .X|
|00001c50| 23 64 65 66 69 6e 65 20 | 4d 49 4e 28 78 2c 20 79 |#define |MIN(x, y|
|00001c60| 29 09 28 28 78 29 20 3c | 3d 20 28 79 29 20 3f 20 |).((x) <|= (y) ? |
|00001c70| 28 78 29 20 3a 20 28 79 | 29 29 0a 58 23 64 65 66 |(x) : (y|)).X#def|
|00001c80| 69 6e 65 20 4d 41 58 28 | 78 2c 20 79 29 09 28 28 |ine MAX(|x, y).((|
|00001c90| 78 29 20 3e 3d 20 28 79 | 29 20 3f 20 28 78 29 20 |x) >= (y|) ? (x) |
|00001ca0| 3a 20 28 79 29 29 0a 58 | 23 64 65 66 69 6e 65 20 |: (y)).X|#define |
|00001cb0| 56 4f 4c 55 4d 45 5f 50 | 45 52 43 45 4e 54 41 47 |VOLUME_P|ERCENTAG|
|00001cc0| 45 28 78 29 09 28 28 78 | 29 2a 31 34 29 20 0a 58 |E(x).((x|)*14) .X|
|00001cd0| 23 64 65 66 69 6e 65 20 | 4d 6f 64 4d 61 73 6b 20 |#define |ModMask |
|00001ce0| 30 78 46 46 0a 58 23 64 | 65 66 69 6e 65 20 42 75 |0xFF.X#d|efine Bu|
|00001cf0| 74 74 6f 6e 4d 61 73 6b | 28 62 29 09 28 28 28 62 |ttonMask|(b).(((b|
|00001d00| 29 3d 3d 42 75 74 74 6f | 6e 31 29 20 3f 20 42 75 |)==Butto|n1) ? Bu|
|00001d10| 74 74 6f 6e 31 4d 61 73 | 6b 20 3a 20 5c 0a 58 09 |tton1Mas|k : \.X.|
|00001d20| 09 09 20 20 28 28 28 62 | 29 3d 3d 42 75 74 74 6f |.. (((b|)==Butto|
|00001d30| 6e 32 29 20 3f 20 42 75 | 74 74 6f 6e 32 4d 61 73 |n2) ? Bu|tton2Mas|
|00001d40| 6b 20 3a 20 42 75 74 74 | 6f 6e 33 4d 61 73 6b 29 |k : Butt|on3Mask)|
|00001d50| 29 0a 58 0a 58 23 64 65 | 66 69 6e 65 20 44 45 46 |).X.X#de|fine DEF|
|00001d60| 5f 44 45 4c 54 41 09 09 | 31 0a 58 23 64 65 66 69 |_DELTA..|1.X#defi|
|00001d70| 6e 65 20 44 45 46 5f 46 | 55 4e 43 09 09 47 58 63 |ne DEF_F|UNC..GXc|
|00001d80| 6f 70 79 0a 58 23 64 65 | 66 69 6e 65 20 44 45 46 |opy.X#de|fine DEF|
|00001d90| 5f 49 43 4f 4e 5f 42 4f | 52 44 45 52 5f 57 49 44 |_ICON_BO|RDER_WID|
|00001da0| 54 48 20 09 32 0a 58 23 | 64 65 66 69 6e 65 20 44 |TH .2.X#|define D|
|00001db0| 45 46 5f 49 43 4f 4e 5f | 50 41 44 09 09 34 0a 58 |EF_ICON_|PAD..4.X|
|00001dc0| 23 64 65 66 69 6e 65 20 | 44 45 46 5f 50 4f 50 5f |#define |DEF_POP_|
|00001dd0| 42 4f 52 44 45 52 5f 57 | 49 44 54 48 20 09 32 0a |BORDER_W|IDTH .2.|
|00001de0| 58 23 64 65 66 69 6e 65 | 20 44 45 46 5f 50 4f 50 |X#define| DEF_POP|
|00001df0| 5f 50 41 44 09 09 34 0a | 58 23 64 65 66 69 6e 65 |_PAD..4.|X#define|
|00001e00| 20 44 45 46 5f 4d 45 4e | 55 5f 42 4f 52 44 45 52 | DEF_MEN|U_BORDER|
|00001e10| 5f 57 49 44 54 48 20 09 | 32 0a 58 23 64 65 66 69 |_WIDTH .|2.X#defi|
|00001e20| 6e 65 20 44 45 46 5f 4d | 45 4e 55 5f 50 41 44 09 |ne DEF_M|ENU_PAD.|
|00001e30| 09 34 0a 58 23 64 65 66 | 69 6e 65 20 44 45 46 5f |.4.X#def|ine DEF_|
|00001e40| 47 41 44 47 45 54 5f 50 | 41 44 09 09 33 0a 58 23 |GADGET_P|AD..3.X#|
|00001e50| 64 65 66 69 6e 65 20 44 | 45 46 5f 47 41 44 47 45 |define D|EF_GADGE|
|00001e60| 54 5f 42 4f 52 44 45 52 | 09 31 0a 58 23 64 65 66 |T_BORDER|.1.X#def|
|00001e70| 69 6e 65 20 44 45 46 5f | 54 49 54 4c 45 5f 50 41 |ine DEF_|TITLE_PA|
|00001e80| 44 09 09 32 0a 58 23 64 | 65 66 69 6e 65 20 44 45 |D..2.X#d|efine DE|
|00001e90| 46 5f 56 4f 4c 55 4d 45 | 09 09 34 0a 58 23 64 65 |F_VOLUME|..4.X#de|
|00001ea0| 66 69 6e 65 20 44 45 46 | 5f 50 55 53 48 09 09 35 |fine DEF|_PUSH..5|
|00001eb0| 0a 58 23 64 65 66 69 6e | 65 20 44 45 46 5f 42 43 |.X#defin|e DEF_BC|
|00001ec0| 4f 4e 54 45 58 54 5f 57 | 49 44 54 48 09 30 0a 58 |ONTEXT_W|IDTH.0.X|
|00001ed0| 23 64 65 66 69 6e 65 20 | 44 45 46 5f 52 41 49 53 |#define |DEF_RAIS|
|00001ee0| 45 5f 44 45 4c 41 59 09 | 09 31 30 30 09 2f 2a 20 |E_DELAY.|.100./* |
|00001ef0| 6d 69 6c 6c 69 73 65 63 | 6f 6e 64 73 20 2a 2f 0a |millisec|onds */.|
|00001f00| 58 23 64 65 66 69 6e 65 | 20 44 45 46 5f 4d 41 58 |X#define| DEF_MAX|
|00001f10| 5f 43 4f 4c 4f 52 53 09 | 09 30 09 2f 2a 20 30 20 |_COLORS.|.0./* 0 |
|00001f20| 6d 65 61 6e 73 20 74 61 | 6b 65 20 61 73 20 6d 61 |means ta|ke as ma|
|00001f30| 6e 79 20 61 73 20 77 65 | 20 63 61 6e 20 2a 2f 0a |ny as we| can */.|
|00001f40| 58 23 69 66 6e 64 65 66 | 20 44 45 46 5f 42 43 4f |X#ifndef| DEF_BCO|
|00001f50| 4e 54 45 58 54 5f 43 55 | 52 53 4f 52 0a 58 23 64 |NTEXT_CU|RSOR.X#d|
|00001f60| 65 66 69 6e 65 20 44 45 | 46 5f 42 43 4f 4e 54 45 |efine DE|F_BCONTE|
|00001f70| 58 54 5f 43 55 52 53 4f | 52 09 58 43 5f 70 6c 75 |XT_CURSO|R.XC_plu|
|00001f80| 73 0a 58 23 65 6e 64 69 | 66 09 44 45 46 5f 42 43 |s.X#endi|f.DEF_BC|
|00001f90| 4f 4e 54 45 58 54 5f 43 | 55 52 53 4f 52 0a 58 23 |ONTEXT_C|URSOR.X#|
|00001fa0| 69 66 6e 64 65 66 09 44 | 45 46 5f 54 49 54 4c 45 |ifndef.D|EF_TITLE|
|00001fb0| 5f 43 55 52 53 4f 52 0a | 58 23 64 65 66 69 6e 65 |_CURSOR.|X#define|
|00001fc0| 20 44 45 46 5f 54 49 54 | 4c 45 5f 43 55 52 53 4f | DEF_TIT|LE_CURSO|
|00001fd0| 52 09 58 43 5f 6c 65 66 | 74 5f 70 74 72 0a 58 23 |R.XC_lef|t_ptr.X#|
|00001fe0| 65 6e 64 69 66 09 44 45 | 46 5f 54 49 54 4c 45 5f |endif.DE|F_TITLE_|
|00001ff0| 43 55 52 53 4f 52 0a 58 | 23 69 66 6e 64 65 66 09 |CURSOR.X|#ifndef.|
|00002000| 4e 41 4d 45 0a 58 23 64 | 65 66 69 6e 65 20 4e 41 |NAME.X#d|efine NA|
|00002010| 4d 45 09 09 09 22 61 77 | 6d 22 0a 58 23 65 6e 64 |ME..."aw|m".X#end|
|00002020| 69 66 09 4e 41 4d 45 0a | 58 23 69 66 6e 64 65 66 |if.NAME.|X#ifndef|
|00002030| 20 43 4c 41 53 53 0a 58 | 23 64 65 66 69 6e 65 09 | CLASS.X|#define.|
|00002040| 43 4c 41 53 53 09 09 09 | 22 57 6d 22 0a 58 23 65 |CLASS...|"Wm".X#e|
|00002050| 6e 64 69 66 09 43 4c 41 | 53 53 0a 58 23 69 66 6e |ndif.CLA|SS.X#ifn|
|00002060| 64 65 66 09 44 45 46 5f | 46 4f 4e 54 0a 58 23 64 |def.DEF_|FONT.X#d|
|00002070| 65 66 69 6e 65 09 44 45 | 46 5f 46 4f 4e 54 09 09 |efine.DE|F_FONT..|
|00002080| 22 66 69 78 65 64 22 0a | 58 23 65 6e 64 69 66 09 |"fixed".|X#endif.|
|00002090| 44 45 46 5f 46 4f 4e 54 | 0a 58 23 69 66 6e 64 65 |DEF_FONT|.X#ifnde|
|000020a0| 66 09 44 45 46 5f 54 49 | 54 4c 45 5f 46 4f 4e 54 |f.DEF_TI|TLE_FONT|
|000020b0| 0a 58 23 64 65 66 69 6e | 65 09 44 45 46 5f 54 49 |.X#defin|e.DEF_TI|
|000020c0| 54 4c 45 5f 46 4f 4e 54 | 09 09 22 38 78 31 33 22 |TLE_FONT|.."8x13"|
|000020d0| 0a 58 23 65 6e 64 69 66 | 09 44 45 46 5f 54 49 54 |.X#endif|.DEF_TIT|
|000020e0| 4c 45 5f 46 4f 4e 54 0a | 58 23 69 66 6e 64 65 66 |LE_FONT.|X#ifndef|
|000020f0| 09 44 45 46 5f 49 43 4f | 4e 5f 46 4f 4e 54 0a 58 |.DEF_ICO|N_FONT.X|
|00002100| 23 64 65 66 69 6e 65 09 | 44 45 46 5f 49 43 4f 4e |#define.|DEF_ICON|
|00002110| 5f 46 4f 4e 54 09 09 22 | 38 78 31 33 22 0a 58 23 |_FONT.."|8x13".X#|
|00002120| 65 6e 64 69 66 09 44 45 | 46 5f 49 43 4f 4e 5f 46 |endif.DE|F_ICON_F|
|00002130| 4f 4e 54 0a 58 23 69 66 | 6e 64 65 66 09 44 45 46 |ONT.X#if|ndef.DEF|
|00002140| 5f 50 4f 50 55 50 5f 46 | 4f 4e 54 0a 58 23 64 65 |_POPUP_F|ONT.X#de|
|00002150| 66 69 6e 65 09 44 45 46 | 5f 50 4f 50 55 50 5f 46 |fine.DEF|_POPUP_F|
|00002160| 4f 4e 54 09 09 22 39 78 | 31 35 22 0a 58 23 65 6e |ONT.."9x|15".X#en|
|00002170| 64 69 66 09 44 45 46 5f | 50 4f 50 55 50 5f 46 4f |dif.DEF_|POPUP_FO|
|00002180| 4e 54 0a 58 23 69 66 6e | 64 65 66 09 44 45 46 5f |NT.X#ifn|def.DEF_|
|00002190| 47 41 44 47 45 54 5f 46 | 4f 4e 54 0a 58 23 64 65 |GADGET_F|ONT.X#de|
|000021a0| 66 69 6e 65 20 44 45 46 | 5f 47 41 44 47 45 54 5f |fine DEF|_GADGET_|
|000021b0| 46 4f 4e 54 09 09 22 66 | 69 78 65 64 22 0a 58 23 |FONT.."f|ixed".X#|
|000021c0| 65 6e 64 69 66 09 44 45 | 46 5f 47 41 44 47 45 54 |endif.DE|F_GADGET|
|000021d0| 5f 46 4f 4e 54 0a 58 23 | 69 66 6e 64 65 66 09 44 |_FONT.X#|ifndef.D|
|000021e0| 45 46 5f 4d 45 4e 55 5f | 46 4f 4e 54 0a 58 23 64 |EF_MENU_|FONT.X#d|
|000021f0| 65 66 69 6e 65 09 44 45 | 46 5f 4d 45 4e 55 5f 46 |efine.DE|F_MENU_F|
|00002200| 4f 4e 54 09 09 22 38 78 | 31 33 22 0a 58 23 65 6e |ONT.."8x|13".X#en|
|00002210| 64 69 66 09 44 45 46 5f | 4d 45 4e 55 5f 46 4f 4e |dif.DEF_|MENU_FON|
|00002220| 54 0a 58 23 69 66 6e 64 | 65 66 09 44 45 46 5f 42 |T.X#ifnd|ef.DEF_B|
|00002230| 4f 4c 44 5f 46 4f 4e 54 | 0a 58 23 64 65 66 69 6e |OLD_FONT|.X#defin|
|00002240| 65 09 44 45 46 5f 42 4f | 4c 44 5f 46 4f 4e 54 09 |e.DEF_BO|LD_FONT.|
|00002250| 09 22 38 78 31 33 62 6f | 6c 64 22 0a 58 23 65 6e |."8x13bo|ld".X#en|
|00002260| 64 69 66 09 44 45 46 5f | 42 4f 4c 44 5f 46 4f 4e |dif.DEF_|BOLD_FON|
|00002270| 54 0a 58 23 64 65 66 69 | 6e 65 20 44 45 46 5f 4d |T.X#defi|ne DEF_M|
|00002280| 45 4e 55 5f 44 45 4c 54 | 41 09 09 32 30 0a 58 23 |ENU_DELT|A..20.X#|
|00002290| 69 66 6e 64 65 66 20 44 | 45 46 5f 4e 41 4d 45 0a |ifndef D|EF_NAME.|
|000022a0| 58 23 64 65 66 69 6e 65 | 20 44 45 46 5f 4e 41 4d |X#define| DEF_NAM|
|000022b0| 45 09 09 22 4e 6f 4e 61 | 6d 65 22 20 2f 2a 20 66 |E.."NoNa|me" /* f|
|000022c0| 6f 72 20 63 6c 69 65 6e | 74 73 20 77 2f 6e 6f 20 |or clien|ts w/no |
|000022d0| 6e 61 6d 65 20 2a 2f 0a | 58 23 65 6e 64 69 66 0a |name */.|X#endif.|
|000022e0| 58 0a 58 23 64 65 66 69 | 6e 65 20 49 4e 49 54 5f |X.X#defi|ne INIT_|
|000022f0| 50 54 45 58 54 09 09 7b | 27 30 27 2c 20 27 30 27 |PTEXT..{|'0', '0'|
|00002300| 2c 20 27 30 27 2c 20 27 | 78 27 2c 20 27 30 27 2c |, '0', '|x', '0',|
|00002310| 20 27 30 27 2c 20 27 30 | 27 7d 0a 58 0a 58 23 69 | '0', '0|'}.X.X#i|
|00002320| 66 6e 64 65 66 20 54 45 | 4d 50 46 49 4c 45 0a 58 |fndef TE|MPFILE.X|
|00002330| 23 64 65 66 69 6e 65 20 | 54 45 4d 50 46 49 4c 45 |#define |TEMPFILE|
|00002340| 09 09 22 2f 74 6d 70 2f | 61 77 6d 2e 58 58 58 58 |.."/tmp/|awm.XXXX|
|00002350| 58 58 22 0a 58 23 65 6e | 64 69 66 09 54 45 4d 50 |XX".X#en|dif.TEMP|
|00002360| 46 49 4c 45 0a 58 0a 58 | 23 64 65 66 69 6e 65 20 |FILE.X.X|#define |
|00002370| 43 55 52 53 4f 52 5f 57 | 49 44 54 48 09 09 31 36 |CURSOR_W|IDTH..16|
|00002380| 0a 58 23 64 65 66 69 6e | 65 20 43 55 52 53 4f 52 |.X#defin|e CURSOR|
|00002390| 5f 48 45 49 47 48 54 09 | 09 31 36 0a 58 20 0a 58 |_HEIGHT.|.16.X .X|
|000023a0| 23 64 65 66 69 6e 65 20 | 4d 41 58 5f 5a 41 50 5f |#define |MAX_ZAP_|
|000023b0| 56 45 43 54 4f 52 53 09 | 09 38 0a 58 23 64 65 66 |VECTORS.|.8.X#def|
|000023c0| 69 6e 65 20 4d 41 58 5f | 42 4f 58 5f 56 45 43 54 |ine MAX_|BOX_VECT|
|000023d0| 4f 52 53 09 09 32 30 0a | 58 20 0a 58 23 64 65 66 |ORS..20.|X .X#def|
|000023e0| 69 6e 65 20 44 52 41 57 | 5f 57 49 44 54 48 09 09 |ine DRAW|_WIDTH..|
|000023f0| 30 20 09 2f 2a 20 75 73 | 65 20 66 61 73 74 65 73 |0 ./* us|e fastes|
|00002400| 74 20 68 61 72 64 77 61 | 72 65 20 64 72 61 77 20 |t hardwa|re draw |
|00002410| 2a 2f 0a 58 23 64 65 66 | 69 6e 65 20 44 52 41 57 |*/.X#def|ine DRAW|
|00002420| 5f 56 41 4c 55 45 09 09 | 30 78 66 64 0a 58 23 64 |_VALUE..|0xfd.X#d|
|00002430| 65 66 69 6e 65 20 44 52 | 41 57 5f 46 55 4e 43 09 |efine DR|AW_FUNC.|
|00002440| 09 47 58 78 6f 72 0a 58 | 23 64 65 66 69 6e 65 20 |.GXxor.X|#define |
|00002450| 44 52 41 57 5f 50 4c 41 | 4e 45 53 09 09 31 0a 58 |DRAW_PLA|NES..1.X|
|00002460| 0a 58 23 64 65 66 69 6e | 65 20 4e 4f 43 4f 4c 4f |.X#defin|e NOCOLO|
|00002470| 52 09 09 09 2d 31 0a 58 | 0a 58 2f 2a 0a 58 20 2a |R...-1.X|.X/*.X *|
|00002480| 20 54 68 65 20 66 69 72 | 73 74 20 42 49 54 53 5f | The fir|st BITS_|
|00002490| 55 53 45 44 20 62 69 74 | 73 20 6f 66 20 74 68 65 |USED bit|s of the|
|000024a0| 20 6d 61 73 6b 20 61 72 | 65 20 75 73 65 64 20 74 | mask ar|e used t|
|000024b0| 6f 20 64 65 66 69 6e 65 | 20 74 68 65 20 6d 6f 73 |o define| the mos|
|000024c0| 74 20 67 65 6e 65 72 69 | 63 0a 58 20 2a 20 74 79 |t generi|c.X * ty|
|000024d0| 70 65 73 2e 20 41 6c 6c | 20 6f 74 68 65 72 20 62 |pes. All| other b|
|000024e0| 69 74 73 20 61 72 65 20 | 66 72 65 65 20 66 6f 72 |its are |free for|
|000024f0| 20 73 74 6f 72 69 6e 67 | 20 70 65 72 69 70 68 65 | storing| periphe|
|00002500| 72 61 6c 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 2e |ral info|rmation.|
|00002510| 0a 58 20 2a 20 46 6f 72 | 20 6e 6f 77 2c 20 77 65 |.X * For| now, we|
|00002520| 20 75 73 65 20 74 68 65 | 20 65 78 74 72 61 20 62 | use the| extra b|
|00002530| 69 74 73 20 74 6f 20 73 | 70 65 63 69 66 79 20 77 |its to s|pecify w|
|00002540| 68 69 63 68 20 67 61 64 | 67 65 74 28 73 29 20 61 |hich gad|get(s) a|
|00002550| 72 65 20 62 6f 75 6e 64 | 0a 58 20 2a 20 74 6f 20 |re bound|.X * to |
|00002560| 61 6e 20 61 63 74 69 6f | 6e 2e 20 4d 41 58 5f 47 |an actio|n. MAX_G|
|00002570| 41 44 47 45 54 53 20 64 | 65 70 65 6e 64 73 20 6f |ADGETS d|epends o|
|00002580| 6e 20 42 49 54 53 5f 55 | 53 45 44 20 74 6f 20 64 |n BITS_U|SED to d|
|00002590| 65 74 65 72 6d 69 6e 65 | 20 74 68 65 20 6d 61 78 |etermine| the max|
|000025a0| 69 6d 75 6d 0a 58 20 2a | 20 6e 75 6d 62 65 72 20 |imum.X *| number |
|000025b0| 6f 66 20 67 61 64 67 65 | 74 73 20 70 6f 73 73 69 |of gadge|ts possi|
|000025c0| 62 6c 65 2e 20 49 66 20 | 79 6f 75 20 61 64 64 20 |ble. If |you add |
|000025d0| 61 20 6e 65 77 20 63 6f | 6e 74 65 78 74 20 74 79 |a new co|ntext ty|
|000025e0| 70 65 2c 20 62 65 20 73 | 75 72 65 20 74 6f 0a 58 |pe, be s|ure to.X|
|000025f0| 20 2a 20 69 6e 63 72 65 | 6d 65 6e 74 20 42 49 54 | * incre|ment BIT|
|00002600| 53 5f 55 53 45 44 2e 0a | 58 20 2a 2f 0a 58 23 64 |S_USED..|X */.X#d|
|00002610| 65 66 69 6e 65 20 52 4f | 4f 54 09 09 09 30 78 31 |efine RO|OT...0x1|
|00002620| 0a 58 23 64 65 66 69 6e | 65 20 57 49 4e 44 4f 57 |.X#defin|e WINDOW|
|00002630| 09 09 09 30 78 32 0a 58 | 23 64 65 66 69 6e 65 20 |...0x2.X|#define |
|00002640| 49 43 4f 4e 09 09 09 30 | 78 34 0a 58 23 64 65 66 |ICON...0|x4.X#def|
|00002650| 69 6e 65 20 54 49 54 4c | 45 09 09 09 30 78 38 0a |ine TITL|E...0x8.|
|00002660| 58 23 64 65 66 69 6e 65 | 20 42 4f 52 44 45 52 09 |X#define| BORDER.|
|00002670| 09 09 30 78 31 30 0a 58 | 23 64 65 66 69 6e 65 20 |..0x10.X|#define |
|00002680| 47 41 44 47 45 54 09 09 | 09 30 78 32 30 0a 58 0a |GADGET..|.0x20.X.|
|00002690| 58 23 64 65 66 69 6e 65 | 20 42 49 54 53 5f 55 53 |X#define| BITS_US|
|000026a0| 45 44 09 09 36 0a 58 0a | 58 2f 2a 20 57 69 6e 64 |ED..6.X.|X/* Wind|
|000026b0| 6f 77 20 73 74 61 74 65 | 73 20 2a 2f 0a 58 23 64 |ow state|s */.X#d|
|000026c0| 65 66 69 6e 65 20 53 54 | 5f 57 49 4e 44 4f 57 09 |efine ST|_WINDOW.|
|000026d0| 30 78 31 0a 58 23 64 65 | 66 69 6e 65 20 53 54 5f |0x1.X#de|fine ST_|
|000026e0| 49 43 4f 4e 09 09 30 78 | 32 0a 58 23 64 65 66 69 |ICON..0x|2.X#defi|
|000026f0| 6e 65 20 53 54 5f 50 4c | 41 43 45 44 09 30 78 34 |ne ST_PL|ACED.0x4|
|00002700| 0a 58 23 64 65 66 69 6e | 65 20 53 54 5f 44 45 43 |.X#defin|e ST_DEC|
|00002710| 4f 52 41 54 45 44 09 30 | 78 38 0a 58 0a 58 23 64 |ORATED.0|x8.X.X#d|
|00002720| 65 66 69 6e 65 20 44 45 | 43 4f 52 41 54 45 44 28 |efine DE|CORATED(|
|00002730| 61 29 20 28 61 20 26 26 | 20 28 61 2d 3e 73 74 61 |a) (a &&| (a->sta|
|00002740| 74 65 20 26 20 53 54 5f | 44 45 43 4f 52 41 54 45 |te & ST_|DECORATE|
|00002750| 44 29 29 0a 58 0a 58 2f | 2a 20 57 69 6e 64 6f 77 |D)).X.X/|* Window|
|00002760| 20 61 74 74 72 69 62 75 | 74 65 73 20 2a 2f 0a 58 | attribu|tes */.X|
|00002770| 23 64 65 66 69 6e 65 20 | 41 54 5f 4e 4f 4e 45 09 |#define |AT_NONE.|
|00002780| 09 30 78 30 0a 58 23 64 | 65 66 69 6e 65 20 41 54 |.0x0.X#d|efine AT|
|00002790| 5f 54 49 54 4c 45 09 30 | 78 31 0a 58 23 64 65 66 |_TITLE.0|x1.X#def|
|000027a0| 69 6e 65 20 41 54 5f 47 | 41 44 47 45 54 53 09 30 |ine AT_G|ADGETS.0|
|000027b0| 78 32 0a 58 23 64 65 66 | 69 6e 65 20 41 54 5f 52 |x2.X#def|ine AT_R|
|000027c0| 41 49 53 45 09 30 78 34 | 0a 58 23 64 65 66 69 6e |AISE.0x4|.X#defin|
|000027d0| 65 20 41 54 5f 42 4f 52 | 44 45 52 09 30 78 38 0a |e AT_BOR|DER.0x8.|
|000027e0| 58 23 64 65 66 69 6e 65 | 20 41 54 5f 49 4e 50 55 |X#define| AT_INPU|
|000027f0| 54 09 30 78 31 30 0a 58 | 23 64 65 66 69 6e 65 20 |T.0x10.X|#define |
|00002800| 41 54 5f 49 43 4f 4e 4c | 41 42 45 4c 09 30 78 32 |AT_ICONL|ABEL.0x2|
|00002810| 30 0a 58 0a 58 2f 2a 0a | 58 20 2a 20 47 61 64 67 |0.X.X/*.|X * Gadg|
|00002820| 65 74 73 20 61 72 65 6e | 27 74 20 74 68 65 20 73 |ets aren|'t the s|
|00002830| 6f 72 74 20 6f 66 20 65 | 6d 62 65 6c 6c 69 73 68 |ort of e|mbellish|
|00002840| 6d 65 6e 74 73 20 74 68 | 61 74 20 6f 6e 65 20 75 |ments th|at one u|
|00002850| 73 65 73 20 69 6e 20 71 | 75 61 6e 74 69 74 69 74 |ses in q|uantitit|
|00002860| 79 0a 58 20 2a 20 28 75 | 6e 6c 65 73 73 20 6f 6e |y.X * (u|nless on|
|00002870| 65 20 69 73 20 64 65 73 | 69 67 6e 69 6e 67 20 61 |e is des|igning a|
|00002880| 20 74 72 75 6c 79 20 6f | 64 64 20 69 6e 74 65 72 | truly o|dd inter|
|00002890| 66 61 63 65 29 2c 20 73 | 6f 20 77 65 20 6b 65 65 |face), s|o we kee|
|000028a0| 70 20 74 68 65 20 69 6e | 66 6f 72 6d 61 74 69 6f |p the in|formatio|
|000028b0| 6e 0a 58 20 2a 20 69 6e | 20 61 6e 20 61 72 72 61 |n.X * in| an arra|
|000028c0| 79 20 69 6e 73 74 65 61 | 64 20 6f 66 20 75 73 69 |y instea|d of usi|
|000028d0| 6e 67 20 74 68 65 20 75 | 73 75 61 6c 20 6c 69 6e |ng the u|sual lin|
|000028e0| 6b 65 64 20 6c 69 73 74 | 2e 20 4d 41 58 5f 47 41 |ked list|. MAX_GA|
|000028f0| 44 47 45 54 53 20 69 73 | 20 61 20 64 65 72 69 76 |DGETS is| a deriv|
|00002900| 65 64 0a 58 20 2a 20 6d | 61 63 72 6f 20 28 73 65 |ed.X * m|acro (se|
|00002910| 65 20 42 49 54 53 5f 55 | 53 45 44 29 20 74 68 61 |e BITS_U|SED) tha|
|00002920| 74 20 69 73 20 75 73 65 | 64 20 74 6f 20 64 65 74 |t is use|d to det|
|00002930| 65 72 6d 69 6e 65 20 74 | 68 65 20 73 69 7a 65 20 |ermine t|he size |
|00002940| 6f 66 20 74 68 65 0a 58 | 20 2a 20 41 72 72 61 79 |of the.X| * Array|
|00002950| 2e 0a 58 20 2a 0a 58 20 | 2a 2f 0a 58 23 64 65 66 |..X *.X |*/.X#def|
|00002960| 69 6e 65 20 4d 41 58 5f | 47 41 44 47 45 54 53 09 |ine MAX_|GADGETS.|
|00002970| 09 28 28 73 69 7a 65 6f | 66 28 69 6e 74 29 20 2a |.((sizeo|f(int) *|
|00002980| 20 38 29 20 2d 20 42 49 | 54 53 5f 55 53 45 44 29 | 8) - BI|TS_USED)|
|00002990| 0a 58 0a 58 23 69 66 6e | 64 65 66 20 46 41 49 4c |.X.X#ifn|def FAIL|
|000029a0| 55 52 45 0a 58 23 64 65 | 66 69 6e 65 20 46 41 49 |URE.X#de|fine FAI|
|000029b0| 4c 55 52 45 09 30 0a 58 | 23 65 6e 64 69 66 09 46 |LURE.0.X|#endif.F|
|000029c0| 41 49 4c 55 52 45 0a 58 | 0a 58 23 64 65 66 69 6e |AILURE.X|.X#defin|
|000029d0| 65 20 4e 41 4d 45 5f 4c | 45 4e 09 09 32 35 36 4c |e NAME_L|EN..256L|
|000029e0| 09 2f 2a 20 4d 61 78 69 | 6d 75 6d 20 6c 65 6e 67 |./* Maxi|mum leng|
|000029f0| 74 68 20 73 74 72 69 6e | 67 20 6e 61 6d 65 73 20 |th strin|g names |
|00002a00| 2a 2f 0a 58 23 64 65 66 | 69 6e 65 20 45 56 45 4e |*/.X#def|ine EVEN|
|00002a10| 54 4d 41 53 4b 09 09 28 | 42 75 74 74 6f 6e 50 72 |TMASK..(|ButtonPr|
|00002a20| 65 73 73 4d 61 73 6b 20 | 7c 20 42 75 74 74 6f 6e |essMask || Button|
|00002a30| 52 65 6c 65 61 73 65 4d | 61 73 6b 29 0a 58 0a 58 |ReleaseM|ask).X.X|
|00002a40| 0a 58 23 64 65 66 69 6e | 65 20 44 72 61 77 42 6f |.X#defin|e DrawBo|
|00002a50| 78 28 29 20 58 44 72 61 | 77 53 65 67 6d 65 6e 74 |x() XDra|wSegment|
|00002a60| 73 28 64 70 79 2c 20 52 | 6f 6f 74 57 69 6e 64 6f |s(dpy, R|ootWindo|
|00002a70| 77 28 64 70 79 2c 20 73 | 63 72 29 2c 44 72 61 77 |w(dpy, s|cr),Draw|
|00002a80| 47 43 2c 62 6f 78 2c 6e | 75 6d 5f 76 65 63 74 6f |GC,box,n|um_vecto|
|00002a90| 72 73 29 0a 58 23 64 65 | 66 69 6e 65 20 44 72 61 |rs).X#de|fine Dra|
|00002aa0| 77 5a 61 70 28 29 20 58 | 44 72 61 77 53 65 67 6d |wZap() X|DrawSegm|
|00002ab0| 65 6e 74 73 28 64 70 79 | 2c 20 52 6f 6f 74 57 69 |ents(dpy|, RootWi|
|00002ac0| 6e 64 6f 77 28 64 70 79 | 2c 20 73 63 72 29 2c 44 |ndow(dpy|, scr),D|
|00002ad0| 72 61 77 47 43 2c 7a 61 | 70 2c 6e 75 6d 5f 76 65 |rawGC,za|p,num_ve|
|00002ae0| 63 74 6f 72 73 29 0a 58 | 0a 58 23 64 65 66 69 6e |ctors).X|.X#defin|
|00002af0| 65 20 67 72 61 79 5f 77 | 69 64 74 68 20 31 36 0a |e gray_w|idth 16.|
|00002b00| 58 23 64 65 66 69 6e 65 | 20 67 72 61 79 5f 68 65 |X#define| gray_he|
|00002b10| 69 67 68 74 20 31 36 0a | 58 65 78 74 65 72 6e 20 |ight 16.|Xextern |
|00002b20| 63 68 61 72 20 67 72 61 | 79 5f 62 69 74 73 5b 5d |char gra|y_bits[]|
|00002b30| 3b 0a 58 0a 58 23 64 65 | 66 69 6e 65 20 73 6f 6c |;.X.X#de|fine sol|
|00002b40| 69 64 5f 77 69 64 74 68 | 20 31 36 0a 58 23 64 65 |id_width| 16.X#de|
|00002b50| 66 69 6e 65 20 73 6f 6c | 69 64 5f 68 65 69 67 68 |fine sol|id_heigh|
|00002b60| 74 20 31 36 0a 58 65 78 | 74 65 72 6e 20 63 68 61 |t 16.Xex|tern cha|
|00002b70| 72 20 73 6f 6c 69 64 5f | 62 69 74 73 5b 5d 3b 0a |r solid_|bits[];.|
|00002b80| 58 20 0a 58 23 64 65 66 | 69 6e 65 20 78 6c 6f 67 |X .X#def|ine xlog|
|00002b90| 6f 33 32 5f 77 69 64 74 | 68 20 33 32 0a 58 23 64 |o32_widt|h 32.X#d|
|00002ba0| 65 66 69 6e 65 20 78 6c | 6f 67 6f 33 32 5f 68 65 |efine xl|ogo32_he|
|00002bb0| 69 67 68 74 20 33 32 0a | 58 65 78 74 65 72 6e 20 |ight 32.|Xextern |
|00002bc0| 63 68 61 72 20 78 6c 6f | 67 6f 33 32 5f 62 69 74 |char xlo|go32_bit|
|00002bd0| 73 5b 5d 3b 0a 58 0a 58 | 2f 2a 0a 58 20 2a 20 41 |s[];.X.X|/*.X * A|
|00002be0| 6c 6c 20 6f 6e 65 20 6e | 65 65 64 73 20 74 6f 20 |ll one n|eeds to |
|00002bf0| 6b 6e 6f 77 20 61 62 6f | 75 74 20 61 6e 20 61 77 |know abo|ut an aw|
|00002c00| 6d 20 6d 61 6e 61 67 65 | 64 20 77 69 6e 64 6f 77 |m manage|d window|
|00002c10| 2e 2e 20 28 73 6f 20 66 | 61 72 2e 2e 2e 29 0a 58 |.. (so f|ar...).X|
|00002c20| 20 2a 2f 0a 58 23 69 66 | 64 65 66 20 57 4d 53 54 | */.X#if|def WMST|
|00002c30| 41 54 45 0a 58 23 64 65 | 66 69 6e 65 20 57 69 74 |ATE.X#de|fine Wit|
|00002c40| 68 64 72 61 77 53 74 61 | 74 65 09 30 0a 58 23 64 |hdrawSta|te.0.X#d|
|00002c50| 65 66 69 6e 65 20 4e 6f | 72 6d 61 6c 53 74 61 74 |efine No|rmalStat|
|00002c60| 65 09 31 0a 58 23 64 65 | 66 69 6e 65 20 49 63 6f |e.1.X#de|fine Ico|
|00002c70| 6e 69 63 53 74 61 74 65 | 09 33 0a 58 0a 58 74 79 |nicState|.3.X.Xty|
|00002c80| 70 65 64 65 66 20 73 74 | 72 75 63 74 20 7b 0a 58 |pedef st|ruct {.X|
|00002c90| 20 20 69 6e 74 20 73 74 | 61 74 65 3b 0a 58 20 20 | int st|ate;.X |
|00002ca0| 57 69 6e 64 6f 77 20 69 | 63 6f 6e 3b 0a 58 7d 20 |Window i|con;.X} |
|00002cb0| 57 4d 5f 53 54 41 54 45 | 3b 0a 58 0a 58 65 78 74 |WM_STATE|;.X.Xext|
|00002cc0| 65 72 6e 20 41 74 6f 6d | 20 77 6d 5f 73 74 61 74 |ern Atom| wm_stat|
|00002cd0| 65 5f 61 74 6f 6d 3b 0a | 58 23 65 6e 64 69 66 20 |e_atom;.|X#endif |
|00002ce0| 2f 2a 20 57 4d 53 54 41 | 54 45 20 2a 2f 0a 58 0a |/* WMSTA|TE */.X.|
|00002cf0| 58 0a 58 74 79 70 65 64 | 65 66 20 73 74 72 75 63 |X.Xtyped|ef struc|
|00002d00| 74 20 5f 61 77 6d 69 6e | 66 6f 20 7b 0a 58 20 20 |t _awmin|fo {.X |
|00002d10| 20 20 20 57 69 6e 64 6f | 77 20 74 69 74 6c 65 2c | Windo|w title,|
|00002d20| 20 63 6c 69 65 6e 74 2c | 20 66 72 61 6d 65 2c 20 | client,| frame, |
|00002d30| 69 63 6f 6e 3b 09 2f 2a | 20 41 73 73 6f 63 69 61 |icon;./*| Associa|
|00002d40| 74 65 64 20 77 69 6e 64 | 6f 77 73 20 2a 2f 0a 58 |ted wind|ows */.X|
|00002d50| 20 20 20 20 20 57 69 6e | 64 6f 77 20 2a 67 61 64 | Win|dow *gad|
|00002d60| 67 65 74 73 3b 09 09 09 | 2f 2a 20 61 73 73 6f 63 |gets;...|/* assoc|
|00002d70| 69 61 74 65 64 20 67 61 | 64 67 65 74 73 20 2a 2f |iated ga|dgets */|
|00002d80| 0a 58 20 20 20 20 20 63 | 68 61 72 20 2a 6e 61 6d |.X c|har *nam|
|00002d90| 65 3b 09 09 09 2f 2a 20 | 54 68 65 20 66 6f 72 6d |e;.../* |The form|
|00002da0| 61 74 74 65 64 20 77 69 | 6e 64 6f 77 20 6e 61 6d |atted wi|ndow nam|
|00002db0| 65 20 2a 2f 0a 58 20 20 | 20 20 20 42 6f 6f 6c 65 |e */.X | Boole|
|00002dc0| 61 6e 20 6f 77 6e 3b 09 | 09 09 2f 2a 20 44 6f 20 |an own;.|../* Do |
|00002dd0| 77 65 20 6f 77 6e 20 74 | 68 65 20 69 63 6f 6e 20 |we own t|he icon |
|00002de0| 77 69 6e 64 6f 77 3f 20 | 2a 2f 0a 58 20 20 20 20 |window? |*/.X |
|00002df0| 20 50 69 78 6d 61 70 20 | 62 61 63 6b 2c 20 62 6f | Pixmap |back, bo|
|00002e00| 6c 64 2c 20 69 63 6f 6e | 50 69 78 6d 61 70 3b 09 |ld, icon|Pixmap;.|
|00002e10| 2f 2a 20 62 61 63 6b 67 | 72 6f 75 6e 64 2c 20 62 |/* backg|round, b|
|00002e20| 6f 6c 64 20 61 6e 64 20 | 69 63 6f 6e 20 70 69 78 |old and |icon pix|
|00002e30| 20 2a 2f 0a 58 20 20 20 | 20 20 50 69 78 6d 61 70 | */.X | Pixmap|
|00002e40| 20 42 43 5f 62 61 63 6b | 2c 20 42 43 5f 62 6f 6c | BC_back|, BC_bol|
|00002e50| 64 3b 09 09 2f 2a 20 42 | 43 20 62 61 63 6b 20 61 |d;../* B|C back a|
|00002e60| 6e 64 20 62 6f 6c 64 20 | 70 69 78 6d 61 70 73 20 |nd bold |pixmaps |
|00002e70| 2a 2f 0a 58 23 69 66 64 | 65 66 20 52 41 49 4e 42 |*/.X#ifd|ef RAINB|
|00002e80| 4f 57 0a 58 20 20 20 20 | 20 2f 2a 20 50 65 72 20 |OW.X | /* Per |
|00002e90| 77 69 6e 64 6f 77 20 76 | 65 72 73 69 6f 6e 73 20 |window v|ersions |
|00002ea0| 6f 66 20 74 68 65 20 67 | 6c 6f 62 61 6c 73 20 63 |of the g|lobals c|
|00002eb0| 6f 6c 6f 75 72 73 20 2a | 2f 0a 58 20 20 20 20 20 |olours *|/.X |
|00002ec0| 50 69 78 6d 61 70 20 67 | 72 61 79 50 69 78 6d 61 |Pixmap g|rayPixma|
|00002ed0| 70 2c 20 73 6f 6c 69 64 | 50 69 78 6d 61 70 3b 0a |p, solid|Pixmap;.|
|00002ee0| 58 20 20 20 20 20 50 69 | 78 6d 61 70 20 69 42 61 |X Pi|xmap iBa|
|00002ef0| 63 6b 50 69 78 6d 61 70 | 3b 0a 58 20 20 20 20 20 |ckPixmap|;.X |
|00002f00| 50 69 78 65 6c 20 66 6f | 72 65 43 6f 6c 6f 72 2c |Pixel fo|reColor,|
|00002f10| 20 62 61 63 6b 43 6f 6c | 6f 72 3b 0a 58 20 20 20 | backCol|or;.X |
|00002f20| 20 20 50 69 78 65 6c 20 | 69 42 6f 72 64 65 72 3b | Pixel |iBorder;|
|00002f30| 0a 58 20 20 20 20 20 50 | 69 78 65 6c 20 69 42 61 |.X P|ixel iBa|
|00002f40| 63 6b 67 72 6f 75 6e 64 | 2c 20 69 46 6f 72 65 67 |ckground|, iForeg|
|00002f50| 72 6f 75 6e 64 3b 0a 58 | 20 20 20 20 20 50 69 78 |round;.X| Pix|
|00002f60| 65 6c 20 69 54 65 78 74 | 46 6f 72 65 67 72 6f 75 |el iText|Foregrou|
|00002f70| 6e 64 2c 20 69 54 65 78 | 74 42 61 63 6b 67 72 6f |nd, iTex|tBackgro|
|00002f80| 75 6e 64 3b 0a 58 23 65 | 6e 64 69 66 0a 58 20 20 |und;.X#e|ndif.X |
|00002f90| 20 20 20 75 6e 73 69 67 | 6e 65 64 20 69 6e 74 20 | unsig|ned int |
|00002fa0| 62 6f 72 64 65 72 5f 77 | 69 64 74 68 3b 09 09 2f |border_w|idth;../|
|00002fb0| 2a 20 6f 72 69 67 69 6e | 61 6c 20 62 6f 72 64 65 |* origin|al borde|
|00002fc0| 72 20 77 69 64 74 68 20 | 2a 2f 0a 58 20 20 20 20 |r width |*/.X |
|00002fd0| 20 69 6e 74 20 73 74 61 | 74 65 3b 09 09 09 09 2f | int sta|te;..../|
|00002fe0| 2a 20 54 68 65 20 73 74 | 61 74 65 20 6f 66 20 74 |* The st|ate of t|
|00002ff0| 68 65 20 77 69 6e 64 6f | 77 20 2a 2f 0a 58 20 20 |he windo|w */.X |
|00003000| 20 20 20 69 6e 74 20 61 | 74 74 72 73 3b 09 09 09 | int a|ttrs;...|
|00003010| 09 2f 2a 20 57 69 6e 64 | 6f 77 20 22 61 74 74 72 |./* Wind|ow "attr|
|00003020| 69 62 75 74 65 73 22 20 | 2a 2f 0a 58 20 20 20 20 |ibutes" |*/.X |
|00003030| 20 47 43 20 77 69 6e 47 | 43 3b 09 09 09 09 2f 2a | GC winG|C;..../*|
|00003040| 20 47 43 20 61 74 20 70 | 72 6f 70 65 72 20 64 65 | GC at p|roper de|
|00003050| 70 74 68 20 66 6f 72 20 | 77 69 6e 64 6f 77 20 2a |pth for |window *|
|00003060| 2f 0a 58 23 69 66 64 65 | 66 20 57 4d 53 54 41 54 |/.X#ifde|f WMSTAT|
|00003070| 45 0a 58 20 20 20 20 20 | 57 4d 5f 53 54 41 54 45 |E.X |WM_STATE|
|00003080| 20 77 6d 5f 73 74 61 74 | 65 3b 0a 58 23 65 6e 64 | wm_stat|e;.X#end|
|00003090| 69 66 20 2f 2a 20 57 4d | 53 54 41 54 45 20 2a 2f |if /* WM|STATE */|
|000030a0| 0a 58 7d 20 41 77 6d 49 | 6e 66 6f 2c 20 2a 41 77 |.X} AwmI|nfo, *Aw|
|000030b0| 6d 49 6e 66 6f 50 74 72 | 3b 0a 58 0a 58 2f 2a 0a |mInfoPtr|;.X.X/*.|
|000030c0| 58 20 2a 20 54 68 69 73 | 20 77 68 6f 6c 65 20 73 |X * This| whole s|
|000030d0| 65 63 74 69 6f 6e 20 68 | 61 73 20 63 68 61 6e 67 |ection h|as chang|
|000030e0| 65 64 20 73 75 62 73 74 | 61 6e 74 69 61 6c 6c 79 |ed subst|antially|
|000030f0| 2e 20 42 61 73 69 63 61 | 6c 6c 79 2c 20 73 69 6e |. Basica|lly, sin|
|00003100| 63 65 20 61 6c 6c 20 74 | 68 65 0a 58 20 2a 20 76 |ce all t|he.X * v|
|00003110| 61 72 69 61 62 6c 65 73 | 20 68 61 76 65 20 76 61 |ariables| have va|
|00003120| 6e 69 73 68 65 64 20 69 | 6e 74 6f 20 74 68 65 20 |nished i|nto the |
|00003130| 72 65 73 6f 75 72 63 65 | 20 6d 61 6e 61 67 65 72 |resource| manager|
|00003140| 2c 20 74 68 65 20 6b 65 | 79 77 6f 72 64 20 74 61 |, the ke|yword ta|
|00003150| 62 6c 65 0a 58 20 2a 20 | 6f 6e 6c 79 20 6e 65 65 |ble.X * |only nee|
|00003160| 64 73 20 74 6f 20 6b 65 | 65 70 20 74 72 61 63 6b |ds to ke|ep track|
|00003170| 20 6f 66 20 66 75 6e 63 | 74 69 6f 6e 20 70 6f 69 | of func|tion poi|
|00003180| 6e 74 65 72 73 2c 20 62 | 6f 6f 6c 65 61 6e 20 70 |nters, b|oolean p|
|00003190| 6f 69 6e 74 65 72 73 20 | 61 6e 64 0a 58 20 2a 20 |ointers |and.X * |
|000031a0| 22 73 70 65 63 69 61 6c | 22 20 6b 65 79 77 6f 72 |"special|" keywor|
|000031b0| 64 73 20 6c 69 6b 65 20 | 6d 65 6e 75 20 61 6e 64 |ds like |menu and|
|000031c0| 20 67 61 67 64 65 74 2e | 20 53 69 6e 63 65 20 73 | gagdet.| Since s|
|000031d0| 6f 6d 65 20 74 68 69 6e | 67 73 20 61 72 65 20 73 |ome thin|gs are s|
|000031e0| 74 69 6c 6c 0a 58 20 2a | 20 6d 6f 64 69 66 69 61 |till.X *| modifia|
|000031f0| 62 6c 65 20 66 72 6f 6d | 20 6d 65 6e 75 73 20 28 |ble from| menus (|
|00003200| 6f 6e 6c 79 20 62 6f 6f | 6c 65 61 6e 73 2c 20 63 |only boo|leans, c|
|00003210| 75 72 72 65 6e 74 6c 79 | 2c 20 74 68 6f 75 67 68 |urrently|, though|
|00003220| 20 74 68 69 73 20 77 69 | 6c 6c 20 63 68 61 6e 67 | this wi|ll chang|
|00003230| 65 29 2c 0a 58 20 2a 20 | 77 65 20 6b 65 65 70 20 |e),.X * |we keep |
|00003240| 74 68 65 73 65 20 69 6e | 20 74 68 65 20 6b 65 79 |these in| the key|
|00003250| 77 6f 72 64 20 74 61 62 | 6c 65 20 65 76 65 6e 20 |word tab|le even |
|00003260| 74 68 6f 75 67 68 0a 58 | 20 2a 20 74 68 65 79 27 |though.X| * they'|
|00003270| 72 65 20 6e 6f 20 6c 6f | 6e 67 65 72 20 64 69 72 |re no lo|nger dir|
|00003280| 65 63 74 6c 79 20 6d 6f | 64 69 66 61 62 6c 65 20 |ectly mo|difable |
|00003290| 66 72 6f 6d 20 74 68 65 | 20 2e 61 77 6d 72 63 0a |from the| .awmrc.|
|000032a0| 58 20 2a 2f 0a 58 0a 58 | 2f 2a 0a 58 20 2a 20 4b |X */.X.X|/*.X * K|
|000032b0| 65 79 77 6f 72 64 20 74 | 61 62 6c 65 20 65 6e 74 |eyword t|able ent|
|000032c0| 72 79 2e 0a 58 20 2a 2f | 0a 58 74 79 70 65 64 65 |ry..X */|.Xtypede|
|000032d0| 66 20 73 74 72 75 63 74 | 20 5f 6b 65 79 77 6f 72 |f struct| _keywor|
|000032e0| 64 20 7b 0a 58 20 20 20 | 20 20 63 68 61 72 20 2a |d {.X | char *|
|000032f0| 6e 61 6d 65 3b 0a 58 20 | 20 20 20 20 69 6e 74 20 |name;.X | int |
|00003300| 74 79 70 65 3b 0a 58 20 | 20 20 20 20 42 6f 6f 6c |type;.X | Bool|
|00003310| 65 61 6e 20 2a 62 70 74 | 72 3b 0a 58 20 20 20 20 |ean *bpt|r;.X |
|00003320| 20 42 6f 6f 6c 65 61 6e | 20 28 2a 66 70 74 72 29 | Boolean| (*fptr)|
|00003330| 28 29 3b 0a 58 7d 20 4b | 65 79 77 6f 72 64 3b 0a |();.X} K|eyword;.|
|00003340| 58 0a 58 2f 2a 0a 58 20 | 2a 20 4b 65 79 77 6f 72 |X.X/*.X |* Keywor|
|00003350| 64 20 74 61 62 6c 65 20 | 74 79 70 65 20 65 6e 74 |d table |type ent|
|00003360| 72 79 2e 0a 58 20 2a 2f | 0a 58 23 64 65 66 69 6e |ry..X */|.X#defin|
|00003370| 65 20 49 73 46 75 6e 63 | 74 69 6f 6e 09 31 0a 58 |e IsFunc|tion.1.X|
|00003380| 23 64 65 66 69 6e 65 20 | 49 73 4d 65 6e 75 4d 61 |#define |IsMenuMa|
|00003390| 70 09 32 0a 58 23 64 65 | 66 69 6e 65 20 49 73 4d |p.2.X#de|fine IsM|
|000033a0| 65 6e 75 09 09 33 0a 58 | 23 64 65 66 69 6e 65 20 |enu..3.X|#define |
|000033b0| 49 73 44 6f 77 6e 46 75 | 6e 63 74 69 6f 6e 09 34 |IsDownFu|nction.4|
|000033c0| 0a 58 23 64 65 66 69 6e | 65 20 49 73 50 61 72 73 |.X#defin|e IsPars|
|000033d0| 65 72 09 35 0a 58 23 64 | 65 66 69 6e 65 20 49 73 |er.5.X#d|efine Is|
|000033e0| 51 75 69 74 46 75 6e 63 | 74 69 6f 6e 09 36 0a 58 |QuitFunc|tion.6.X|
|000033f0| 23 64 65 66 69 6e 65 20 | 49 73 47 61 64 67 65 74 |#define |IsGadget|
|00003400| 09 37 0a 58 23 64 65 66 | 69 6e 65 20 49 73 42 6f |.7.X#def|ine IsBo|
|00003410| 6f 6c 65 61 6e 09 38 0a | 58 23 64 65 66 69 6e 65 |olean.8.|X#define|
|00003420| 20 49 73 41 63 74 69 6f | 6e 09 39 0a 58 0a 58 2f | IsActio|n.9.X.X/|
|00003430| 2a 0a 58 20 2a 20 42 75 | 74 74 6f 6e 2f 6b 65 79 |*.X * Bu|tton/key|
|00003440| 20 62 69 6e 64 69 6e 67 | 20 74 79 70 65 2e 0a 58 | binding| type..X|
|00003450| 20 2a 2f 0a 58 74 79 70 | 65 64 65 66 20 73 74 72 | */.Xtyp|edef str|
|00003460| 75 63 74 20 5f 62 69 6e | 64 69 6e 67 20 7b 0a 58 |uct _bin|ding {.X|
|00003470| 20 20 20 20 73 74 72 75 | 63 74 20 5f 62 69 6e 64 | stru|ct _bind|
|00003480| 69 6e 67 20 2a 6e 65 78 | 74 3b 0a 58 20 20 20 20 |ing *nex|t;.X |
|00003490| 69 6e 74 20 63 6f 6e 74 | 65 78 74 3b 0a 58 20 20 |int cont|ext;.X |
|000034a0| 20 20 75 6e 73 69 67 6e | 65 64 20 69 6e 74 20 6d | unsign|ed int m|
|000034b0| 61 73 6b 3b 0a 58 20 20 | 20 20 69 6e 74 20 62 75 |ask;.X | int bu|
|000034c0| 74 74 6f 6e 3b 0a 58 20 | 20 20 20 42 6f 6f 6c 65 |tton;.X | Boole|
|000034d0| 61 6e 20 28 2a 66 75 6e | 63 29 28 29 3b 0a 58 20 |an (*fun|c)();.X |
|000034e0| 20 20 20 63 68 61 72 20 | 2a 6d 65 6e 75 6e 61 6d | char |*menunam|
|000034f0| 65 3b 0a 58 20 20 20 20 | 52 54 4c 4d 65 6e 75 20 |e;.X |RTLMenu |
|00003500| 6d 65 6e 75 3b 0a 58 7d | 20 42 69 6e 64 69 6e 67 |menu;.X}| Binding|
|00003510| 3b 0a 58 20 0a 58 2f 2a | 0a 58 20 2a 20 4b 65 79 |;.X .X/*|.X * Key|
|00003520| 20 65 78 70 72 65 73 73 | 69 6f 6e 20 74 79 70 65 | express|ion type|
|00003530| 2e 0a 58 20 2a 2f 0a 58 | 74 79 70 65 64 65 66 20 |..X */.X|typedef |
|00003540| 73 74 72 75 63 74 20 5f | 6b 65 79 65 78 70 72 20 |struct _|keyexpr |
|00003550| 7b 0a 58 20 20 20 20 63 | 68 61 72 20 2a 6e 61 6d |{.X c|har *nam|
|00003560| 65 3b 0a 58 20 20 20 20 | 69 6e 74 20 6d 61 73 6b |e;.X |int mask|
|00003570| 3b 0a 58 7d 20 4b 65 79 | 45 78 70 72 3b 0a 58 20 |;.X} Key|Expr;.X |
|00003580| 0a 58 2f 2a 0a 58 20 2a | 20 43 6f 6e 74 65 78 74 |.X/*.X *| Context|
|00003590| 20 65 78 70 72 65 73 73 | 69 6f 6e 20 74 79 70 65 | express|ion type|
|000035a0| 2e 0a 58 20 2a 2f 0a 58 | 74 79 70 65 64 65 66 20 |..X */.X|typedef |
|000035b0| 73 74 72 75 63 74 20 5f | 63 6f 6e 74 65 78 70 72 |struct _|contexpr|
|000035c0| 20 7b 0a 58 20 20 20 20 | 63 68 61 72 20 2a 6e 61 | {.X |char *na|
|000035d0| 6d 65 3b 0a 58 20 20 20 | 20 69 6e 74 20 6d 61 73 |me;.X | int mas|
|000035e0| 6b 3b 0a 58 7d 20 43 6f | 6e 74 45 78 70 72 3b 0a |k;.X} Co|ntExpr;.|
|000035f0| 58 0a 58 2f 2a 0a 58 20 | 2a 20 42 75 74 74 6f 6e |X.X/*.X |* Button|
|00003600| 20 6d 6f 64 69 66 69 65 | 72 20 74 79 70 65 2e 0a | modifie|r type..|
|00003610| 58 20 2a 2f 0a 58 74 79 | 70 65 64 65 66 20 73 74 |X */.Xty|pedef st|
|00003620| 72 75 63 74 20 5f 62 75 | 74 74 6f 6e 6d 6f 64 69 |ruct _bu|ttonmodi|
|00003630| 66 69 65 72 20 7b 0a 58 | 20 20 20 20 63 68 61 72 |fier {.X| char|
|00003640| 20 2a 6e 61 6d 65 3b 0a | 58 20 20 20 20 69 6e 74 | *name;.|X int|
|00003650| 20 6d 61 73 6b 3b 0a 58 | 7d 20 42 75 74 74 6f 6e | mask;.X|} Button|
|00003660| 4d 6f 64 69 66 69 65 72 | 3b 0a 58 0a 58 2f 2a 0a |Modifier|;.X.X/*.|
|00003670| 58 20 2a 20 47 72 61 76 | 69 74 79 20 65 78 70 72 |X * Grav|ity expr|
|00003680| 65 73 73 69 6f 6e 20 74 | 79 70 65 2e 0a 58 20 2a |ession t|ype..X *|
|00003690| 2f 0a 58 74 79 70 65 64 | 65 66 20 73 74 72 75 63 |/.Xtyped|ef struc|
|000036a0| 74 20 5f 67 72 61 76 69 | 74 79 65 78 70 72 20 7b |t _gravi|tyexpr {|
|000036b0| 0a 58 20 20 20 20 20 63 | 68 61 72 20 2a 6e 61 6d |.X c|har *nam|
|000036c0| 65 3b 0a 58 20 20 20 20 | 20 69 6e 74 20 6d 61 73 |e;.X | int mas|
|000036d0| 6b 3b 0a 58 7d 20 47 72 | 61 76 69 74 79 45 78 70 |k;.X} Gr|avityExp|
|000036e0| 72 3b 0a 58 0a 58 2f 2a | 0a 58 20 2a 20 42 75 74 |r;.X.X/*|.X * But|
|000036f0| 74 6f 6e 20 6d 6f 64 69 | 66 69 65 72 20 6d 61 73 |ton modi|fier mas|
|00003700| 6b 20 64 65 66 69 6e 69 | 74 69 6f 6e 73 2e 0a 58 |k defini|tions..X|
|00003710| 20 2a 20 62 69 74 73 20 | 31 33 20 61 6e 64 20 31 | * bits |13 and 1|
|00003720| 34 20 75 6e 75 73 65 64 | 20 69 6e 20 6b 65 79 20 |4 unused| in key |
|00003730| 6d 61 73 6b 73 2c 20 61 | 63 63 6f 72 64 69 6e 67 |masks, a|ccording|
|00003740| 20 74 6f 20 58 2e 68 0a | 58 20 2a 20 73 74 65 61 | to X.h.|X * stea|
|00003750| 6c 20 62 69 74 20 31 35 | 2c 20 73 69 6e 63 65 20 |l bit 15|, since |
|00003760| 77 65 20 64 6f 6e 27 74 | 20 75 73 65 20 41 6e 79 |we don't| use Any|
|00003770| 4d 6f 64 69 66 69 65 72 | 0a 58 20 2a 2f 0a 58 0a |Modifier|.X */.X.|
|00003780| 58 23 64 65 66 69 6e 65 | 20 44 65 6c 74 61 4d 6f |X#define| DeltaMo|
|00003790| 74 69 6f 6e 09 28 31 3c | 3c 31 33 29 0a 58 23 64 |tion.(1<|<13).X#d|
|000037a0| 65 66 69 6e 65 20 42 75 | 74 74 6f 6e 55 70 09 28 |efine Bu|ttonUp.(|
|000037b0| 31 3c 3c 31 34 29 0a 58 | 23 64 65 66 69 6e 65 20 |1<<14).X|#define |
|000037c0| 42 75 74 74 6f 6e 44 6f | 77 6e 09 41 6e 79 4d 6f |ButtonDo|wn.AnyMo|
|000037d0| 64 69 66 69 65 72 0a 58 | 23 64 65 66 69 6e 65 20 |difier.X|#define |
|000037e0| 42 75 74 74 6f 6e 4d 6f | 64 73 09 44 65 6c 74 61 |ButtonMo|ds.Delta|
|000037f0| 4d 6f 74 69 6f 6e 2b 42 | 75 74 74 6f 6e 55 70 2b |Motion+B|uttonUp+|
|00003800| 42 75 74 74 6f 6e 44 6f | 77 6e 0a 58 0a 58 2f 2a |ButtonDo|wn.X.X/*|
|00003810| 20 0a 58 20 2a 20 42 75 | 74 74 6f 6e 20 61 6e 64 | .X * Bu|tton and|
|00003820| 20 6d 61 73 6b 20 72 65 | 64 65 66 69 6e 69 74 69 | mask re|definiti|
|00003830| 6f 6e 73 2c 20 66 6f 72 | 20 58 31 31 0a 58 20 2a |ons, for| X11.X *|
|00003840| 2f 0a 58 23 64 65 66 69 | 6e 65 20 4c 65 66 74 4d |/.X#defi|ne LeftM|
|00003850| 61 73 6b 20 09 42 75 74 | 74 6f 6e 31 4d 61 73 6b |ask .But|ton1Mask|
|00003860| 0a 58 23 64 65 66 69 6e | 65 20 4d 69 64 64 6c 65 |.X#defin|e Middle|
|00003870| 4d 61 73 6b 20 09 42 75 | 74 74 6f 6e 32 4d 61 73 |Mask .Bu|tton2Mas|
|00003880| 6b 0a 58 23 64 65 66 69 | 6e 65 20 52 69 67 68 74 |k.X#defi|ne Right|
|00003890| 4d 61 73 6b 20 09 42 75 | 74 74 6f 6e 33 4d 61 73 |Mask .Bu|tton3Mas|
|000038a0| 6b 0a 58 23 64 65 66 69 | 6e 65 20 4c 65 66 74 42 |k.X#defi|ne LeftB|
|000038b0| 75 74 74 6f 6e 09 42 75 | 74 74 6f 6e 31 0a 58 23 |utton.Bu|tton1.X#|
|000038c0| 64 65 66 69 6e 65 20 4d | 69 64 64 6c 65 42 75 74 |define M|iddleBut|
|000038d0| 74 6f 6e 09 42 75 74 74 | 6f 6e 32 0a 58 23 64 65 |ton.Butt|on2.X#de|
|000038e0| 66 69 6e 65 20 52 69 67 | 68 74 42 75 74 74 6f 6e |fine Rig|htButton|
|000038f0| 09 42 75 74 74 6f 6e 33 | 0a 58 0a 58 2f 2a 0a 58 |.Button3|.X.X/*.X|
|00003900| 20 2a 20 44 65 63 6c 61 | 72 61 74 69 6f 6e 20 73 | * Decla|ration s|
|00003910| 70 65 63 69 66 69 63 20 | 69 6e 66 6f 72 6d 61 74 |pecific |informat|
|00003920| 69 6f 6e 20 66 6f 72 20 | 67 61 64 67 65 74 73 2e |ion for |gadgets.|
|00003930| 20 54 68 69 73 20 64 65 | 66 69 6e 65 73 20 6f 6e | This de|fines on|
|00003940| 6c 79 20 67 61 64 67 65 | 74 0a 58 20 2a 20 74 79 |ly gadge|t.X * ty|
|00003950| 70 65 73 2c 20 6e 6f 74 | 20 74 68 65 20 61 63 74 |pes, not| the act|
|00003960| 75 61 6c 20 67 61 64 67 | 65 74 73 2e 20 54 68 65 |ual gadg|ets. The|
|00003970| 20 70 69 78 6d 61 70 20 | 6d 65 6d 62 65 72 20 69 | pixmap |member i|
|00003980| 73 20 6f 6e 6c 79 20 75 | 73 65 64 20 69 66 20 61 |s only u|sed if a|
|00003990| 20 70 69 78 6d 61 70 0a | 58 20 2a 20 69 73 20 62 | pixmap.|X * is b|
|000039a0| 65 69 6e 67 20 64 69 73 | 70 6c 61 79 65 64 2e 20 |eing dis|played. |
|000039b0| 47 72 61 76 69 74 79 20 | 61 6e 64 20 6f 66 66 73 |Gravity |and offs|
|000039c0| 65 74 20 61 72 65 20 70 | 75 72 65 6c 79 20 6f 70 |et are p|urely op|
|000039d0| 74 69 6f 6e 61 6c 2e 0a | 58 20 2a 2f 0a 58 0a 58 |tional..|X */.X.X|
|000039e0| 23 64 65 66 69 6e 65 20 | 4e 6f 47 61 64 67 65 74 |#define |NoGadget|
|000039f0| 47 72 61 76 69 74 79 09 | 09 30 0a 58 23 64 65 66 |Gravity.|.0.X#def|
|00003a00| 69 6e 65 20 4c 65 66 74 | 47 61 64 67 65 74 47 72 |ine Left|GadgetGr|
|00003a10| 61 76 69 74 79 09 31 0a | 58 23 64 65 66 69 6e 65 |avity.1.|X#define|
|00003a20| 20 52 69 67 68 74 47 61 | 64 67 65 74 47 72 61 76 | RightGa|dgetGrav|
|00003a30| 69 74 79 09 32 0a 58 23 | 64 65 66 69 6e 65 20 43 |ity.2.X#|define C|
|00003a40| 65 6e 74 65 72 47 61 64 | 67 65 74 47 72 61 76 69 |enterGad|getGravi|
|00003a50| 74 79 09 33 0a 58 0a 58 | 74 79 70 65 64 65 66 20 |ty.3.X.X|typedef |
|00003a60| 73 74 72 75 63 74 20 5f | 67 61 64 67 65 74 64 65 |struct _|gadgetde|
|00003a70| 63 6c 20 7b 09 2f 2a 20 | 20 20 44 65 63 6c 61 72 |cl {./* | Declar|
|00003a80| 61 74 69 6f 6e 20 28 74 | 79 70 65 29 20 69 6e 66 |ation (t|ype) inf|
|00003a90| 6f 72 6d 61 74 69 6f 6e | 20 2a 2f 0a 58 20 20 20 |ormation| */.X |
|00003aa0| 20 20 75 6e 73 69 67 6e | 65 64 20 63 68 61 72 20 | unsign|ed char |
|00003ab0| 2a 6e 61 6d 65 3b 09 2f | 2a 20 45 69 74 68 65 72 |*name;./|* Either|
|00003ac0| 20 74 65 78 74 20 6c 61 | 62 65 6c 20 6f 72 20 70 | text la|bel or p|
|00003ad0| 69 78 6d 61 70 20 66 69 | 6c 65 20 6e 61 6d 65 20 |ixmap fi|le name |
|00003ae0| 2a 2f 0a 58 20 20 20 20 | 20 75 6e 73 69 67 6e 65 |*/.X | unsigne|
|00003af0| 64 20 63 68 61 72 20 2a | 64 61 74 61 3b 09 2f 2a |d char *|data;./*|
|00003b00| 20 49 66 20 70 69 78 6d | 61 70 20 66 69 6c 65 2c | If pixm|ap file,|
|00003b10| 20 74 68 69 73 20 69 73 | 20 74 68 65 20 64 61 74 | this is| the dat|
|00003b20| 61 20 66 72 6f 6d 20 69 | 74 20 2a 2f 0a 58 20 20 |a from i|t */.X |
|00003b30| 20 20 20 63 68 61 72 20 | 2a 66 6f 72 65 63 6f 6c | char |*forecol|
|00003b40| 6f 72 3b 09 09 2f 2a 20 | 66 6f 72 65 67 72 6f 75 |or;../* |foregrou|
|00003b50| 6e 64 20 63 6f 6c 6f 72 | 20 66 6f 72 20 70 69 78 |nd color| for pix|
|00003b60| 6d 61 70 20 2a 2f 0a 58 | 20 20 20 20 20 63 68 61 |map */.X| cha|
|00003b70| 72 20 2a 62 61 63 6b 63 | 6f 6c 6f 72 3b 09 09 2f |r *backc|olor;../|
|00003b80| 2a 20 62 61 63 6b 67 72 | 6f 75 6e 64 20 63 6f 6c |* backgr|ound col|
|00003b90| 6f 72 20 66 6f 72 20 70 | 69 78 6d 61 70 20 2a 2f |or for p|ixmap */|
|00003ba0| 0a 58 20 20 20 20 20 58 | 46 6f 6e 74 53 74 72 75 |.X X|FontStru|
|00003bb0| 63 74 20 2a 66 6f 6e 74 | 49 6e 66 6f 3b 09 2f 2a |ct *font|Info;./*|
|00003bc0| 20 66 6f 6e 74 20 66 6f | 72 20 74 65 78 74 20 2a | font fo|r text *|
|00003bd0| 2f 0a 58 20 20 20 20 20 | 69 6e 74 20 68 69 67 68 |/.X |int high|
|00003be0| 2c 20 77 69 64 65 3b 09 | 09 2f 2a 20 77 69 64 74 |, wide;.|./* widt|
|00003bf0| 68 20 61 6e 64 20 68 65 | 69 67 68 74 20 6f 66 20 |h and he|ight of |
|00003c00| 70 69 78 6d 61 70 20 6f | 72 20 74 65 78 74 20 2a |pixmap o|r text *|
|00003c10| 2f 0a 58 20 20 20 20 20 | 69 6e 74 20 67 72 61 76 |/.X |int grav|
|00003c20| 69 74 79 3b 09 09 2f 2a | 20 73 74 69 63 6b 20 74 |ity;../*| stick t|
|00003c30| 6f 20 74 68 65 20 6c 65 | 66 74 20 6f 72 20 72 69 |o the le|ft or ri|
|00003c40| 67 68 74 3f 20 2a 2f 0a | 58 20 20 20 20 20 69 6e |ght? */.|X in|
|00003c50| 74 20 6f 66 66 73 65 74 | 3b 09 09 2f 2a 20 6f 66 |t offset|;../* of|
|00003c60| 66 73 65 74 20 66 72 6f | 6d 20 70 72 65 76 69 6f |fset fro|m previo|
|00003c70| 75 73 20 69 74 65 6d 20 | 2a 2f 0a 58 7d 20 47 61 |us item |*/.X} Ga|
|00003c80| 64 67 65 74 44 65 63 6c | 3b 0a 58 0a 58 2f 2a 0a |dgetDecl|;.X.X/*.|
|00003c90| 58 20 2a 20 4d 65 6e 75 | 49 6e 66 6f 20 64 61 74 |X * Menu|Info dat|
|00003ca0| 61 20 74 79 70 65 2e 0a | 58 20 2a 2f 0a 58 74 79 |a type..|X */.Xty|
|00003cb0| 70 65 64 65 66 20 73 74 | 72 75 63 74 20 5f 6d 65 |pedef st|ruct _me|
|00003cc0| 6e 75 69 6e 66 6f 20 7b | 0a 58 20 20 20 20 63 68 |nuinfo {|.X ch|
|00003cd0| 61 72 20 2a 6e 61 6d 65 | 3b 09 09 09 2f 2a 20 4e |ar *name|;.../* N|
|00003ce0| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 6d 65 6e 75 |ame of t|his menu|
|00003cf0| 2e 20 2a 2f 0a 58 20 20 | 20 20 63 68 61 72 20 2a |. */.X | char *|
|00003d00| 70 69 78 6d 61 70 6e 61 | 6d 65 3b 09 09 2f 2a 20 |pixmapna|me;../* |
|00003d10| 4e 61 6d 65 20 6f 66 20 | 6c 61 62 65 6c 20 70 69 |Name of |label pi|
|00003d20| 78 6d 61 70 20 28 6f 70 | 74 29 20 2a 2f 0a 58 20 |xmap (op|t) */.X |
|00003d30| 20 20 20 52 54 4c 4d 65 | 6e 75 20 6d 65 6e 75 3b | RTLMe|nu menu;|
|00003d40| 09 09 2f 2a 20 52 54 4c | 20 6d 65 6e 75 20 68 61 |../* RTL| menu ha|
|00003d50| 6e 64 6c 65 20 66 6f 72 | 20 64 65 73 74 72 6f 79 |ndle for| destroy|
|00003d60| 20 2a 2f 0a 58 20 20 20 | 20 73 74 72 75 63 74 20 | */.X | struct |
|00003d70| 5f 61 63 74 69 6f 6e 6c | 69 6e 65 20 2a 6c 69 6e |_actionl|ine *lin|
|00003d80| 65 3b 09 2f 2a 20 4c 69 | 6e 6b 65 64 20 6c 69 73 |e;./* Li|nked lis|
|00003d90| 74 20 6f 66 20 6d 65 6e | 75 20 69 74 65 6d 73 2e |t of men|u items.|
|00003da0| 20 2a 2f 0a 58 7d 20 4d | 65 6e 75 49 6e 66 6f 3b | */.X} M|enuInfo;|
|00003db0| 0a 58 20 0a 58 2f 2a 0a | 58 20 2a 20 41 63 74 69 |.X .X/*.|X * Acti|
|00003dc0| 6f 6e 20 4c 69 6e 65 20 | 64 61 74 61 20 74 79 70 |on Line |data typ|
|00003dd0| 65 2e 0a 58 20 2a 2f 0a | 58 74 79 70 65 64 65 66 |e..X */.|Xtypedef|
|00003de0| 20 73 74 72 75 63 74 20 | 5f 61 63 74 69 6f 6e 6c | struct |_actionl|
|00003df0| 69 6e 65 20 7b 0a 58 20 | 20 20 20 73 74 72 75 63 |ine {.X | struc|
|00003e00| 74 20 5f 61 63 74 69 6f | 6e 6c 69 6e 65 20 2a 6e |t _actio|nline *n|
|00003e10| 65 78 74 3b 09 2f 2a 20 | 50 6f 69 6e 74 65 72 20 |ext;./* |Pointer |
|00003e20| 74 6f 20 6e 65 78 74 20 | 6c 69 6e 65 2e 20 2a 2f |to next |line. */|
|00003e30| 0a 58 20 20 20 20 63 68 | 61 72 20 2a 6e 61 6d 65 |.X ch|ar *name|
|00003e40| 3b 09 09 09 2f 2a 20 4e | 61 6d 65 20 6f 66 20 74 |;.../* N|ame of t|
|00003e50| 68 69 73 20 6c 69 6e 65 | 2e 20 2a 2f 0a 58 20 20 |his line|. */.X |
|00003e60| 20 20 63 68 61 72 20 2a | 70 69 78 6d 61 70 6e 61 | char *|pixmapna|
|00003e70| 6d 65 3b 09 09 2f 2a 20 | 4e 61 6d 65 20 6f 66 20 |me;../* |Name of |
|00003e80| 74 68 65 20 62 61 63 6b | 69 6e 67 20 70 69 78 6d |the back|ing pixm|
|00003e90| 61 70 20 28 6f 70 74 29 | 20 2a 2f 0a 58 20 20 20 |ap (opt)| */.X |
|00003ea0| 20 69 6e 74 20 74 79 70 | 65 3b 09 09 09 2f 2a 20 | int typ|e;.../* |
|00003eb0| 49 73 53 68 65 6c 6c 43 | 6f 6d 6d 61 6e 64 2c 20 |IsShellC|ommand, |
|00003ec0| 49 73 54 65 78 74 2c 20 | 49 73 54 65 78 74 4e 4c |IsText, |IsTextNL|
|00003ed0| 2e 2e 2e 20 2a 2f 0a 58 | 20 20 20 20 52 54 4c 4d |... */.X| RTLM|
|00003ee0| 65 6e 75 49 74 65 6d 20 | 69 74 65 6d 3b 09 09 2f |enuItem |item;../|
|00003ef0| 2a 20 52 54 4c 20 69 74 | 65 6d 20 68 61 6e 64 6c |* RTL it|em handl|
|00003f00| 65 20 2a 2f 0a 58 20 20 | 20 20 63 68 61 72 20 2a |e */.X | char *|
|00003f10| 74 65 78 74 3b 09 09 09 | 2f 2a 20 54 65 78 74 20 |text;...|/* Text |
|00003f20| 73 74 72 69 6e 67 20 74 | 6f 20 62 65 20 61 63 74 |string t|o be act|
|00003f30| 65 64 20 75 70 6f 6e 2e | 20 2a 2f 0a 58 20 20 20 |ed upon.| */.X |
|00003f40| 20 42 6f 6f 6c 65 61 6e | 20 28 2a 66 75 6e 63 29 | Boolean| (*func)|
|00003f50| 28 29 3b 09 09 2f 2a 20 | 57 69 6e 64 6f 77 20 6d |();../* |Window m|
|00003f60| 61 6e 61 67 65 72 20 66 | 75 6e 63 74 69 6f 6e 20 |anager f|unction |
|00003f70| 74 6f 20 62 65 20 69 6e | 76 6f 6b 65 64 2e 20 2a |to be in|voked. *|
|00003f80| 2f 0a 58 7d 20 41 63 74 | 69 6f 6e 4c 69 6e 65 3b |/.X} Act|ionLine;|
|00003f90| 0a 58 20 0a 58 2f 2a 0a | 58 20 2a 20 41 63 74 69 |.X .X/*.|X * Acti|
|00003fa0| 6f 6e 4c 69 6e 65 2d 3e | 74 79 70 65 20 64 65 66 |onLine->|type def|
|00003fb0| 69 6e 69 74 69 6f 6e 73 | 2e 0a 58 20 2a 2f 0a 58 |initions|..X */.X|
|00003fc0| 23 64 65 66 69 6e 65 20 | 49 73 53 68 65 6c 6c 43 |#define |IsShellC|
|00003fd0| 6f 6d 6d 61 6e 64 09 09 | 31 0a 58 23 64 65 66 69 |ommand..|1.X#defi|
|00003fe0| 6e 65 20 49 73 54 65 78 | 74 09 09 09 32 0a 58 23 |ne IsTex|t...2.X#|
|00003ff0| 64 65 66 69 6e 65 20 49 | 73 54 65 78 74 4e 4c 09 |define I|sTextNL.|
|00004000| 09 33 0a 58 23 64 65 66 | 69 6e 65 20 49 73 55 77 |.3.X#def|ine IsUw|
|00004010| 6d 46 75 6e 63 74 69 6f | 6e 09 09 34 0a 58 23 64 |mFunctio|n..4.X#d|
|00004020| 65 66 69 6e 65 20 49 73 | 4d 65 6e 75 46 75 6e 63 |efine Is|MenuFunc|
|00004030| 74 69 6f 6e 09 09 35 0a | 58 23 64 65 66 69 6e 65 |tion..5.|X#define|
|00004040| 20 49 73 49 6d 6d 46 75 | 6e 63 74 69 6f 6e 09 09 | IsImmFu|nction..|
|00004050| 36 09 2f 2a 20 49 6d 6d | 65 64 69 61 74 65 20 28 |6./* Imm|ediate (|
|00004060| 63 6f 6e 74 65 78 74 2d | 6c 65 73 73 29 20 66 75 |context-|less) fu|
|00004070| 6e 63 74 69 6f 6e 2e 20 | 2a 2f 0a 58 23 64 65 66 |nction. |*/.X#def|
|00004080| 69 6e 65 20 49 73 56 61 | 72 09 09 09 37 09 2f 2a |ine IsVa|r...7./*|
|00004090| 20 77 65 27 72 65 20 73 | 65 74 74 69 6e 67 20 61 | we're s|etting a|
|000040a0| 20 62 6f 6f 6c 65 61 6e | 20 76 61 72 69 61 62 6c | boolean| variabl|
|000040b0| 65 20 2a 2f 0a 58 20 0a | 58 2f 2a 0a 58 20 2a 20 |e */.X .|X/*.X * |
|000040c0| 4d 65 6e 75 20 4c 69 6e | 6b 20 64 61 74 61 20 74 |Menu Lin|k data t|
|000040d0| 79 70 65 2e 20 20 55 73 | 65 64 20 62 79 20 74 68 |ype. Us|ed by th|
|000040e0| 65 20 70 61 72 73 65 72 | 20 77 68 65 6e 20 63 72 |e parser| when cr|
|000040f0| 65 61 74 69 6e 67 20 61 | 20 6c 69 6e 6b 65 64 20 |eating a| linked |
|00004100| 6c 69 73 74 0a 58 20 2a | 20 6f 66 20 6d 65 6e 75 |list.X *| of menu|
|00004110| 73 2e 20 0a 58 20 2a 2f | 0a 58 74 79 70 65 64 65 |s. .X */|.Xtypede|
|00004120| 66 20 73 74 72 75 63 74 | 20 5f 6d 65 6e 75 6c 69 |f struct| _menuli|
|00004130| 6e 6b 20 7b 0a 58 20 20 | 20 20 73 74 72 75 63 74 |nk {.X | struct|
|00004140| 20 5f 6d 65 6e 75 6c 69 | 6e 6b 20 2a 6e 65 78 74 | _menuli|nk *next|
|00004150| 3b 09 2f 2a 20 50 6f 69 | 6e 74 65 72 20 74 6f 20 |;./* Poi|nter to |
|00004160| 6e 65 78 74 20 4d 65 6e | 75 4c 69 6e 6b 2e 20 2a |next Men|uLink. *|
|00004170| 2f 0a 58 20 20 20 20 73 | 74 72 75 63 74 20 5f 6d |/.X s|truct _m|
|00004180| 65 6e 75 69 6e 66 6f 20 | 2a 6d 65 6e 75 3b 09 2f |enuinfo |*menu;./|
|00004190| 2a 20 50 6f 69 6e 74 65 | 72 20 74 6f 20 74 68 65 |* Pointe|r to the|
|000041a0| 20 6d 65 6e 75 20 69 6e | 20 74 68 69 73 20 6c 69 | menu in| this li|
|000041b0| 6e 6b 2e 20 2a 2f 0a 58 | 7d 20 4d 65 6e 75 4c 69 |nk. */.X|} MenuLi|
|000041c0| 6e 6b 3b 0a 58 0a 58 2f | 2a 0a 58 20 2a 20 45 78 |nk;.X.X/|*.X * Ex|
|000041d0| 74 65 72 6e 61 6c 20 76 | 61 72 69 61 62 6c 65 20 |ternal v|ariable |
|000041e0| 64 65 66 69 6e 69 74 69 | 6f 6e 73 2e 0a 58 20 2a |definiti|ons..X *|
|000041f0| 2f 0a 58 65 78 74 65 72 | 6e 20 69 6e 74 20 65 72 |/.Xexter|n int er|
|00004200| 72 6e 6f 3b 0a 58 65 78 | 74 65 72 6e 20 57 69 6e |rno;.Xex|tern Win|
|00004210| 64 6f 77 20 50 6f 70 3b | 09 09 2f 2a 20 50 6f 70 |dow Pop;|../* Pop|
|00004220| 2d 75 70 20 64 69 6d 65 | 6e 73 69 6f 6e 20 64 69 |-up dime|nsion di|
|00004230| 73 70 6c 61 79 20 77 69 | 6e 64 6f 77 2e 20 2a 2f |splay wi|ndow. */|
|00004240| 0a 58 65 78 74 65 72 6e | 20 57 69 6e 64 6f 77 20 |.Xextern| Window |
|00004250| 46 72 6f 7a 65 6e 3b 09 | 09 2f 2a 20 43 6f 6e 74 |Frozen;.|./* Cont|
|00004260| 61 69 6e 73 20 77 69 6e | 64 6f 77 20 69 64 20 6f |ains win|dow id o|
|00004270| 66 20 22 67 72 69 64 64 | 65 64 22 20 77 69 6e 64 |f "gridd|ed" wind|
|00004280| 6f 77 2e 20 2a 2f 0a 58 | 65 78 74 65 72 6e 20 58 |ow. */.X|extern X|
|00004290| 46 6f 6e 74 53 74 72 75 | 63 74 20 2a 49 46 6f 6e |FontStru|ct *IFon|
|000042a0| 74 49 6e 66 6f 3b 09 2f | 2a 20 49 63 6f 6e 20 74 |tInfo;./|* Icon t|
|000042b0| 65 78 74 20 66 6f 6e 74 | 20 69 6e 66 6f 72 6d 61 |ext font| informa|
|000042c0| 74 69 6f 6e 2e 20 2a 2f | 0a 58 65 78 74 65 72 6e |tion. */|.Xextern|
|000042d0| 20 58 46 6f 6e 74 53 74 | 72 75 63 74 20 2a 50 46 | XFontSt|ruct *PF|
|000042e0| 6f 6e 74 49 6e 66 6f 3b | 09 2f 2a 20 50 6f 70 2d |ontInfo;|./* Pop-|
|000042f0| 75 70 20 74 65 78 74 20 | 66 6f 6e 74 20 69 6e 66 |up text |font inf|
|00004300| 6f 72 6d 61 74 69 6f 6e | 2e 20 2a 2f 0a 58 65 78 |ormation|. */.Xex|
|00004310| 74 65 72 6e 20 58 46 6f | 6e 74 53 74 72 75 63 74 |tern XFo|ntStruct|
|00004320| 20 2a 54 46 6f 6e 74 49 | 6e 66 6f 3b 09 2f 2a 20 | *TFontI|nfo;./* |
|00004330| 54 69 74 6c 65 20 74 65 | 78 74 20 66 6f 6e 74 20 |Title te|xt font |
|00004340| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 2e 20 2a 2f 0a |informat|ion. */.|
|00004350| 58 65 78 74 65 72 6e 20 | 58 46 6f 6e 74 53 74 72 |Xextern |XFontStr|
|00004360| 75 63 74 20 2a 54 46 6f | 6e 74 42 6f 6c 64 49 6e |uct *TFo|ntBoldIn|
|00004370| 66 6f 3b 2f 2a 20 54 69 | 74 6c 65 20 74 65 78 74 |fo;/* Ti|tle text|
|00004380| 20 28 62 6f 6c 64 29 20 | 66 6f 6e 74 20 69 6e 66 | (bold) |font inf|
|00004390| 6f 72 6d 61 74 69 6f 6e | 2e 20 2a 2f 0a 58 65 78 |ormation|. */.Xex|
|000043a0| 74 65 72 6e 20 58 46 6f | 6e 74 53 74 72 75 63 74 |tern XFo|ntStruct|
|000043b0| 20 2a 47 46 6f 6e 74 49 | 6e 66 6f 3b 20 2f 2a 20 | *GFontI|nfo; /* |
|000043c0| 47 61 64 67 65 74 20 62 | 6f 78 20 74 65 78 74 20 |Gadget b|ox text |
|000043d0| 66 6f 6e 74 20 2a 2f 0a | 58 65 78 74 65 72 6e 20 |font */.|Xextern |
|000043e0| 58 46 6f 6e 74 53 74 72 | 75 63 74 20 2a 4d 46 6f |XFontStr|uct *MFo|
|000043f0| 6e 74 49 6e 66 6f 3b 09 | 2f 2a 20 4d 65 6e 75 20 |ntInfo;.|/* Menu |
|00004400| 66 6f 6e 74 20 2a 2f 0a | 58 65 78 74 65 72 6e 20 |font */.|Xextern |
|00004410| 58 46 6f 6e 74 53 74 72 | 75 63 74 20 2a 4d 42 6f |XFontStr|uct *MBo|
|00004420| 6c 64 46 6f 6e 74 49 6e | 66 6f 3b 2f 2a 20 4d 65 |ldFontIn|fo;/* Me|
|00004430| 6e 75 20 62 6f 6c 64 20 | 66 6f 6e 74 20 2a 2f 0a |nu bold |font */.|
|00004440| 58 65 78 74 65 72 6e 20 | 50 69 78 6d 61 70 20 47 |Xextern |Pixmap G|
|00004450| 72 61 79 50 69 78 6d 61 | 70 3b 09 2f 2a 20 47 72 |rayPixma|p;./* Gr|
|00004460| 61 79 20 70 69 78 6d 61 | 70 2e 20 2a 2f 0a 58 65 |ay pixma|p. */.Xe|
|00004470| 78 74 65 72 6e 20 50 69 | 78 6d 61 70 20 53 6f 6c |xtern Pi|xmap Sol|
|00004480| 69 64 50 69 78 6d 61 70 | 3b 0a 58 65 78 74 65 72 |idPixmap|;.Xexter|
|00004490| 6e 20 50 69 78 6d 61 70 | 20 49 42 61 63 6b 50 69 |n Pixmap| IBackPi|
|000044a0| 78 6d 61 70 3b 09 2f 2a | 20 49 63 6f 6e 20 77 69 |xmap;./*| Icon wi|
|000044b0| 6e 64 6f 77 20 62 61 63 | 6b 67 72 6f 75 6e 64 20 |ndow bac|kground |
|000044c0| 70 69 78 6d 61 70 2e 20 | 2a 2f 0a 58 65 78 74 65 |pixmap. |*/.Xexte|
|000044d0| 72 6e 20 50 69 78 6d 61 | 70 20 49 44 65 66 50 69 |rn Pixma|p IDefPi|
|000044e0| 78 6d 61 70 3b 09 2f 2a | 20 49 63 6f 6e 20 70 69 |xmap;./*| Icon pi|
|000044f0| 78 6d 61 70 20 66 6f 72 | 20 74 77 6d 20 73 74 79 |xmap for| twm sty|
|00004500| 6c 65 20 69 63 6f 6e 73 | 20 2a 2f 0a 58 65 78 74 |le icons| */.Xext|
|00004510| 65 72 6e 20 63 68 61 72 | 20 2a 42 46 6f 72 65 67 |ern char| *BForeg|
|00004520| 72 6f 75 6e 64 3b 09 2f | 2a 20 42 6f 72 64 65 72 |round;./|* Border|
|00004530| 20 43 6f 6e 74 65 78 74 | 20 28 70 69 78 6d 61 70 | Context| (pixmap|
|00004540| 29 20 66 6f 72 65 67 72 | 6f 75 6e 64 20 70 69 78 |) foregr|ound pix|
|00004550| 65 6c 20 2a 2f 0a 58 65 | 78 74 65 72 6e 20 63 68 |el */.Xe|xtern ch|
|00004560| 61 72 20 2a 42 42 61 63 | 6b 67 72 6f 75 6e 64 3b |ar *BBac|kground;|
|00004570| 09 2f 2a 20 42 6f 72 64 | 65 72 20 43 6f 6e 74 65 |./* Bord|er Conte|
|00004580| 78 74 20 28 70 69 78 6d | 61 70 29 20 62 61 63 6b |xt (pixm|ap) back|
|00004590| 67 72 6f 75 6e 64 20 70 | 69 78 65 6c 20 2a 2f 0a |ground p|ixel */.|
|000045a0| 58 65 78 74 65 72 6e 20 | 63 68 61 72 20 2a 57 42 |Xextern |char *WB|
|000045b0| 6f 72 64 65 72 3b 09 09 | 2f 2a 20 57 69 6e 64 6f |order;..|/* Windo|
|000045c0| 77 20 62 6f 72 64 65 72 | 20 70 69 78 65 6c 20 2a |w border| pixel *|
|000045d0| 2f 0a 58 65 78 74 65 72 | 6e 20 63 68 61 72 20 2a |/.Xexter|n char *|
|000045e0| 54 54 65 78 74 46 6f 72 | 65 67 72 6f 75 6e 64 3b |TTextFor|eground;|
|000045f0| 09 2f 2a 20 54 69 74 6c | 65 20 74 65 78 74 20 66 |./* Titl|e text f|
|00004600| 6f 72 65 67 72 6f 75 6e | 64 20 70 69 78 65 6c 20 |oregroun|d pixel |
|00004610| 2a 2f 0a 58 65 78 74 65 | 72 6e 20 63 68 61 72 20 |*/.Xexte|rn char |
|00004620| 2a 54 54 65 78 74 42 61 | 63 6b 67 72 6f 75 6e 64 |*TTextBa|ckground|
|00004630| 3b 09 2f 2a 20 54 69 74 | 6c 65 20 74 65 78 74 20 |;./* Tit|le text |
|00004640| 62 61 63 6b 67 72 6f 75 | 6e 64 20 70 69 78 65 6c |backgrou|nd pixel|
|00004650| 20 2a 2f 0a 58 65 78 74 | 65 72 6e 20 63 68 61 72 | */.Xext|ern char|
|00004660| 20 2a 54 46 6f 72 65 67 | 72 6f 75 6e 64 3b 09 2f | *TForeg|round;./|
|00004670| 2a 20 54 69 74 6c 65 20 | 28 70 69 78 6d 61 70 29 |* Title |(pixmap)|
|00004680| 20 66 6f 72 65 67 72 6f | 75 6e 64 20 70 69 78 65 | foregro|und pixe|
|00004690| 6c 20 2a 2f 0a 58 65 78 | 74 65 72 6e 20 63 68 61 |l */.Xex|tern cha|
|000046a0| 72 20 2a 54 42 61 63 6b | 67 72 6f 75 6e 64 3b 09 |r *TBack|ground;.|
|000046b0| 2f 2a 20 54 69 74 6c 65 | 20 28 70 69 78 6d 61 70 |/* Title| (pixmap|
|000046c0| 29 20 62 61 63 6b 67 72 | 6f 75 6e 64 20 70 69 78 |) backgr|ound pix|
|000046d0| 65 6c 20 2a 2f 0a 58 65 | 78 74 65 72 6e 20 63 68 |el */.Xe|xtern ch|
|000046e0| 61 72 20 2a 46 6f 72 65 | 67 72 6f 75 6e 64 3b 09 |ar *Fore|ground;.|
|000046f0| 2f 2a 20 64 65 66 61 75 | 6c 74 20 66 6f 72 67 72 |/* defau|lt forgr|
|00004700| 6f 75 6e 64 20 63 6f 6c | 6f 72 20 28 74 65 78 74 |ound col|or (text|
|00004710| 29 20 2a 2f 0a 58 65 78 | 74 65 72 6e 20 63 68 61 |) */.Xex|tern cha|
|00004720| 72 20 2a 42 61 63 6b 67 | 72 6f 75 6e 64 3b 09 2f |r *Backg|round;./|
|00004730| 2a 20 64 65 66 61 75 6c | 74 20 62 61 63 6b 67 72 |* defaul|t backgr|
|00004740| 6f 75 6e 64 20 63 6f 6c | 6f 72 20 28 74 65 78 74 |ound col|or (text|
|00004750| 29 20 2a 2f 0a 58 65 78 | 74 65 72 6e 20 50 69 78 |) */.Xex|tern Pix|
|00004760| 65 6c 20 49 42 6f 72 64 | 65 72 3b 09 09 2f 2a 20 |el IBord|er;../* |
|00004770| 49 63 6f 6e 20 77 69 6e | 64 6f 77 20 62 6f 72 64 |Icon win|dow bord|
|00004780| 65 72 20 70 69 78 65 6c | 2e 20 2a 2f 0a 58 65 78 |er pixel|. */.Xex|
|00004790| 74 65 72 6e 20 50 69 78 | 65 6c 20 49 54 65 78 74 |tern Pix|el IText|
|000047a0| 46 6f 72 65 67 72 6f 75 | 6e 64 3b 09 2f 2a 20 49 |Foregrou|nd;./* I|
|000047b0| 63 6f 6e 20 77 69 6e 64 | 6f 77 20 74 65 78 74 20 |con wind|ow text |
|000047c0| 66 6f 72 67 72 6f 75 6e | 64 20 63 6f 6c 6f 72 2e |forgroun|d color.|
|000047d0| 20 2a 2f 0a 58 65 78 74 | 65 72 6e 20 50 69 78 65 | */.Xext|ern Pixe|
|000047e0| 6c 20 49 54 65 78 74 42 | 61 63 6b 67 72 6f 75 6e |l ITextB|ackgroun|
|000047f0| 64 3b 09 2f 2a 20 49 63 | 6f 6e 20 77 69 6e 64 6f |d;./* Ic|on windo|
|00004800| 77 20 74 65 78 74 20 62 | 61 63 6b 67 72 6f 75 6e |w text b|ackgroun|
|00004810| 64 20 63 6f 6c 6f 72 2e | 20 2a 2f 0a 58 65 78 74 |d color.| */.Xext|
|00004820| 65 72 6e 20 50 69 78 65 | 6c 20 49 46 6f 72 65 67 |ern Pixe|l IForeg|
|00004830| 72 6f 75 6e 64 3b 09 2f | 2a 20 49 63 6f 6e 20 70 |round;./|* Icon p|
|00004840| 69 78 6d 61 70 20 66 6f | 72 65 67 72 6f 75 6e 64 |ixmap fo|reground|
|00004850| 20 63 6f 6c 6f 72 20 2a | 2f 0a 58 65 78 74 65 72 | color *|/.Xexter|
|00004860| 6e 20 50 69 78 65 6c 20 | 49 42 61 63 6b 67 72 6f |n Pixel |IBackgro|
|00004870| 75 6e 64 3b 09 2f 2a 20 | 49 63 6f 6e 20 70 69 78 |und;./* |Icon pix|
|00004880| 6d 61 70 20 62 61 63 6b | 67 72 6f 75 6e 64 20 63 |map back|ground c|
|00004890| 6f 6c 6f 72 20 2a 2f 0a | 58 65 78 74 65 72 6e 20 |olor */.|Xextern |
|000048a0| 50 69 78 65 6c 20 50 46 | 6f 72 65 67 72 6f 75 6e |Pixel PF|oregroun|
|000048b0| 64 3b 09 2f 2a 20 50 6f | 70 2d 75 70 20 77 69 6e |d;./* Po|p-up win|
|000048c0| 64 6f 77 20 66 6f 72 67 | 72 6f 75 6e 64 20 63 6f |dow forg|round co|
|000048d0| 6c 6f 72 2e 20 2a 2f 0a | 58 65 78 74 65 72 6e 20 |lor. */.|Xextern |
|000048e0| 50 69 78 65 6c 20 50 42 | 61 63 6b 67 72 6f 75 6e |Pixel PB|ackgroun|
|000048f0| 64 3b 09 2f 2a 20 50 6f | 70 2d 75 70 20 77 69 6e |d;./* Po|p-up win|
|00004900| 64 6f 77 20 62 61 63 6b | 67 72 6f 75 6e 64 20 63 |dow back|ground c|
|00004910| 6f 6c 6f 72 2e 20 2a 2f | 0a 58 65 78 74 65 72 6e |olor. */|.Xextern|
|00004920| 20 50 69 78 65 6c 20 50 | 42 6f 72 64 65 72 3b 09 | Pixel P|Border;.|
|00004930| 09 2f 2a 20 50 6f 70 2d | 55 70 20 57 69 6e 64 6f |./* Pop-|Up Windo|
|00004940| 77 20 62 6f 72 64 65 72 | 20 70 69 78 65 6c 2e 20 |w border| pixel. |
|00004950| 2a 2f 0a 58 65 78 74 65 | 72 6e 20 50 69 78 65 6c |*/.Xexte|rn Pixel|
|00004960| 20 46 6f 72 65 43 6f 6c | 6f 72 3b 09 09 2f 2a 20 | ForeCol|or;../* |
|00004970| 64 65 66 61 75 6c 74 20 | 66 6f 72 65 67 72 6f 75 |default |foregrou|
|00004980| 6e 64 20 63 6f 6c 6f 72 | 20 2a 2f 0a 58 65 78 74 |nd color| */.Xext|
|00004990| 65 72 6e 20 50 69 78 65 | 6c 20 42 61 63 6b 43 6f |ern Pixe|l BackCo|
|000049a0| 6c 6f 72 3b 09 09 2f 2a | 20 64 65 66 61 75 6c 74 |lor;../*| default|
|000049b0| 20 62 61 63 6b 67 72 6f | 75 6e 64 20 63 6f 6c 6f | backgro|und colo|
|000049c0| 72 20 2a 2f 0a 58 65 78 | 74 65 72 6e 20 50 69 78 |r */.Xex|tern Pix|
|000049d0| 65 6c 20 4d 42 6f 72 64 | 65 72 3b 09 09 2f 2a 20 |el MBord|er;../* |
|000049e0| 4d 65 6e 75 20 62 6f 72 | 64 65 72 20 63 6f 6c 6f |Menu bor|der colo|
|000049f0| 72 20 2a 2f 0a 58 65 78 | 74 65 72 6e 20 50 69 78 |r */.Xex|tern Pix|
|00004a00| 65 6c 20 4d 46 6f 72 65 | 67 72 6f 75 6e 64 3b 09 |el MFore|ground;.|
|00004a10| 2f 2a 20 4d 65 6e 75 20 | 66 6f 72 65 67 72 6f 75 |/* Menu |foregrou|
|00004a20| 6e 64 20 63 6f 6c 6f 72 | 20 2a 2f 0a 58 65 78 74 |nd color| */.Xext|
|00004a30| 65 72 6e 20 50 69 78 65 | 6c 20 4d 42 61 63 6b 67 |ern Pixe|l MBackg|
|00004a40| 72 6f 75 6e 64 3b 09 2f | 2a 20 4d 65 6e 75 20 62 |round;./|* Menu b|
|00004a50| 61 63 6b 67 72 6f 75 6e | 64 20 63 6f 6c 6f 72 20 |ackgroun|d color |
|00004a60| 2a 2f 0a 58 65 78 74 65 | 72 6e 20 43 75 72 73 6f |*/.Xexte|rn Curso|
|00004a70| 72 20 41 72 72 6f 77 43 | 72 6f 73 73 43 75 72 73 |r ArrowC|rossCurs|
|00004a80| 6f 72 3b 20 2f 2a 20 41 | 72 72 6f 77 20 63 72 6f |or; /* A|rrow cro|
|00004a90| 73 73 20 63 75 72 73 6f | 72 2e 20 2a 2f 0a 58 65 |ss curso|r. */.Xe|
|00004aa0| 78 74 65 72 6e 20 43 75 | 72 73 6f 72 20 54 65 78 |xtern Cu|rsor Tex|
|00004ab0| 74 43 75 72 73 6f 72 3b | 09 2f 2a 20 54 65 78 74 |tCursor;|./* Text|
|00004ac0| 20 63 75 72 73 6f 72 20 | 75 73 65 64 20 69 6e 20 | cursor |used in |
|00004ad0| 69 63 6f 6e 20 77 69 6e | 64 6f 77 73 2e 20 2a 2f |icon win|dows. */|
|00004ae0| 0a 58 65 78 74 65 72 6e | 20 43 75 72 73 6f 72 20 |.Xextern| Cursor |
|00004af0| 49 63 6f 6e 43 75 72 73 | 6f 72 3b 09 2f 2a 20 49 |IconCurs|or;./* I|
|00004b00| 63 6f 6e 20 43 75 72 73 | 6f 72 2e 20 2a 2f 0a 58 |con Curs|or. */.X|
|00004b10| 65 78 74 65 72 6e 20 43 | 75 72 73 6f 72 20 4c 65 |extern C|ursor Le|
|00004b20| 66 74 42 75 74 74 6f 6e | 43 75 72 73 6f 72 3b 09 |ftButton|Cursor;.|
|00004b30| 2f 2a 20 4c 65 66 74 20 | 62 75 74 74 6f 6e 20 6d |/* Left |button m|
|00004b40| 61 69 6e 20 63 75 72 73 | 6f 72 2e 20 2a 2f 0a 58 |ain curs|or. */.X|
|00004b50| 65 78 74 65 72 6e 20 43 | 75 72 73 6f 72 20 4d 69 |extern C|ursor Mi|
|00004b60| 64 64 6c 65 42 75 74 74 | 6f 6e 43 75 72 73 6f 72 |ddleButt|onCursor|
|00004b70| 3b 2f 2a 20 4d 69 64 64 | 6c 65 20 62 75 74 74 6f |;/* Midd|le butto|
|00004b80| 6e 20 6d 61 69 6e 20 63 | 75 72 73 6f 72 2e 20 2a |n main c|ursor. *|
|00004b90| 2f 0a 58 65 78 74 65 72 | 6e 20 43 75 72 73 6f 72 |/.Xexter|n Cursor|
|00004ba0| 20 52 69 67 68 74 42 75 | 74 74 6f 6e 43 75 72 73 | RightBu|ttonCurs|
|00004bb0| 6f 72 3b 2f 2a 20 52 69 | 67 68 74 20 62 75 74 74 |or;/* Ri|ght butt|
|00004bc0| 6f 6e 20 6d 61 69 6e 20 | 63 75 72 73 6f 72 2e 20 |on main |cursor. |
|00004bd0| 2a 2f 0a 58 65 78 74 65 | 72 6e 20 43 75 72 73 6f |*/.Xexte|rn Curso|
|00004be0| 72 20 54 61 72 67 65 74 | 43 75 72 73 6f 72 3b 09 |r Target|Cursor;.|
|00004bf0| 2f 2a 20 54 61 72 67 65 | 74 20 28 73 65 6c 65 63 |/* Targe|t (selec|
|00004c00| 74 2d 61 2d 77 69 6e 64 | 6f 77 29 20 63 75 72 73 |t-a-wind|ow) curs|
|00004c10| 6f 72 2e 20 2a 2f 0a 58 | 65 78 74 65 72 6e 20 43 |or. */.X|extern C|
|00004c20| 75 72 73 6f 72 20 54 69 | 74 6c 65 43 75 72 73 6f |ursor Ti|tleCurso|
|00004c30| 72 3b 09 2f 2a 20 54 69 | 74 6c 65 20 62 61 72 20 |r;./* Ti|tle bar |
|00004c40| 63 75 72 73 6f 72 20 2a | 2f 0a 58 65 78 74 65 72 |cursor *|/.Xexter|
|00004c50| 6e 20 43 75 72 73 6f 72 | 20 46 72 61 6d 65 43 75 |n Cursor| FrameCu|
|00004c60| 72 73 6f 72 3b 09 2f 2a | 20 46 72 61 6d 65 20 63 |rsor;./*| Frame c|
|00004c70| 75 72 73 6f 72 20 2a 2f | 0a 58 65 78 74 65 72 6e |ursor */|.Xextern|
|00004c80| 20 43 75 72 73 6f 72 20 | 47 75 6d 62 79 43 75 72 | Cursor |GumbyCur|
|00004c90| 73 6f 72 3b 09 2f 2a 20 | 55 73 65 64 20 69 6e 20 |sor;./* |Used in |
|00004ca0| 69 63 6f 6e 73 20 69 66 | 20 6e 6f 74 20 74 79 70 |icons if| not typ|
|00004cb0| 65 2d 69 6e 20 20 20 2a | 2f 0a 58 65 78 74 65 72 |e-in *|/.Xexter|
|00004cc0| 6e 20 75 6e 73 69 67 6e | 65 64 20 69 6e 74 20 47 |n unsign|ed int G|
|00004cd0| 61 64 67 65 74 42 6f 72 | 64 65 72 3b 09 2f 2a 20 |adgetBor|der;./* |
|00004ce0| 57 69 64 74 68 20 6f 66 | 20 67 61 64 67 65 74 20 |Width of| gadget |
|00004cf0| 62 6f 72 64 65 72 73 20 | 2a 2f 0a 58 65 78 74 65 |borders |*/.Xexte|
|00004d00| 72 6e 20 69 6e 74 20 53 | 63 72 65 65 6e 57 69 64 |rn int S|creenWid|
|00004d10| 74 68 3b 09 09 2f 2a 20 | 44 69 73 70 6c 61 79 20 |th;../* |Display |
|00004d20| 73 63 72 65 65 6e 20 77 | 69 64 74 68 2e 20 2a 2f |screen w|idth. */|
|00004d30| 0a 58 65 78 74 65 72 6e | 20 69 6e 74 20 53 63 72 |.Xextern| int Scr|
|00004d40| 65 65 6e 48 65 69 67 68 | 74 3b 09 2f 2a 20 44 69 |eenHeigh|t;./* Di|
|00004d50| 73 70 6c 61 79 20 73 63 | 72 65 65 6e 20 68 65 69 |splay sc|reen hei|
|00004d60| 67 68 74 2e 20 2a 2f 0a | 58 65 78 74 65 72 6e 20 |ght. */.|Xextern |
|00004d70| 69 6e 74 20 54 69 74 6c | 65 48 65 69 67 68 74 3b |int Titl|eHeight;|
|00004d80| 09 09 2f 2a 20 48 65 69 | 67 68 74 20 69 6e 20 70 |../* Hei|ght in p|
|00004d90| 69 78 65 6c 73 20 6f 66 | 20 74 69 74 6c 65 20 62 |ixels of| title b|
|00004da0| 61 72 28 73 29 20 2a 2f | 0a 58 65 78 74 65 72 6e |ar(s) */|.Xextern|
|00004db0| 20 69 6e 74 20 74 69 74 | 6c 65 48 65 69 67 68 74 | int tit|leHeight|
|00004dc0| 3b 09 09 2f 2a 20 44 65 | 72 69 76 65 64 20 68 65 |;../* De|rived he|
|00004dd0| 69 67 68 74 20 6f 66 20 | 74 69 74 6c 65 20 62 61 |ight of |title ba|
|00004de0| 72 28 73 29 20 2a 2f 0a | 58 65 78 74 65 72 6e 20 |r(s) */.|Xextern |
|00004df0| 69 6e 74 20 67 61 64 67 | 65 74 48 65 69 67 68 74 |int gadg|etHeight|
|00004e00| 3b 09 2f 2a 20 48 65 69 | 67 68 74 20 6f 66 20 68 |;./* Hei|ght of h|
|00004e10| 69 67 68 65 73 74 20 67 | 61 64 67 65 74 20 2a 2f |ighest g|adget */|
|00004e20| 0a 58 65 78 74 65 72 6e | 20 69 6e 74 20 4e 61 6d |.Xextern| int Nam|
|00004e30| 65 4f 66 66 73 65 74 3b | 09 09 2f 2a 20 4f 66 66 |eOffset;|../* Off|
|00004e40| 73 65 74 20 66 6f 72 20 | 77 69 6e 64 6f 77 20 6e |set for |window n|
|00004e50| 61 6d 65 20 2a 2f 0a 58 | 65 78 74 65 72 6e 20 69 |ame */.X|extern i|
|00004e60| 6e 74 20 49 42 6f 72 64 | 65 72 57 69 64 74 68 3b |nt IBord|erWidth;|
|00004e70| 09 2f 2a 20 49 63 6f 6e | 20 77 69 6e 64 6f 77 20 |./* Icon| window |
|00004e80| 62 6f 72 64 65 72 20 77 | 69 64 74 68 2e 20 2a 2f |border w|idth. */|
|00004e90| 0a 58 65 78 74 65 72 6e | 20 69 6e 74 20 50 57 69 |.Xextern| int PWi|
|00004ea0| 64 74 68 3b 09 09 2f 2a | 20 50 6f 70 2d 75 70 20 |dth;../*| Pop-up |
|00004eb0| 77 69 6e 64 6f 77 20 77 | 69 64 74 68 20 28 69 6e |window w|idth (in|
|00004ec0| 63 6c 75 64 69 6e 67 20 | 62 6f 72 64 65 72 73 29 |cluding |borders)|
|00004ed0| 2e 20 2a 2f 0a 58 65 78 | 74 65 72 6e 20 69 6e 74 |. */.Xex|tern int|
|00004ee0| 20 50 48 65 69 67 68 74 | 3b 09 09 2f 2a 20 50 6f | PHeight|;../* Po|
|00004ef0| 70 2d 75 70 20 77 69 6e | 64 6f 77 20 68 65 69 67 |p-up win|dow heig|
|00004f00| 68 74 20 28 69 6e 63 6c | 75 64 69 6e 67 20 62 6f |ht (incl|uding bo|
|00004f10| 72 64 65 72 73 29 2e 20 | 2a 2f 0a 58 65 78 74 65 |rders). |*/.Xexte|
|00004f20| 72 6e 20 75 6e 73 69 67 | 6e 65 64 20 69 6e 74 20 |rn unsig|ned int |
|00004f30| 50 42 6f 72 64 65 72 57 | 69 64 74 68 3b 09 2f 2a |PBorderW|idth;./*|
|00004f40| 20 50 6f 70 2d 75 70 20 | 77 69 6e 64 6f 77 20 62 | Pop-up |window b|
|00004f50| 6f 72 64 65 72 20 77 69 | 64 74 68 2e 20 2a 2f 0a |order wi|dth. */.|
|00004f60| 58 65 78 74 65 72 6e 20 | 69 6e 74 20 50 50 61 64 |Xextern |int PPad|
|00004f70| 64 69 6e 67 3b 09 09 2f | 2a 20 50 6f 70 2d 75 70 |ding;../|* Pop-up|
|00004f80| 20 77 69 6e 64 6f 77 20 | 70 61 64 64 69 6e 67 2e | window |padding.|
|00004f90| 20 2a 2f 0a 58 65 78 74 | 65 72 6e 20 69 6e 74 20 | */.Xext|ern int |
|00004fa0| 44 65 6c 74 61 3b 09 09 | 2f 2a 20 4d 6f 75 73 65 |Delta;..|/* Mouse|
|00004fb0| 20 6d 6f 76 65 6d 65 6e | 74 20 73 6c 6f 70 2e 20 | movemen|t slop. |
|00004fc0| 2a 2f 0a 58 65 78 74 65 | 72 6e 20 69 6e 74 20 48 |*/.Xexte|rn int H|
|00004fd0| 49 63 6f 6e 50 61 64 3b | 09 09 2f 2a 20 49 63 6f |IconPad;|../* Ico|
|00004fe0| 6e 20 68 6f 72 69 7a 6f | 6e 74 61 6c 20 70 61 64 |n horizo|ntal pad|
|00004ff0| 64 69 6e 67 2e 20 2a 2f | 0a 58 65 78 74 65 72 6e |ding. */|.Xextern|
|00005000| 20 69 6e 74 20 56 49 63 | 6f 6e 50 61 64 3b 09 09 | int VIc|onPad;..|
|00005010| 2f 2a 20 49 63 6f 6e 20 | 76 65 72 74 69 63 61 6c |/* Icon |vertical|
|00005020| 20 70 61 64 64 69 6e 67 | 2e 20 2a 2f 0a 58 65 78 | padding|. */.Xex|
|00005030| 74 65 72 6e 20 69 6e 74 | 20 50 75 73 68 76 61 6c |tern int| Pushval|
|00005040| 3b 09 09 2f 2a 20 4e 75 | 6d 62 65 72 20 6f 66 20 |;../* Nu|mber of |
|00005050| 70 69 78 65 6c 73 20 74 | 6f 20 70 75 73 68 20 77 |pixels t|o push w|
|00005060| 69 6e 64 6f 77 20 62 79 | 2e 20 2a 2f 0a 58 65 78 |indow by|. */.Xex|
|00005070| 74 65 72 6e 20 69 6e 74 | 20 42 43 6f 6e 74 65 78 |tern int| BContex|
|00005080| 74 3b 09 09 2f 2a 20 57 | 69 64 74 68 20 6f 66 20 |t;../* W|idth of |
|00005090| 62 6f 72 64 65 72 20 63 | 6f 6e 74 65 78 74 20 61 |border c|ontext a|
|000050a0| 72 65 61 20 69 6e 20 70 | 69 78 65 6c 73 20 2a 2f |rea in p|ixels */|
|000050b0| 0a 58 65 78 74 65 72 6e | 20 69 6e 74 20 52 61 69 |.Xextern| int Rai|
|000050c0| 73 65 44 65 6c 61 79 3b | 09 09 2f 2a 20 44 65 6c |seDelay;|../* Del|
|000050d0| 61 79 20 69 6e 20 6d 69 | 6c 6c 69 73 65 63 6f 6e |ay in mi|llisecon|
|000050e0| 64 73 20 62 65 66 6f 72 | 65 20 61 75 74 6f 72 61 |ds befor|e autora|
|000050f0| 69 73 69 6e 67 20 77 69 | 6e 64 6f 77 73 20 2a 2f |ising wi|ndows */|
|00005100| 0a 58 65 78 74 65 72 6e | 20 69 6e 74 20 56 6f 6c |.Xextern| int Vol|
|00005110| 75 6d 65 3b 09 09 2f 2a | 20 41 75 64 69 62 6c 65 |ume;../*| Audible|
|00005120| 20 61 6c 61 72 6d 20 76 | 6f 6c 75 6d 65 2e 20 2a | alarm v|olume. *|
|00005130| 2f 0a 58 65 78 74 65 72 | 6e 20 69 6e 74 20 4e 75 |/.Xexter|n int Nu|
|00005140| 6d 47 61 64 67 65 74 73 | 3b 09 09 2f 2a 20 4e 75 |mGadgets|;../* Nu|
|00005150| 6d 62 65 72 20 6f 66 20 | 67 61 64 67 65 74 73 20 |mber of |gadgets |
|00005160| 75 73 65 64 20 2a 2f 0a | 58 65 78 74 65 72 6e 20 |used */.|Xextern |
|00005170| 69 6e 74 20 47 61 64 67 | 65 74 50 61 64 3b 09 09 |int Gadg|etPad;..|
|00005180| 2f 2a 20 50 61 64 64 69 | 6e 67 20 62 65 74 77 65 |/* Paddi|ng betwe|
|00005190| 65 6e 20 67 61 64 67 65 | 74 73 20 2a 2f 0a 58 65 |en gadge|ts */.Xe|
|000051a0| 78 74 65 72 6e 20 69 6e | 74 20 54 69 74 6c 65 50 |xtern in|t TitleP|
|000051b0| 61 64 3b 09 09 2f 2a 20 | 54 69 74 6c 65 20 74 65 |ad;../* |Title te|
|000051c0| 78 74 20 70 61 64 64 69 | 6e 67 20 2a 2f 0a 58 65 |xt paddi|ng */.Xe|
|000051d0| 78 74 65 72 6e 20 69 6e | 74 20 73 74 61 74 75 73 |xtern in|t status|
|000051e0| 3b 09 09 2f 2a 20 52 6f | 75 74 69 6e 65 20 72 65 |;../* Ro|utine re|
|000051f0| 74 75 72 6e 20 73 74 61 | 74 75 73 2e 20 2a 2f 0a |turn sta|tus. */.|
|00005200| 58 65 78 74 65 72 6e 20 | 69 6e 74 20 4d 50 61 64 |Xextern |int MPad|
|00005210| 3b 09 09 2f 2a 20 6d 65 | 6e 75 20 70 61 64 64 69 |;../* me|nu paddi|
|00005220| 6e 67 20 2a 2f 0a 58 65 | 78 74 65 72 6e 20 69 6e |ng */.Xe|xtern in|
|00005230| 74 20 4d 44 65 6c 74 61 | 3b 09 09 2f 2a 20 4d 65 |t MDelta|;../* Me|
|00005240| 6e 75 20 73 75 62 69 74 | 65 6d 20 64 65 6c 74 61 |nu subit|em delta|
|00005250| 20 2a 2f 0a 58 65 78 74 | 65 72 6e 20 69 6e 74 20 | */.Xext|ern int |
|00005260| 4d 42 6f 72 64 65 72 57 | 69 64 74 68 3b 09 2f 2a |MBorderW|idth;./*|
|00005270| 20 4d 65 6e 75 20 62 6f | 72 64 65 72 20 77 69 64 | Menu bo|rder wid|
|00005280| 74 68 20 2a 2f 0a 58 65 | 78 74 65 72 6e 20 69 6e |th */.Xe|xtern in|
|00005290| 74 20 4d 49 74 65 6d 42 | 6f 72 64 65 72 3b 09 09 |t MItemB|order;..|
|000052a0| 2f 2a 20 4d 65 6e 75 20 | 69 74 65 6d 20 62 6f 72 |/* Menu |item bor|
|000052b0| 64 65 72 20 77 69 64 74 | 68 20 2a 2f 0a 58 65 78 |der widt|h */.Xex|
|000052c0| 74 65 72 6e 20 75 6e 73 | 69 67 6e 65 64 20 69 6e |tern uns|igned in|
|000052d0| 74 20 42 43 75 72 73 6f | 72 3b 09 2f 2a 20 42 6f |t BCurso|r;./* Bo|
|000052e0| 72 64 65 72 20 63 6f 6e | 74 65 78 74 20 63 75 72 |rder con|text cur|
|000052f0| 73 6f 72 20 2a 2f 0a 58 | 65 78 74 65 72 6e 20 75 |sor */.X|extern u|
|00005300| 6e 73 69 67 6e 65 64 20 | 69 6e 74 20 54 43 75 72 |nsigned |int TCur|
|00005310| 73 6f 72 3b 09 2f 2a 20 | 54 69 74 6c 65 20 63 6f |sor;./* |Title co|
|00005320| 6e 74 65 78 74 20 63 75 | 72 73 6f 72 20 2a 2f 0a |ntext cu|rsor */.|
|00005330| 58 65 78 74 65 72 6e 20 | 4d 65 6e 75 4c 69 6e 6b |Xextern |MenuLink|
|00005340| 20 2a 4d 65 6e 75 73 3b | 09 09 2f 2a 20 4c 69 6e | *Menus;|../* Lin|
|00005350| 6b 65 64 20 6c 69 73 74 | 20 6f 66 20 6d 65 6e 75 |ked list| of menu|
|00005360| 73 2e 20 2a 2f 0a 58 65 | 78 74 65 72 6e 20 47 43 |s. */.Xe|xtern GC|
|00005370| 20 20 49 63 6f 6e 47 43 | 3b 09 09 2f 2a 20 67 72 | IconGC|;../* gr|
|00005380| 61 70 68 69 63 73 20 63 | 6f 6e 74 65 78 74 20 66 |aphics c|ontext f|
|00005390| 6f 72 20 69 63 6f 6e 20 | 2a 2f 0a 58 65 78 74 65 |or icon |*/.Xexte|
|000053a0| 72 6e 20 47 43 20 20 50 | 6f 70 47 43 3b 09 09 2f |rn GC P|opGC;../|
|000053b0| 2a 20 67 72 61 70 68 69 | 63 73 20 63 6f 6e 74 65 |* graphi|cs conte|
|000053c0| 78 74 20 66 6f 72 20 70 | 6f 70 20 2a 2f 0a 58 65 |xt for p|op */.Xe|
|000053d0| 78 74 65 72 6e 20 47 43 | 20 20 44 72 61 77 47 43 |xtern GC| DrawGC|
|000053e0| 3b 09 09 2f 2a 20 67 72 | 61 70 68 69 63 73 20 63 |;../* gr|aphics c|
|000053f0| 6f 6e 74 65 78 74 20 66 | 6f 72 20 7a 61 70 20 2a |ontext f|or zap *|
|00005400| 2f 0a 58 0a 58 65 78 74 | 65 72 6e 20 42 6f 6f 6c |/.X.Xext|ern Bool|
|00005410| 65 61 6e 20 41 75 74 6f | 72 61 69 73 65 3b 09 2f |ean Auto|raise;./|
|00005420| 2a 20 52 61 69 73 65 20 | 77 69 6e 64 6f 77 20 6f |* Raise |window o|
|00005430| 6e 20 69 6e 70 75 74 20 | 66 6f 63 75 73 3f 20 2a |n input |focus? *|
|00005440| 2f 0a 58 65 78 74 65 72 | 6e 20 42 6f 6f 6c 65 61 |/.Xexter|n Boolea|
|00005450| 6e 20 41 75 74 6f 73 65 | 6c 65 63 74 3b 09 2f 2a |n Autose|lect;./*|
|00005460| 20 57 61 72 70 20 6d 6f | 75 73 65 20 74 6f 20 64 | Warp mo|use to d|
|00005470| 65 66 61 75 6c 74 20 6d | 65 6e 75 20 73 65 6c 65 |efault m|enu sele|
|00005480| 63 74 69 6f 6e 3f 20 2a | 2f 0a 58 65 78 74 65 72 |ction? *|/.Xexter|
|00005490| 6e 20 42 6f 6f 6c 65 61 | 6e 20 42 6f 72 64 65 72 |n Boolea|n Border|
|000054a0| 73 3b 09 09 2f 2a 20 44 | 69 73 70 6c 61 79 20 62 |s;../* D|isplay b|
|000054b0| 6f 72 64 65 72 20 63 6f | 6e 74 65 78 74 20 61 72 |order co|ntext ar|
|000054c0| 65 61 73 3f 20 2a 2f 0a | 58 65 78 74 65 72 6e 20 |eas? */.|Xextern |
|000054d0| 42 6f 6f 6c 65 61 6e 20 | 43 6f 6e 73 74 72 61 69 |Boolean |Constrai|
|000054e0| 6e 52 65 73 69 7a 65 3b | 09 2f 2a 20 44 6f 6e 27 |nResize;|./* Don'|
|000054f0| 74 20 72 65 73 69 7a 65 | 20 75 6e 74 69 6c 20 70 |t resize| until p|
|00005500| 6f 69 6e 74 65 72 20 6c | 65 61 76 65 73 20 77 69 |ointer l|eaves wi|
|00005510| 6e 64 6f 77 20 2a 2f 0a | 58 65 78 74 65 72 6e 20 |ndow */.|Xextern |
|00005520| 42 6f 6f 6c 65 61 6e 20 | 46 72 65 65 7a 65 3b 09 |Boolean |Freeze;.|
|00005530| 09 2f 2a 20 46 72 65 65 | 7a 65 20 73 65 72 76 65 |./* Free|ze serve|
|00005540| 72 20 64 75 72 69 6e 67 | 20 6d 6f 76 65 2f 72 65 |r during| move/re|
|00005550| 73 69 7a 65 3f 20 2a 2f | 0a 58 65 78 74 65 72 6e |size? */|.Xextern|
|00005560| 20 42 6f 6f 6c 65 61 6e | 20 47 72 69 64 3b 09 09 | Boolean| Grid;..|
|00005570| 2f 2a 20 53 68 6f 75 6c | 64 20 74 68 65 20 6d 2f |/* Shoul|d the m/|
|00005580| 72 20 62 6f 78 20 63 6f | 6e 74 61 69 6e 20 61 20 |r box co|ntain a |
|00005590| 39 20 73 65 67 2e 20 67 | 72 69 64 2e 20 2a 2f 0a |9 seg. g|rid. */.|
|000055a0| 58 65 78 74 65 72 6e 20 | 42 6f 6f 6c 65 61 6e 20 |Xextern |Boolean |
|000055b0| 48 69 6c 69 74 65 3b 09 | 09 2f 2a 20 53 68 6f 75 |Hilite;.|./* Shou|
|000055c0| 6c 64 20 77 65 20 68 69 | 67 68 6c 69 67 68 74 20 |ld we hi|ghlight |
|000055d0| 74 69 74 6c 65 73 20 6f | 6e 20 66 6f 63 75 73 3f |titles o|n focus?|
|000055e0| 20 2a 2f 0a 58 65 78 74 | 65 72 6e 20 42 6f 6f 6c | */.Xext|ern Bool|
|000055f0| 65 61 6e 20 42 6f 72 64 | 65 72 48 69 6c 69 74 65 |ean Bord|erHilite|
|00005600| 3b 09 2f 2a 20 53 68 6f | 75 6c 64 20 77 65 20 68 |;./* Sho|uld we h|
|00005610| 69 67 68 6c 69 67 68 74 | 20 62 6f 72 64 65 72 73 |ighlight| borders|
|00005620| 20 6f 6e 20 66 6f 63 75 | 73 3f 20 2a 2f 0a 58 65 | on focu|s? */.Xe|
|00005630| 78 74 65 72 6e 20 42 6f | 6f 6c 65 61 6e 20 46 72 |xtern Bo|olean Fr|
|00005640| 61 6d 65 46 6f 63 75 73 | 3b 09 2f 2a 20 53 68 6f |ameFocus|;./* Sho|
|00005650| 75 6c 64 20 66 72 61 6d | 65 20 62 65 20 63 6f 6e |uld fram|e be con|
|00005660| 73 69 64 65 72 65 64 20 | 70 61 72 74 20 6f 66 20 |sidered |part of |
|00005670| 77 69 6e 64 6f 77 20 2a | 2f 0a 58 65 78 74 65 72 |window *|/.Xexter|
|00005680| 6e 20 42 6f 6f 6c 65 61 | 6e 20 53 68 6f 77 4e 61 |n Boolea|n ShowNa|
|00005690| 6d 65 3b 09 2f 2a 20 44 | 69 73 70 6c 61 79 20 6e |me;./* D|isplay n|
|000056a0| 61 6d 65 73 20 69 6e 20 | 74 69 74 6c 65 20 62 61 |ames in |title ba|
|000056b0| 72 73 20 2a 2f 0a 58 65 | 78 74 65 72 6e 20 42 6f |rs */.Xe|xtern Bo|
|000056c0| 6f 6c 65 61 6e 20 4e 57 | 69 6e 64 6f 77 3b 09 09 |olean NW|indow;..|
|000056d0| 2f 2a 20 4e 6f 72 6d 61 | 6c 69 7a 65 20 77 69 6e |/* Norma|lize win|
|000056e0| 64 6f 77 73 3f 20 2a 2f | 0a 58 65 78 74 65 72 6e |dows? */|.Xextern|
|000056f0| 20 42 6f 6f 6c 65 61 6e | 20 4e 49 63 6f 6e 3b 09 | Boolean| NIcon;.|
|00005700| 09 2f 2a 20 4e 6f 72 6d | 61 6c 69 7a 65 20 69 63 |./* Norm|alize ic|
|00005710| 6f 6e 73 3f 20 2a 2f 0a | 58 65 78 74 65 72 6e 20 |ons? */.|Xextern |
|00005720| 42 6f 6f 6c 65 61 6e 20 | 52 6f 6f 74 52 65 73 69 |Boolean |RootResi|
|00005730| 7a 65 42 6f 78 3b 09 2f | 2a 20 53 68 6f 75 6c 64 |zeBox;./|* Should|
|00005740| 20 72 65 73 69 7a 65 20 | 62 6f 78 20 6f 62 73 63 | resize |box obsc|
|00005750| 75 72 65 20 77 69 6e 64 | 6f 77 3f 20 2a 2f 0a 58 |ure wind|ow? */.X|
|00005760| 65 78 74 65 72 6e 20 42 | 6f 6f 6c 65 61 6e 20 49 |extern B|oolean I|
|00005770| 6e 73 74 61 6c 6c 43 6f | 6c 6f 72 6d 61 70 3b 09 |nstallCo|lormap;.|
|00005780| 2f 2a 20 49 6e 73 74 61 | 6c 6c 20 63 6f 6c 6f 72 |/* Insta|ll color|
|00005790| 6d 61 70 20 66 6f 72 20 | 63 6c 69 65 6e 74 73 3f |map for |clients?|
|000057a0| 20 2a 2f 0a 58 65 78 74 | 65 72 6e 20 42 6f 6f 6c | */.Xext|ern Bool|
|000057b0| 65 61 6e 20 50 75 73 68 | 3b 09 09 2f 2a 20 52 65 |ean Push|;../* Re|
|000057c0| 6c 61 74 69 76 65 3d 54 | 52 55 45 2c 20 41 62 73 |lative=T|RUE, Abs|
|000057d0| 6f 6c 75 74 65 3d 46 41 | 4c 53 45 2e 20 2a 2f 0a |olute=FA|LSE. */.|
|000057e0| 58 65 78 74 65 72 6e 20 | 42 6f 6f 6c 65 61 6e 20 |Xextern |Boolean |
|000057f0| 52 65 73 69 7a 65 52 65 | 6c 61 74 69 76 65 3b 09 |ResizeRe|lative;.|
|00005800| 2f 2a 20 52 65 6c 61 74 | 69 76 65 3d 54 52 55 45 |/* Relat|ive=TRUE|
|00005810| 2c 20 41 62 73 6f 6c 75 | 74 65 3d 46 41 4c 53 45 |, Absolu|te=FALSE|
|00005820| 2e 20 2a 2f 0a 58 65 78 | 74 65 72 6e 20 42 6f 6f |. */.Xex|tern Boo|
|00005830| 6c 65 61 6e 20 52 65 76 | 65 72 73 65 3b 09 09 2f |lean Rev|erse;../|
|00005840| 2a 20 52 65 76 65 72 73 | 65 20 76 69 64 65 6f 3f |* Revers|e video?|
|00005850| 20 2a 2f 0a 58 65 78 74 | 65 72 6e 20 42 6f 6f 6c | */.Xext|ern Bool|
|00005860| 65 61 6e 20 53 61 76 65 | 55 6e 64 65 72 3b 09 2f |ean Save|Under;./|
|00005870| 2a 20 53 61 76 65 20 75 | 6e 64 65 72 73 3f 20 2a |* Save u|nders? *|
|00005880| 2f 0a 58 65 78 74 65 72 | 6e 20 42 6f 6f 6c 65 61 |/.Xexter|n Boolea|
|00005890| 6e 20 53 6e 61 74 63 68 | 65 64 3b 09 2f 2a 20 57 |n Snatch|ed;./* W|
|000058a0| 65 27 72 65 20 69 6e 20 | 74 68 65 20 6d 69 64 64 |e're in |the midd|
|000058b0| 6c 65 20 6f 66 20 61 6e | 20 6e 6f 2d 68 69 67 68 |le of an| no-high|
|000058c0| 6c 69 67 68 74 2f 72 61 | 69 73 65 20 6f 70 20 2a |light/ra|ise op *|
|000058d0| 2f 0a 58 65 78 74 65 72 | 6e 20 42 6f 6f 6c 65 61 |/.Xexter|n Boolea|
|000058e0| 6e 20 54 69 74 6c 65 73 | 3b 09 09 2f 2a 20 54 69 |n Titles|;../* Ti|
|000058f0| 74 6c 65 20 62 61 72 73 | 20 6f 6e 20 77 69 6e 64 |tle bars| on wind|
|00005900| 6f 77 73 3f 20 2a 2f 0a | 58 65 78 74 65 72 6e 20 |ows? */.|Xextern |
|00005910| 42 6f 6f 6c 65 61 6e 20 | 49 63 6f 6e 4c 61 62 65 |Boolean |IconLabe|
|00005920| 6c 73 3b 09 2f 2a 20 4c | 61 62 65 6c 73 20 6f 6e |ls;./* L|abels on|
|00005930| 20 70 69 78 6d 61 70 20 | 69 63 6f 6e 73 3f 20 28 | pixmap |icons? (|
|00005940| 74 77 6d 20 73 74 79 6c | 65 29 20 2a 2f 0a 58 65 |twm styl|e) */.Xe|
|00005950| 78 74 65 72 6e 20 42 6f | 6f 6c 65 61 6e 20 49 4c |xtern Bo|olean IL|
|00005960| 61 62 65 6c 54 6f 70 3b | 09 2f 2a 20 6c 61 62 65 |abelTop;|./* labe|
|00005970| 6c 20 74 6f 70 20 6f 66 | 20 69 63 6f 6e 3f 20 2a |l top of| icon? *|
|00005980| 2f 0a 58 65 78 74 65 72 | 6e 20 42 6f 6f 6c 65 61 |/.Xexter|n Boolea|
|00005990| 6e 20 50 75 73 68 44 6f | 77 6e 3b 09 2f 2a 20 44 |n PushDo|wn;./* D|
|000059a0| 6f 77 6e 3d 54 52 55 45 | 2c 20 55 70 3d 46 41 4c |own=TRUE|, Up=FAL|
|000059b0| 53 45 20 2a 2f 0a 58 65 | 78 74 65 72 6e 20 42 6f |SE */.Xe|xtern Bo|
|000059c0| 6f 6c 65 61 6e 20 55 73 | 65 47 61 64 67 65 74 73 |olean Us|eGadgets|
|000059d0| 3b 09 2f 2a 20 47 61 64 | 67 65 74 20 62 6f 78 65 |;./* Gad|get boxe|
|000059e0| 73 20 69 6e 20 74 69 74 | 6c 65 20 62 61 72 73 3f |s in tit|le bars?|
|000059f0| 20 2a 2f 0a 58 65 78 74 | 65 72 6e 20 42 6f 6f 6c | */.Xext|ern Bool|
|00005a00| 65 61 6e 20 57 61 6c 6c | 3b 09 09 2f 2a 20 44 6f |ean Wall|;../* Do|
|00005a10| 6e 27 74 20 61 6c 6c 6f | 77 20 77 69 6e 64 6f 77 |n't allo|w window|
|00005a20| 73 20 70 61 73 74 20 65 | 64 67 65 73 20 6f 66 20 |s past e|dges of |
|00005a30| 73 63 72 65 65 6e 20 2a | 2f 0a 58 65 78 74 65 72 |screen *|/.Xexter|
|00005a40| 6e 20 42 6f 6f 6c 65 61 | 6e 20 57 61 72 70 4f 6e |n Boolea|n WarpOn|
|00005a50| 52 61 69 73 65 3b 09 2f | 2a 20 57 61 72 70 20 74 |Raise;./|* Warp t|
|00005a60| 6f 20 75 70 70 65 72 20 | 72 69 67 68 74 20 63 6f |o upper |right co|
|00005a70| 72 6e 65 72 20 6f 6e 20 | 72 61 69 73 65 2e 20 2a |rner on |raise. *|
|00005a80| 2f 0a 58 65 78 74 65 72 | 6e 20 42 6f 6f 6c 65 61 |/.Xexter|n Boolea|
|00005a90| 6e 20 57 61 72 70 4f 6e | 49 63 6f 6e 69 66 79 3b |n WarpOn|Iconify;|
|00005aa0| 20 20 20 2f 2a 20 57 61 | 72 70 20 74 6f 20 69 63 | /* Wa|rp to ic|
|00005ab0| 6f 6e 20 63 65 6e 74 65 | 72 20 6f 6e 20 69 63 6f |on cente|r on ico|
|00005ac0| 6e 69 66 79 2e 20 2a 2f | 0a 58 65 78 74 65 72 6e |nify. */|.Xextern|
|00005ad0| 20 42 6f 6f 6c 65 61 6e | 20 57 61 72 70 4f 6e 44 | Boolean| WarpOnD|
|00005ae0| 65 49 63 6f 6e 69 66 79 | 3b 20 2f 2a 20 57 61 72 |eIconify|; /* War|
|00005af0| 70 20 74 6f 20 75 70 70 | 65 72 20 72 69 67 68 74 |p to upp|er right|
|00005b00| 20 63 6f 72 6e 65 72 20 | 6f 6e 20 64 65 2d 69 63 | corner |on de-ic|
|00005b10| 6f 6e 69 66 79 2e 20 2a | 2f 0a 58 65 78 74 65 72 |onify. *|/.Xexter|
|00005b20| 6e 20 42 6f 6f 6c 65 61 | 6e 20 5a 61 70 3b 09 09 |n Boolea|n Zap;..|
|00005b30| 2f 2a 20 53 68 6f 75 6c | 64 20 74 68 65 20 74 68 |/* Shoul|d the th|
|00005b40| 65 20 7a 61 70 20 65 66 | 66 65 63 74 20 62 65 20 |e zap ef|fect be |
|00005b50| 75 73 65 64 2e 20 2a 2f | 0a 58 65 78 74 65 72 6e |used. */|.Xextern|
|00005b60| 20 42 6f 6f 6c 65 61 6e | 20 46 6f 63 75 73 53 65 | Boolean| FocusSe|
|00005b70| 74 42 79 55 73 65 72 3b | 20 20 2f 2a 20 54 72 75 |tByUser;| /* Tru|
|00005b80| 65 20 69 66 20 66 2e 66 | 6f 63 75 73 20 63 61 6c |e if f.f|ocus cal|
|00005b90| 6c 65 64 20 2a 2f 0a 58 | 65 78 74 65 72 6e 20 42 |led */.X|extern B|
|00005ba0| 6f 6f 6c 65 61 6e 20 46 | 6f 63 75 73 53 65 74 42 |oolean F|ocusSetB|
|00005bb0| 79 57 4d 3b 09 2f 2a 20 | 54 72 75 65 20 69 66 20 |yWM;./* |True if |
|00005bc0| 61 77 6d 20 73 65 74 20 | 74 68 65 20 66 6f 63 75 |awm set |the focu|
|00005bd0| 73 20 2a 2f 0a 58 20 0a | 58 65 78 74 65 72 6e 20 |s */.X .|Xextern |
|00005be0| 63 68 61 72 20 50 54 65 | 78 74 5b 5d 3b 09 09 2f |char PTe|xt[];../|
|00005bf0| 2a 20 50 6f 70 2d 75 70 | 20 77 69 6e 64 6f 77 20 |* Pop-up| window |
|00005c00| 64 75 6d 6d 79 20 74 65 | 78 74 2e 20 2a 2f 0a 58 |dummy te|xt. */.X|
|00005c10| 65 78 74 65 72 6e 20 69 | 6e 74 20 50 54 65 78 74 |extern i|nt PText|
|00005c20| 53 69 7a 65 3b 09 09 2f | 2a 20 50 6f 70 2d 75 70 |Size;../|* Pop-up|
|00005c30| 20 77 69 6e 64 6f 77 20 | 64 75 6d 6d 79 20 74 65 | window |dummy te|
|00005c40| 78 74 20 73 69 7a 65 2e | 20 2a 2f 0a 58 0a 58 65 |xt size.| */.X.Xe|
|00005c50| 78 74 65 72 6e 20 69 6e | 74 20 4c 69 6e 65 6e 6f |xtern in|t Lineno|
|00005c60| 3b 09 09 2f 2a 20 4c 69 | 6e 65 20 63 6f 75 6e 74 |;../* Li|ne count|
|00005c70| 20 66 6f 72 20 70 61 72 | 73 65 72 2e 20 2a 2f 0a | for par|ser. */.|
|00005c80| 58 65 78 74 65 72 6e 20 | 42 6f 6f 6c 65 61 6e 20 |Xextern |Boolean |
|00005c90| 53 74 61 72 74 75 70 5f | 46 69 6c 65 5f 45 72 72 |Startup_|File_Err|
|00005ca0| 6f 72 3b 20 2f 2a 20 53 | 74 61 72 74 75 70 20 66 |or; /* S|tartup f|
|00005cb0| 69 6c 65 20 65 72 72 6f | 72 20 66 6c 61 67 2e 20 |ile erro|r flag. |
|00005cc0| 2a 2f 0a 58 65 78 74 65 | 72 6e 20 63 68 61 72 20 |*/.Xexte|rn char |
|00005cd0| 53 74 61 72 74 75 70 5f | 46 69 6c 65 5b 5d 3b 09 |Startup_|File[];.|
|00005ce0| 2f 2a 20 53 74 61 72 74 | 75 70 20 66 69 6c 65 20 |/* Start|up file |
|00005cf0| 6e 61 6d 65 2e 20 2a 2f | 0a 58 65 78 74 65 72 6e |name. */|.Xextern|
|00005d00| 20 63 68 61 72 20 2a 49 | 46 6f 6e 74 4e 61 6d 65 | char *I|FontName|
|00005d10| 3b 09 09 2f 2a 20 49 63 | 6f 6e 20 66 6f 6e 74 20 |;../* Ic|on font |
|00005d20| 6e 61 6d 65 2e 20 2a 2f | 0a 58 65 78 74 65 72 6e |name. */|.Xextern|
|00005d30| 20 63 68 61 72 20 2a 50 | 46 6f 6e 74 4e 61 6d 65 | char *P|FontName|
|00005d40| 3b 09 09 2f 2a 20 50 6f | 70 2d 75 70 20 66 6f 6e |;../* Po|p-up fon|
|00005d50| 74 20 6e 61 6d 65 2e 20 | 2a 2f 0a 58 65 78 74 65 |t name. |*/.Xexte|
|00005d60| 72 6e 20 63 68 61 72 20 | 2a 54 46 6f 6e 74 4e 61 |rn char |*TFontNa|
|00005d70| 6d 65 3b 09 09 2f 2a 20 | 54 69 74 6c 65 20 66 6f |me;../* |Title fo|
|00005d80| 6e 74 20 6e 61 6d 65 2e | 20 2a 2f 0a 58 65 78 74 |nt name.| */.Xext|
|00005d90| 65 72 6e 20 63 68 61 72 | 20 2a 47 46 6f 6e 74 4e |ern char| *GFontN|
|00005da0| 61 6d 65 3b 09 09 2f 2a | 20 47 61 64 67 65 74 20 |ame;../*| Gadget |
|00005db0| 66 6f 6e 74 20 6e 61 6d | 65 20 2a 2f 0a 58 65 78 |font nam|e */.Xex|
|00005dc0| 74 65 72 6e 20 63 68 61 | 72 20 2a 54 46 6f 6e 74 |tern cha|r *TFont|
|00005dd0| 42 6f 6c 64 4e 61 6d 65 | 3b 09 2f 2a 20 42 6f 6c |BoldName|;./* Bol|
|00005de0| 64 20 54 69 74 6c 65 20 | 66 6f 6e 74 20 6e 61 6d |d Title |font nam|
|00005df0| 65 2e 20 2a 2f 0a 58 65 | 78 74 65 72 6e 20 63 68 |e. */.Xe|xtern ch|
|00005e00| 61 72 20 2a 54 42 6f 6c | 64 50 69 78 6d 61 70 4e |ar *TBol|dPixmapN|
|00005e10| 61 6d 65 3b 09 2f 2a 20 | 54 69 74 6c 65 20 28 68 |ame;./* |Title (h|
|00005e20| 69 67 68 6c 69 67 68 74 | 65 64 29 20 70 69 78 6d |ighlight|ed) pixm|
|00005e30| 61 70 20 66 69 6c 65 20 | 2a 2f 0a 58 65 78 74 65 |ap file |*/.Xexte|
|00005e40| 72 6e 20 63 68 61 72 20 | 2a 54 42 61 63 6b 50 69 |rn char |*TBackPi|
|00005e50| 78 6d 61 70 44 61 74 61 | 3b 09 2f 2a 20 42 69 74 |xmapData|;./* Bit|
|00005e60| 6d 61 70 20 64 61 74 61 | 20 66 69 6c 65 20 74 69 |map data| file ti|
|00005e70| 74 6c 65 20 62 61 63 6b | 67 72 6f 75 6e 64 20 2a |tle back|ground *|
|00005e80| 2f 0a 58 65 78 74 65 72 | 6e 20 63 68 61 72 20 2a |/.Xexter|n char *|
|00005e90| 54 42 6f 6c 64 50 69 78 | 6d 61 70 44 61 74 61 3b |TBoldPix|mapData;|
|00005ea0| 09 2f 2a 20 64 69 74 74 | 6f 2c 20 65 78 63 65 70 |./* ditt|o, excep|
|00005eb0| 74 20 68 69 67 68 6c 69 | 67 68 74 65 64 20 2a 2f |t highli|ghted */|
|00005ec0| 0a 58 65 78 74 65 72 6e | 20 63 68 61 72 20 2a 42 |.Xextern| char *B|
|00005ed0| 42 61 63 6b 50 69 78 6d | 61 70 44 61 74 61 3b 09 |BackPixm|apData;.|
|00005ee0| 2f 2a 20 42 6f 72 64 65 | 72 20 43 6f 6e 74 65 78 |/* Borde|r Contex|
|00005ef0| 74 20 61 72 65 61 20 62 | 61 63 6b 67 72 6f 75 6e |t area b|ackgroun|
|00005f00| 64 20 70 69 78 6d 61 70 | 20 64 61 74 61 20 2a 2f |d pixmap| data */|
|00005f10| 0a 58 65 78 74 65 72 6e | 20 63 68 61 72 20 2a 42 |.Xextern| char *B|
|00005f20| 42 6f 6c 64 50 69 78 6d | 61 70 44 61 74 61 3b 09 |BoldPixm|apData;.|
|00005f30| 2f 2a 20 42 6f 72 64 65 | 72 20 43 6f 6e 74 65 78 |/* Borde|r Contex|
|00005f40| 74 20 62 6f 6c 64 20 70 | 69 78 6d 61 70 20 64 61 |t bold p|ixmap da|
|00005f50| 74 61 20 2a 2f 0a 58 65 | 78 74 65 72 6e 20 63 68 |ta */.Xe|xtern ch|
|00005f60| 61 72 20 2a 61 77 6d 50 | 61 74 68 3b 09 09 2f 2a |ar *awmP|ath;../*|
|00005f70| 20 50 61 74 68 6c 69 73 | 74 20 66 6f 72 20 70 69 | Pathlis|t for pi|
|00005f80| 78 6d 61 70 20 66 69 6c | 65 73 20 2a 2f 0a 58 65 |xmap fil|es */.Xe|
|00005f90| 78 74 65 72 6e 20 63 68 | 61 72 20 2a 2a 41 72 67 |xtern ch|ar **Arg|
|00005fa0| 76 3b 09 09 2f 2a 20 50 | 6f 69 6e 74 65 72 20 74 |v;../* P|ointer t|
|00005fb0| 6f 20 63 6f 6d 6d 61 6e | 64 20 6c 69 6e 65 20 70 |o comman|d line p|
|00005fc0| 61 72 61 6d 65 74 65 72 | 73 2e 20 2a 2f 0a 58 65 |arameter|s. */.Xe|
|00005fd0| 78 74 65 72 6e 20 63 68 | 61 72 20 2a 2a 45 6e 76 |xtern ch|ar **Env|
|00005fe0| 69 72 6f 6e 3b 09 09 2f | 2a 20 50 6f 69 6e 74 65 |iron;../|* Pointe|
|00005ff0| 72 20 74 6f 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |r to env|ironment|
|00006000| 2e 20 2a 2f 0a 58 20 0a | 58 65 78 74 65 72 6e 20 |. */.X .|Xextern |
|00006010| 63 68 61 72 20 2a 44 65 | 66 61 75 6c 74 42 69 6e |char *De|faultBin|
|00006020| 64 69 6e 67 73 5b 5d 3b | 09 2f 2a 20 44 65 66 61 |dings[];|./* Defa|
|00006030| 75 6c 74 20 62 69 6e 64 | 69 6e 67 73 20 73 74 72 |ult bind|ings str|
|00006040| 69 6e 67 20 61 72 72 61 | 79 2e 20 2a 2f 0a 58 65 |ing arra|y. */.Xe|
|00006050| 78 74 65 72 6e 20 4b 65 | 79 77 6f 72 64 20 4b 65 |xtern Ke|yword Ke|
|00006060| 79 77 6f 72 64 54 61 62 | 6c 65 5b 5d 3b 09 2f 2a |ywordTab|le[];./*|
|00006070| 20 4b 65 79 77 6f 72 64 | 20 6c 6f 6f 6b 75 70 20 | Keyword| lookup |
|00006080| 74 61 62 6c 65 2e 20 2a | 2f 0a 58 65 78 74 65 72 |table. *|/.Xexter|
|00006090| 6e 20 42 69 6e 64 69 6e | 67 20 2a 42 6c 69 73 74 |n Bindin|g *Blist|
|000060a0| 3b 09 09 2f 2a 20 42 75 | 74 74 6f 6e 2f 6b 65 79 |;../* Bu|tton/key|
|000060b0| 20 62 69 6e 64 69 6e 67 | 73 20 6c 69 73 74 2e 20 | binding|s list. |
|000060c0| 2a 2f 0a 58 65 78 74 65 | 72 6e 20 4b 65 79 45 78 |*/.Xexte|rn KeyEx|
|000060d0| 70 72 20 4b 65 79 45 78 | 70 72 54 62 6c 5b 5d 3b |pr KeyEx|prTbl[];|
|000060e0| 09 2f 2a 20 4b 65 79 20 | 65 78 70 72 65 73 73 69 |./* Key |expressi|
|000060f0| 6f 6e 20 74 61 62 6c 65 | 2e 20 2a 2f 0a 58 65 78 |on table|. */.Xex|
|00006100| 74 65 72 6e 20 43 6f 6e | 74 45 78 70 72 20 43 6f |tern Con|tExpr Co|
|00006110| 6e 74 45 78 70 72 54 62 | 6c 5b 5d 3b 09 2f 2a 20 |ntExprTb|l[];./* |
|00006120| 43 6f 6e 74 65 78 74 20 | 65 78 70 72 65 73 73 69 |Context |expressi|
|00006130| 6f 6e 20 74 61 62 6c 65 | 2e 20 2a 2f 0a 58 65 78 |on table|. */.Xex|
|00006140| 74 65 72 6e 20 42 75 74 | 74 6f 6e 4d 6f 64 69 66 |tern But|tonModif|
|00006150| 69 65 72 20 42 75 74 74 | 4d 6f 64 54 62 6c 5b 5d |ier Butt|ModTbl[]|
|00006160| 3b 2f 2a 20 42 75 74 74 | 6f 6e 20 6d 6f 64 69 66 |;/* Butt|on modif|
|00006170| 69 65 72 20 74 61 62 6c | 65 2e 20 2a 2f 0a 58 65 |ier tabl|e. */.Xe|
|00006180| 78 74 65 72 6e 20 47 72 | 61 76 69 74 79 45 78 70 |xtern Gr|avityExp|
|00006190| 72 20 47 72 61 76 69 74 | 79 45 78 70 72 54 62 6c |r Gravit|yExprTbl|
|000061a0| 5b 5d 3b 20 2f 2a 20 47 | 72 61 76 69 74 79 20 65 |[]; /* G|ravity e|
|000061b0| 78 70 72 65 73 73 69 6f | 6e 20 74 61 62 6c 65 2e |xpressio|n table.|
|000061c0| 20 2a 2f 0a 58 0a 58 65 | 78 74 65 72 6e 20 47 61 | */.X.Xe|xtern Ga|
|000061d0| 64 67 65 74 44 65 63 6c | 20 2a 2a 47 61 64 67 65 |dgetDecl| **Gadge|
|000061e0| 74 73 3b 09 2f 2a 20 47 | 61 64 67 65 74 73 20 64 |ts;./* G|adgets d|
|000061f0| 65 63 6c 61 72 65 64 2e | 20 53 65 65 20 67 72 61 |eclared.| See gra|
|00006200| 6d 2e 79 20 2a 2f 0a 58 | 65 78 74 65 72 6e 20 69 |m.y */.X|extern i|
|00006210| 6e 74 20 73 63 72 3b 0a | 58 65 78 74 65 72 6e 20 |nt scr;.|Xextern |
|00006220| 44 69 73 70 6c 61 79 20 | 2a 64 70 79 3b 09 09 2f |Display |*dpy;../|
|00006230| 2a 20 44 69 73 70 6c 61 | 79 20 69 6e 66 6f 20 70 |* Displa|y info p|
|00006240| 6f 69 6e 74 65 72 2e 20 | 2a 2f 0a 58 20 0a 58 23 |ointer. |*/.X .X#|
|00006250| 69 66 64 65 66 20 50 52 | 4f 46 49 4c 0a 58 69 6e |ifdef PR|OFIL.Xin|
|00006260| 74 20 70 74 72 61 70 28 | 29 3b 0a 58 23 65 6e 64 |t ptrap(|);.X#end|
|00006270| 69 66 0a 58 20 0a 58 2f | 2a 0a 58 20 2a 20 45 78 |if.X .X/|*.X * Ex|
|00006280| 74 65 72 6e 61 6c 20 72 | 6f 75 74 69 6e 65 20 74 |ternal r|outine t|
|00006290| 79 70 69 6e 67 2e 0a 58 | 20 2a 2f 0a 58 65 78 74 |yping..X| */.Xext|
|000062a0| 65 72 6e 20 42 6f 6f 6c | 65 61 6e 20 42 65 65 70 |ern Bool|ean Beep|
|000062b0| 28 29 3b 0a 58 65 78 74 | 65 72 6e 20 42 6f 6f 6c |();.Xext|ern Bool|
|000062c0| 65 61 6e 20 43 69 72 63 | 6c 65 44 6f 77 6e 28 29 |ean Circ|leDown()|
|000062d0| 3b 0a 58 65 78 74 65 72 | 6e 20 42 6f 6f 6c 65 61 |;.Xexter|n Boolea|
|000062e0| 6e 20 43 69 72 63 6c 65 | 55 70 28 29 3b 0a 58 65 |n Circle|Up();.Xe|
|000062f0| 78 74 65 72 6e 20 42 6f | 6f 6c 65 61 6e 20 43 6f |xtern Bo|olean Co|
|00006300| 6e 74 69 6e 75 65 28 29 | 3b 0a 58 65 78 74 65 72 |ntinue()|;.Xexter|
|00006310| 6e 20 42 6f 6f 6c 65 61 | 6e 20 46 6f 63 75 73 28 |n Boolea|n Focus(|
|00006320| 29 3b 0a 58 65 78 74 65 | 72 6e 20 42 6f 6f 6c 65 |);.Xexte|rn Boole|
|00006330| 61 6e 20 55 6e 46 6f 63 | 75 73 28 29 3b 0a 58 65 |an UnFoc|us();.Xe|
|00006340| 78 74 65 72 6e 20 42 6f | 6f 6c 65 61 6e 20 47 65 |xtern Bo|olean Ge|
|00006350| 74 42 75 74 74 6f 6e 28 | 29 3b 0a 58 65 78 74 65 |tButton(|);.Xexte|
|00006360| 72 6e 20 42 6f 6f 6c 65 | 61 6e 20 49 63 6f 6e 69 |rn Boole|an Iconi|
|00006370| 66 79 28 29 3b 0a 58 65 | 78 74 65 72 6e 20 42 6f |fy();.Xe|xtern Bo|
|00006380| 6f 6c 65 61 6e 20 4c 6f | 77 65 72 28 29 3b 0a 58 |olean Lo|wer();.X|
|00006390| 65 78 74 65 72 6e 20 42 | 6f 6f 6c 65 61 6e 20 44 |extern B|oolean D|
|000063a0| 6f 4d 65 6e 75 28 29 3b | 0a 58 65 78 74 65 72 6e |oMenu();|.Xextern|
|000063b0| 20 42 6f 6f 6c 65 61 6e | 20 44 6f 41 63 74 69 6f | Boolean| DoActio|
|000063c0| 6e 28 29 3b 0a 58 65 78 | 74 65 72 6e 20 42 6f 6f |n();.Xex|tern Boo|
|000063d0| 6c 65 61 6e 20 4c 6f 63 | 6b 28 29 3b 0a 58 65 78 |lean Loc|k();.Xex|
|000063e0| 74 65 72 6e 20 42 6f 6f | 6c 65 61 6e 20 4d 6f 76 |tern Boo|lean Mov|
|000063f0| 65 28 29 3b 0a 58 65 78 | 74 65 72 6e 20 42 6f 6f |e();.Xex|tern Boo|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.