summaryrefslogtreecommitdiff
path: root/appl/demo/whiteboard/wbsrv.sbl
diff options
context:
space:
mode:
Diffstat (limited to 'appl/demo/whiteboard/wbsrv.sbl')
-rw-r--r--appl/demo/whiteboard/wbsrv.sbl818
1 files changed, 818 insertions, 0 deletions
diff --git a/appl/demo/whiteboard/wbsrv.sbl b/appl/demo/whiteboard/wbsrv.sbl
new file mode 100644
index 00000000..6a09ad7a
--- /dev/null
+++ b/appl/demo/whiteboard/wbsrv.sbl
@@ -0,0 +1,818 @@
+limbo .sbl 2.1
+Wbserve
+3
+wbsrv.b
+sys.m
+draw.m
+510
+21.1,25 0
+22.1,28 1
+23.5,16 2
+24.2,20 3
+9,19 3
+2,20 3
+26.5,16 4
+20,27 4
+20,34 4
+20,34 5
+27.2,40 6
+8,39 6
+2,40 6
+28.1,15 7
+29.1,17 8
+30.1,15 9
+32.1,33 10
+29,32 10
+1,33 10
+1,33 10
+33.5,19 11
+34.8,50 12
+20,49 12
+8,50 12
+8,50 12
+2,51 12
+2,51 12
+2,51 13
+2,51 12
+37.5,16 14
+38.2,20 15
+39.2,29 16
+7,14 16
+20,28 16
+2,29 16
+2,29 16
+41.17,18 17
+19,20 17
+29,32 17
+34,37 17
+42.1,55 18
+7,14 18
+24,25 18
+2:90.18,31 18
+0:42.40,41 18
+43,54 18
+1,55 18
+1,55 18
+43.5,14 19
+44.8,59 20
+20,58 20
+8,59 20
+8,59 20
+2,60 20
+2,60 20
+2,60 21
+2,60 20
+45.5,14 22
+46.2,36 23
+2,4 23
+10,14 23
+16,18 23
+20,23 23
+31,32 23
+33,34 23
+2,36 23
+47.2,10 24
+50.1,29 25
+20,23 25
+25,28 25
+1,29 25
+1,29 26
+52.1,37 27
+11,15 27
+17,22 27
+24,36 27
+1,37 27
+1,37 27
+54.1,39 28
+23,28 28
+30,38 28
+1,39 28
+1,39 28
+55.1,44 29
+27,32 29
+34,43 29
+1,44 29
+1,44 29
+57.1,28 30
+11,13 30
+15,18 30
+20,27 30
+1,28 30
+58.5,20 31
+59.2,27 32
+15,22 32
+24,26 32
+2,27 32
+60.0,1 33
+64.13,47 34
+32,36 34
+38,46 34
+13,47 34
+13,47 34
+50,59 34
+50,54 34
+50,59 34
+50,59 34
+1,59 34
+65.52,67 35
+52,60 35
+52,67 35
+52,67 35
+1,84 35
+23,50 35
+23,50 35
+23,50 36
+69,70 35
+72,73 35
+75,78 35
+80,83 35
+1,84 35
+1,84 35
+68.30,38 37
+30,38 37
+88.29,38 37
+29,38 37
+92.30,42 37
+30,42 37
+111.29,42 37
+29,42 37
+67.10,16 37
+10,16 37
+10,16 37
+10,16 37
+68.28,38 37
+28,38 38
+69.6,14 39
+70.3,19 40
+15,18 40
+3,19 40
+3,19 41
+3,19 42
+3,19 43
+71.3,11 44
+73.2,21 45
+17,20 45
+2,21 45
+2,21 45
+74.6,14 46
+76.3,21 47
+17,20 47
+3,21 47
+3,21 47
+77.18,28 48
+18,39 48
+3,48 48
+78.3,20 49
+79.3,41 50
+3,5 50
+17,21 50
+23,40 50
+28,38 50
+23,27 50
+23,40 50
+3,41 50
+3,41 50
+80.3,19 51
+3,19 52
+82.16,29 53
+6,29 53
+83.3,24 54
+10,11 54
+14,17 54
+19,22 54
+3,24 54
+3,24 55
+3,24 56
+3,24 57
+84.3,11 58
+86.2,38 59
+9,10 59
+13,31 59
+13,22 59
+13,31 59
+33,36 59
+2,38 59
+2,38 60
+2,38 61
+2,38 62
+2,38 37
+88.27,38 37
+27,38 63
+27,38 64
+89.6,14 65
+90.3,38 66
+10,11 66
+14,15 66
+17,36 66
+3,38 66
+3,38 67
+3,38 68
+3,38 69
+3,38 70
+3,38 37
+92.28,42 37
+28,42 71
+93.6,14 72
+94.3,19 73
+15,18 73
+3,19 73
+3,19 74
+3,19 75
+3,19 76
+3,19 77
+95.3,11 78
+97.2,21 79
+17,20 79
+2,21 79
+2,21 79
+98.6,14 80
+99.3,21 81
+17,20 81
+3,21 81
+3,21 81
+100.3,22 82
+102.7,16 83
+2,21 83
+2,21 84
+103.6,14 85
+104.3,16 86
+105.3,20 87
+3,20 88
+3,20 89
+3,20 90
+3,20 91
+106.3,11 92
+108.14,23 93
+2,28 93
+2,28 94
+109.2,21 95
+9,10 95
+13,14 95
+16,19 95
+2,21 95
+2,21 96
+2,21 97
+2,21 98
+2,21 99
+2,21 37
+111.27,42 37
+27,42 100
+27,42 101
+112.6,14 102
+113.3,19 103
+15,18 103
+3,19 103
+3,19 104
+3,19 105
+3,19 106
+3,19 107
+3,19 108
+114.3,11 109
+116.2,30 110
+21,23 110
+25,29 110
+2,30 110
+2,30 110
+117.6,16 111
+118.3,22 112
+10,11 112
+14,15 112
+17,20 112
+3,22 112
+3,22 113
+3,22 114
+3,22 115
+3,22 116
+3,22 117
+119.3,11 118
+121.2,28 119
+9,10 119
+13,21 119
+23,26 119
+2,28 119
+122.2,20 120
+15,19 120
+2,20 120
+2,20 121
+2,20 122
+2,20 123
+2,20 124
+2,20 125
+2,20 37
+129.1,3 126
+1,3 126
+128.1,7 126
+1,7 126
+1,7 126
+1,7 126
+132.0,1 127
+0,1 127
+137.1,3 128
+1,3 128
+136.1,7 128
+1,7 128
+1,7 128
+1,7 128
+140.0,1 129
+0,1 129
+166.1,39 130
+17,20 130
+22,25 130
+27,30 130
+32,35 130
+37,38 130
+1,39 130
+1,39 131
+167.1,23 132
+168.8,9 133
+1,9 133
+173.5,18 134
+20,29 135
+174.5,17 136
+5,17 136
+5,28 136
+5,28 137
+175.10,11 138
+3,11 138
+173.31,41 139
+31,41 139
+176.8,11 140
+1,11 140
+182.5,18 141
+20,29 142
+183.5,12 143
+5,23 143
+5,23 144
+184.8,13 145
+3,19 145
+3,19 146
+182.31,41 147
+31,41 147
+185.1,13 148
+186.0,1 149
+190.1,24 150
+15,18 150
+20,23 150
+1,24 150
+1,24 151
+191.1,20 152
+192.1,18 153
+194.5,18 154
+20,29 155
+195.6,18 156
+6,18 156
+6,33 156
+6,33 157
+196.3,17 158
+197.11,19 159
+7,19 159
+198.4,16 160
+200.3,12 161
+18,22 161
+18,27 161
+29,32 161
+3,12 161
+199.3,9 161
+3,9 161
+3,9 161
+3,9 161
+3,9 162
+3,9 163
+3,9 161
+3,9 161
+203.3,18 164
+204.3,17 165
+3,17 166
+194.31,41 167
+31,41 167
+207.1,13 168
+208.0,1 169
+217.14,45 170
+28,39 170
+41,44 170
+14,45 170
+14,45 170
+218.5,10 171
+14,19 171
+14,19 171
+219.9,19 172
+2,19 172
+222.23,30 173
+19,30 173
+19,30 174
+32,39 173
+2,8 173
+10,14 173
+10,14 175
+223.22,29 176
+18,29 176
+18,29 177
+31,38 176
+2,7 176
+9,13 176
+9,13 178
+224.18,25 179
+14,25 179
+14,25 180
+27,34 179
+2,3 179
+5,9 179
+5,9 181
+225.18,25 182
+14,25 182
+14,25 183
+27,34 182
+2,3 182
+5,9 182
+5,9 184
+226.5,15 185
+19,35 185
+227.2,17 186
+228.2,81 187
+8,18 187
+39,40 187
+41,42 187
+51,52 187
+53,54 187
+2:90.18,31 187
+0:228.71,72 187
+74,80 187
+2,81 187
+2,81 187
+230.13,14 188
+16,17 188
+231.8,19 189
+232.19,26 190
+15,26 190
+15,26 191
+28,35 190
+3,4 190
+6,10 190
+6,10 192
+233.19,26 193
+15,26 193
+15,26 194
+28,35 193
+3,4 193
+6,10 193
+6,10 195
+234.14,15 196
+17,18 196
+236.2,70 197
+2,4 197
+10,12 197
+14,16 197
+18,31 197
+33,46 197
+48,53 197
+55,58 197
+60,69 197
+2,70 197
+237.2,9 198
+2,9 198
+239.8,11 199
+1,11 199
+244.13,21 200
+13,21 200
+13,21 200
+13,21 200
+1,40 200
+1,40 200
+1,40 201
+23,36 200
+38,39 200
+1,40 200
+1,40 200
+245.1,19 202
+255.13,21 203
+13,21 203
+13,21 203
+13,21 203
+1,59 203
+1,59 203
+1,59 204
+23,52 203
+54,58 203
+1,59 203
+1,59 203
+256.1,5 205
+262.2,20 206
+13,19 206
+2,20 206
+2,20 206
+263.2,40 207
+18,26 207
+28,39 207
+2,40 207
+2,40 207
+264.6,15 208
+265.3,7 209
+266.2,29 210
+2,9 210
+21,23 210
+25,28 210
+2,29 210
+2,29 210
+2,29 211
+2,29 211
+17
+aSys->Dir 1:26.1,39.2 64
+11
+0:name:28.2,6 s
+4:uid:29.2,5 s
+8:gid:30.2,5 s
+12:muid:31.2,6 s
+16:qid:32.2,5 @1
+
+32:mode:33.2,6 i
+36:atime:34.2,7 i
+40:mtime:35.2,7 i
+48:length:36.2,8 B
+56:dtype:37.2,7 i
+60:dev:38.2,5 i
+aSys->Qid 11.1,16.2 16
+3
+0:path:13.2,6 B
+8:vers:14.2,6 i
+12:qtype:15.2,7 i
+aDraw->Chans 2:70.1,82.2 4
+1
+0:desc:72.2,6 i
+aDraw->Context 274.1,279.2 12
+3
+0:display:276.2,9 R@4
+
+4:screen:277.2,8 R@8
+
+8:wm:278.2,4 Ct8.2
+0:t0:15,21 s
+4:t1:15,21 Ct8.2
+0:t0:32,38 s
+4:t1:32,38 R@9
+
+
+
+aDraw->Display 201.1,230.2 20
+5
+0:image:203.2,7 R@5
+
+4:white:204.2,7 R@5
+
+8:black:205.2,7 R@5
+
+12:opaque:206.2,8 R@5
+
+16:transparent:207.2,13 R@5
+
+aDraw->Image 142.1,198.2 56
+8
+0:r:146.2,3 @6
+
+16:clipr:147.2,7 @6
+
+32:depth:148.2,7 i
+36:chans:149.2,7 @2
+
+40:repl:150.2,6 i
+44:display:151.2,9 R@4
+
+48:screen:152.2,8 R@8
+
+52:iname:153.2,7 s
+aDraw->Rect 116.1,139.2 16
+2
+0:min:118.2,5 @7
+
+8:max:119.2,5 @7
+
+aDraw->Point 99.1,113.2 8
+2
+0:x:101.2,3 i
+4:y:102.2,3 i
+aDraw->Screen 249.1,263.2 16
+4
+0:id:251.2,4 i
+4:image:252.2,7 R@5
+
+8:fill:253.2,6 R@5
+
+12:display:254.2,9 R@4
+
+aDraw->Wmcontext 282.1,291.2 28
+7
+0:kbd:284.2,5 Ci
+4:ptr:285.2,5 CR@10
+
+8:ctl:286.2,5 Cs
+12:wctl:287.2,6 Cs
+16:images:288.2,8 CR@5
+
+20:connfd:289.2,8 R@11
+
+24:ctxt:290.2,6 R@3
+
+aDraw->Pointer 266.1,271.2 16
+3
+0:buttons:268.2,9 i
+4:xy:269.2,4 @7
+
+12:msec:270.2,6 i
+aSys->FD 1:45.1,48.2 4
+1
+0:fd:47.2,4 i
+aSys->FileIO 65.1,69.2 8
+2
+0:read:67.2,6 Ct16.4
+0:t0:17,20 i
+4:t1:17,20 i
+8:t2:17,20 i
+12:t3:17,20 @13
+
+
+4:write:68.2,7 Ct16.4
+0:t0:18,21 i
+4:t1:18,21 Ab
+8:t2:18,21 i
+12:t3:18,21 @14
+
+
+Ct8.2
+0:t0:63.22,35 Ab
+4:t1:22,35 s
+Ct8.2
+0:t0:64.23,26 i
+4:t1:23,26 s
+aClient 0:153.0,159.1 20
+5
+0:fid:154.1,4 i
+4:bitdata:155.1,8 Ab
+8:nextmsg:156.1,8 R@16
+
+12:pending:157.1,8 @13
+
+16:pendlen:158.1,8 i
+aMsg 148.0,151.1 8
+2
+0:data:149.1,5 Ab
+4:next:150.1,5 R@16
+
+12
+0:init
+1
+36:args:19.29,33 Ls
+7
+40:bg:36.1,3 R@5
+
+44:display:32.1,8 R@4
+
+48:wb:42.1,3 R@5
+
+52:mntpt:29.1,6 s
+56:bit:54.1,4 R@12
+
+60:strokes:55.1,8 R@12
+
+76:r:41.1,2 @6
+
+n99:srv
+3
+32:wb:62.4,6 R@5
+
+36:bit:19,22 R@12
+
+40:strokes:24,31 R@12
+
+23
+44:c:97.2,3 R@15
+
+48:c:73.2,3 R@15
+
+52:bithdr:65.1,7 Ab
+56:data:77.3,7 Ab
+60:d:102.2,3 Ab
+64:err:116.2,5 s
+68:offset:68.2,8 i
+72:count:10,15 i
+76:fid:17,20 i
+80:r:22,23 @13
+
+84:nwbbytes:64.1,9 i
+108:offset:88.2,8 i
+112:data:10,14 Ab
+116:fid:16,19 i
+120:w:21,22 @14
+
+124:offset:92.2,8 i
+128:count:10,15 i
+132:fid:17,20 i
+136:r:22,23 @13
+
+140:offset:111.2,8 i
+144:data:10,14 Ab
+148:fid:16,19 i
+152:w:21,22 @14
+
+n294:rreply
+2
+32:rc:126.7,9 Ct8.2
+0:t0:20,33 Ab
+4:t1:20,33 s
+
+36:reply:44,49 t8.2
+0:t0:52,65 Ab
+4:t1:52,65 s
+
+0
+n302:wreply
+2
+32:wc:134.7,9 Ct8.2
+0:t0:20,23 i
+4:t1:20,23 s
+
+36:reply:34,39 t8.2
+0:t0:42,45 i
+4:t1:42,45 s
+
+0
+n310:newclient
+1
+32:fid:164.10,13 i
+1
+36:c:166.1,2 R@15
+
+R@15
+321:getclient
+1
+32:fid:171.10,13 i
+2
+36:cl:173.5,7 LR@15
+
+40:c:174.6,7 R@15
+
+R@15
+333:closeclient
+1
+32:fid:179.12,15 i
+2
+36:cl:182.5,7 LR@15
+
+40:nl:181.1,3 LR@15
+
+n345:writeclients
+1
+32:data:188.13,17 Ab
+4
+36:c:195.7,8 R@15
+
+40:cl:194.5,7 LR@15
+
+44:n:196.3,4 i
+48:nm:190.1,3 R@16
+
+n382:drawstrokes
+2
+32:wb:215.12,14 R@5
+
+36:data:27,31 Ab
+8
+40:x:221.16,17 i
+44:y:19,20 i
+48:colour:1,7 i
+52:n:217.2,3 i
+56:toks:5,9 Ls
+60:width:221.9,14 i
+80:p0:230.1,3 @7
+
+88:p1:234.2,4 @7
+
+s467:error
+1
+32:e:242.6,7 s
+0
+n479:badmod
+1
+32:path:253.7,11 s
+0
+n491:saveit
+2
+32:display:259.7,14 R@4
+
+36:img:29,32 R@5
+
+1
+40:fd:263.2,4 R@11
+
+n6
+88:clients:162.0,7 LR@15
+
+92:draw:7.1,5 mDraw
+2:1.0,298.1 0
+
+100:nextmsg:0:161.0,7 R@16
+
+108:pen:213.0,3 R@5
+
+112:pencol:212.0,6 i
+128:sys:4.1,4 mSys
+1:0,160.1 0
+