diff options
| author | Charles.Forsyth <devnull@localhost> | 2006-12-22 17:07:39 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2006-12-22 17:07:39 +0000 |
| commit | 37da2899f40661e3e9631e497da8dc59b971cbd0 (patch) | |
| tree | cbc6d4680e347d906f5fa7fca73214418741df72 /appl/demo/lego/clockface.sbl | |
| parent | 54bc8ff236ac10b3eaa928fd6bcfc0cdb2ba46ae (diff) | |
20060303a
Diffstat (limited to 'appl/demo/lego/clockface.sbl')
| -rw-r--r-- | appl/demo/lego/clockface.sbl | 998 |
1 files changed, 998 insertions, 0 deletions
diff --git a/appl/demo/lego/clockface.sbl b/appl/demo/lego/clockface.sbl new file mode 100644 index 00000000..f8e4dfb9 --- /dev/null +++ b/appl/demo/lego/clockface.sbl @@ -0,0 +1,998 @@ +limbo .sbl 2.1 +Clockface +3 +clockface.b +sys.m +draw.m +678 +44.1,25 0 +45.1,29 1 +11,23 1 +25,28 1 +1,29 1 +1,29 1 +47.1,15 2 +48.5,13 3 +5,18 3 +49.2,33 4 +13,32 4 +2,33 4 +2,33 4 +50.2,21 5 +54.5,39 6 +15,19 6 +21,24 6 +26,38 6 +5,39 6 +5,39 6 +5,45 6 +55.2,47 7 +13,46 7 +2,47 7 +2,47 7 +56.2,8 8 +58.1,40 9 +23,26 9 +28,39 9 +1,40 9 +1,40 9 +59.5,15 10 +60.2,52 11 +13,51 11 +2,52 11 +2,52 11 +61.2,8 12 +64.1,19 13 +65.13,24 14 +13,27 14 +5,28 14 +5,35 14 +66.10,21 15 +2,28 15 +69.1,36 16 +12,35 16 +1,36 16 +1,36 16 +70.1,47 17 +17,33 17 +35,46 17 +1,47 17 +1,47 17 +71.1,46 18 +17,32 18 +34,45 18 +1,46 18 +1,46 18 +72.1,55 19 +23,41 19 +43,54 19 +1,55 19 +1,55 19 +73.5,14 20 +18,27 20 +31,47 20 +74.2,41 21 +13,40 21 +2,41 21 +2,41 21 +75.2,21 22 +79.1,37 23 +12,36 23 +1,37 23 +1,37 23 +80.1,46 24 +17,33 24 +35,45 24 +1,46 24 +1,46 24 +81.1,46 25 +17,33 25 +35,45 25 +1,46 25 +1,46 25 +82.1,54 26 +25,41 26 +43,53 26 +1,54 26 +1,54 26 +84.5,14 27 +18,27 27 +85.2,42 28 +13,41 28 +2,42 28 +2,42 28 +86.2,21 29 +89.1,91 30 +21,23 30 +25,27 30 +29,47 30 +49,67 30 +69,87 30 +89,90 30 +1,91 30 +1,91 31 +90.1,93 32 +23,25 32 +27,29 32 +31,49 32 +51,69 32 +71,89 32 +91,92 32 +1,93 32 +1,93 33 +92.1,37 34 +12,36 34 +1,37 34 +1,37 34 +93.1,50 35 +16,24 35 +26,36 35 +38,49 35 +1,50 35 +95.1,38 36 +96.1,17 37 +1,17 37 +98.1,19 38 +15,18 38 +1,19 38 +99.0,1 39 +104.32,40 40 +32,40 40 +113.31,40 40 +31,40 40 +103.10,16 40 +10,16 40 +10,16 40 +10,16 40 +104.29,40 40 +29,40 41 +105.6,15 42 +6,15 43 +6,15 44 +106.3,11 45 +107.6,17 46 +108.11,14 47 +16,19 47 +3,20 47 +3,20 48 +3,20 49 +3,20 50 +3,20 51 +109.3,11 52 +111.25,34 53 +25,34 53 +25,34 53 +11,34 53 +11,34 54 +36,39 53 +2,40 53 +2,40 55 +2,40 56 +2,40 57 +2,40 58 +2,40 40 +113.28,40 40 +28,40 59 +28,40 60 +114.6,15 61 +6,15 62 +6,15 63 +6,15 64 +6,15 65 +115.3,11 66 +116.6,17 67 +117.11,12 68 +14,26 68 +3,27 68 +3,27 69 +3,27 70 +3,27 71 +3,27 72 +3,27 73 +118.3,11 74 +120.2,42 75 +16,18 75 +20,31 75 +33,41 75 +2,42 75 +2,42 76 +2,42 77 +2,42 78 +2,42 79 +2,42 40 +126.1,21 80 +127.1,23 81 +129.6,15 82 +1,25 82 +130.6,15 83 +1,25 83 +132.1,16 84 +133.6,16 85 +18,27 86 +134.13,21 87 +12,32 87 +11,38 87 +42,55 87 +41,68 87 +2,68 87 +135.2,23 88 +136.6,17 89 +21,31 89 +138.3,45 90 +22,33 90 +35,41 90 +43,44 90 +3,45 90 +3,45 90 +139.3,8 91 +133.29,35 92 +29,35 92 +142.8,73 93 +20,30 93 +32,36 93 +38,46 93 +38,54 93 +56,64 93 +56,72 93 +8,73 93 +8,73 93 +1,73 93 +147.1,20 94 +148.12,16 95 +18,22 95 +1,23 95 +1,23 96 +1,23 97 +149.1,8 98 +150.9,11 99 +13,16 99 +1,17 99 +1,17 100 +151.0,1 101 +155.14,15 102 +14,15 102 +156.14,35 103 +28,29 103 +31,34 103 +14,35 103 +14,35 103 +157.5,10 104 +158.10,17 105 +2,17 105 +2,17 106 +159.2,16 107 +160.2,5 108 +162.5,10 109 +163.10,17 110 +2,17 110 +2,17 111 +165.6,19 112 +5,25 112 +29,42 112 +28,55 112 +1,55 112 +166.5,18 113 +1,21 113 +167.9,10 114 +12,13 114 +1,14 114 +173.16,24 115 +174.6,21 116 +25,42 116 +175.3,10 117 +3,10 117 +176.3,17 118 +178.18,34 119 +29,33 119 +18,34 119 +18,34 119 +179.7,13 120 +15,20 121 +180.3,55 122 +27,39 122 +41,45 122 +47,54 122 +3,55 122 +3,55 122 +181.3,57 123 +27,41 123 +43,47 123 +49,56 123 +3,57 123 +3,57 123 +182.7,18 124 +22,33 124 +183.4,9 125 +184.7,18 126 +185.4,29 127 +12,20 127 +22,28 127 +4,29 127 +186.7,18 128 +187.4,31 129 +12,22 129 +24,30 129 +4,31 129 +179.22,25 130 +22,25 130 +189.2,14 131 +2,14 131 +190.6,15 132 +191.3,12 133 +3,12 134 +3,12 135 +3,12 136 +3,12 136 +197.5,17 137 +198.2,13 138 +199.6,20 139 +1,26 139 +200.9,14 140 +5,14 140 +201.2,10 141 +202.8,9 142 +1,9 142 +207.1,29 143 +208.1,28 144 +210.1,44 145 +11,20 145 +22,27 145 +29,43 145 +1,44 145 +1,44 145 +211.1,42 146 +12,21 146 +23,29 146 +31,41 146 +1,42 146 +1,42 146 +212.1,44 147 +11,20 147 +22,27 147 +29,43 147 +1,44 147 +1,44 147 +213.1,42 148 +12,21 148 +23,29 148 +31,41 148 +1,42 148 +1,42 148 +214.1,37 149 +11,13 149 +15,20 149 +22,36 149 +1,37 149 +1,37 149 +215.1,33 150 +12,14 150 +16,21 150 +23,32 150 +1,33 150 +1,33 150 +216.0,1 151 +223.1,50 152 +16,24 152 +26,36 152 +38,49 152 +1,50 152 +224.1,31 153 +19,30 153 +1,31 153 +1,31 153 +225.5,20 154 +226.2,26 155 +227.2,54 156 +13,53 156 +2,54 156 +2,54 156 +228.2,44 157 +18,27 157 +29,40 157 +42,43 157 +2,44 157 +229.2,21 158 +10,20 158 +2,21 158 +230.2,19 159 +10,18 159 +2,19 159 +231.2,20 160 +232.2,11 161 +2,11 161 +233.2,32 162 +13,26 162 +28,31 162 +2,32 162 +2,32 162 +2,32 163 +236.1,20 164 +11,19 164 +1,20 164 +237.1,28 165 +238.1,22 166 +11,21 166 +1,22 166 +239.1,32 167 +240.0,1 168 +244.1,25 169 +245.1,9 170 +246.5,14 171 +247.2,10 172 +248.2,16 173 +250.5,22 174 +251.2,52 175 +17,26 175 +28,32 175 +34,51 175 +2,52 175 +252.6,13 176 +253.3,16 177 +11,15 177 +3,16 177 +3,16 178 +255.3,16 179 +11,15 179 +3,16 179 +256.2,14 180 +257.2,12 181 +7,11 181 +2,12 181 +258.19,42 182 +30,41 182 +19,42 182 +19,42 182 +13,42 182 +1,42 182 +1,42 183 +260.2,37 184 +25,36 184 +2,37 184 +2,37 184 +261.6,13 185 +262.3,16 186 +11,15 186 +3,16 186 +3,16 187 +264.3,16 188 +11,15 188 +3,16 188 +265.2,12 189 +7,11 189 +2,12 189 +266.21,44 190 +32,43 190 +21,44 190 +21,44 190 +20,56 190 +14,56 190 +2,56 190 +268.5,17 191 +269.2,21 192 +270.1,20 193 +271.0,1 194 +275.1,25 195 +279.1,58 196 +12,57 196 +1,58 196 +1,58 196 +280.1,43 197 +17,26 197 +28,39 197 +41,42 197 +1,43 197 +281.1,14 198 +9,13 198 +1,14 198 +282.1,19 199 +283.1,11 200 +6,10 200 +1,11 200 +284.1,31 201 +12,25 201 +27,30 201 +1,31 201 +1,31 201 +286.1,38 202 +26,37 202 +1,38 202 +1,38 202 +289.1,54 203 +12,53 203 +1,54 203 +1,54 203 +290.1,43 204 +17,26 204 +28,39 204 +41,42 204 +1,43 204 +291.1,14 205 +9,13 205 +1,14 205 +292.1,19 206 +293.1,11 207 +6,10 207 +1,11 207 +294.1,31 208 +12,25 208 +27,30 208 +1,31 208 +1,31 208 +296.1,37 209 +25,36 209 +1,37 209 +1,37 209 +297.1,34 210 +298.1,84 211 +12,51 211 +53,63 211 +65,74 211 +76,83 211 +1,84 211 +1,84 211 +300.1,21 212 +301.0,1 213 +305.1,45 214 +11,21 214 +23,28 214 +30,44 214 +1,45 214 +1,45 214 +306.1,49 215 +12,22 215 +24,33 215 +35,48 215 +1,49 215 +1,49 215 +307.0,1 216 +311.1,30 217 +312.1,44 218 +11,20 218 +22,27 218 +29,43 218 +1,44 218 +1,44 218 +313.1,36 219 +12,21 219 +23,26 219 +28,35 219 +1,36 219 +1,36 219 +314.0,1 220 +318.1,30 221 +319.1,44 222 +11,20 222 +22,27 222 +29,43 222 +1,44 222 +1,44 222 +320.1,36 223 +12,21 223 +23,26 223 +28,35 223 +1,36 223 +1,36 223 +321.0,1 224 +325.1,45 225 +11,21 225 +23,28 225 +30,44 225 +1,45 225 +1,45 225 +326.1,47 226 +12,22 226 +24,32 226 +34,46 226 +1,47 226 +1,47 226 +327.0,1 227 +331.1,45 228 +11,21 228 +23,28 228 +30,44 228 +1,45 228 +1,45 228 +332.1,47 229 +12,22 229 +24,32 229 +34,46 229 +1,47 229 +1,47 229 +333.0,1 230 +337.1,25 231 +338.1,37 232 +11,13 232 +15,20 232 +22,36 232 +1,37 232 +1,37 232 +339.1,33 233 +16,18 233 +20,23 233 +25,32 233 +1,33 233 +1,33 233 +340.5,11 234 +341.9,11 235 +2,11 235 +342.19,22 236 +19,27 236 +12,27 236 +8,27 236 +8,27 237 +1,27 236 +347.29,42 238 +22,43 238 +1,43 238 +1,43 239 +348.1,46 240 +11,22 240 +24,29 240 +31,45 240 +1,46 240 +1,46 240 +349.1,41 241 +12,28 241 +30,40 241 +1,41 241 +1,41 241 +350.5,42 242 +16,27 242 +29,32 242 +34,41 242 +5,42 242 +5,42 242 +46,53 242 +5,53 242 +351.1,41 243 +12,40 243 +1,41 243 +1,41 243 +352.12,35 244 +23,34 244 +12,35 244 +12,35 244 +1,35 244 +353.0,1 245 +357.1,13 246 +358.5,7 247 +359.2,33 248 +2,33 249 +361.2,34 250 +362.1,30 251 +363.1,42 252 +12,29 252 +31,41 252 +1,42 252 +1,42 252 +364.1,37 253 +11,13 253 +15,20 253 +22,36 253 +1,37 253 +1,37 253 +365.1,29 254 +12,14 254 +16,19 254 +21,28 254 +1,29 254 +1,29 254 +366.12,26 255 +23,25 255 +12,26 255 +12,26 255 +1,26 255 +367.0,1 256 +16 +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 +aHand 0:26.0,33.1 24 +6 +0:motor:27.1,6 R@11 + +4:sensor:28.1,7 R@11 + +8:fwd:29.1,4 Ab +12:rev:30.1,4 Ab +16:stop:31.1,5 Ab +20:pos:32.1,4 i +19 +0:init +1 +36:argv:42.30,34 Ls +6 +40:legodir:64.1,8 s +44:f2c:58.1,4 R@12 + +48:hb:80.1,3 R@11 + +52:hm:70.1,3 R@11 + +56:mb:81.1,3 R@11 + +60:mm:71.1,3 R@11 + +n131:srvlink +1 +32:f2c:101.8,11 R@12 + +8 +36:offset:104.2,8 i +40:count:10,15 i +44:fid:17,20 i +48:rc:22,24 @13 + +52:offset:113.2,8 i +56:data:10,14 Ab +60:fid:16,19 i +64:wc:21,23 @14 + +n195:gettime +0 +8 +32:hadj:133.6,10 i +36:hpos:126.1,5 i +40:dhpos:135.2,7 i +44:h:129.1,2 i +48:m:130.1,2 i +52:mpos:127.1,5 i +56:time:132.1,5 s +60:hpos2:134.2,7 i +s232:settime +3 +32:wc:145.8,10 @14 + +36:time:25,29 s +40:wn:39,41 i +1 +44:done:147.1,5 Ci +n244:str2clicks +1 +32:s:153.11,12 s +4 +36:m:155.4,5 i +40:h:1,2 i +44:n:156.2,3 i +48:toks:5,9 Ls +t8.2 +0:t0:153.26,29 i +4:t1:26,29 i +271:sethands +0 +7 +32:time:173.3,7 s +36:rc:9,11 Ci +40:hdelta:180.3,9 i +44:mdelta:181.3,9 i +48:i:179.7,8 i +52:hclk:178.3,7 i +56:mclk:9,13 i +n318:clickdistance +3 +32:start:195.14,19 i +36:stop:21,25 i +40:mod:27,30 i +1 +44:d:199.1,2 i +i327:setsensortypes +3 +32:h1:205.15,17 R@15 + +36:h2:19,21 R@15 + +40:ls:34,36 R@11 + +2 +44:button:207.1,7 Ab +48:light:208.1,6 Ab +n366:reset +0 +2 +32:val:224.1,4 i +36:triggered:226.2,11 Ci +n410:sethand +2 +32:hand:242.8,12 R@15 + +36:delta:25,30 i +3 +40:dir:245.1,4 i +44:triggered:244.1,10 Ci +48:startval:260.2,10 i +n466:resethand +1 +32:hand:273.10,14 R@15 + +5 +36:triggered:275.1,10 Ci +40:val:276.1,4 i +44:nclicks:297.1,8 i +48:startclick:286.1,11 i +52:stopclick:296.1,10 i +n527:stop +1 +32:hand:303.5,9 R@15 + +0 +n540:stopall +0 +1 +32:msg:311.1,4 Ab +n554:releaseall +0 +1 +32:msg:318.1,4 Ab +n568:forward +1 +32:hand:323.8,12 R@15 + +0 +n581:reverse +1 +32:hand:329.8,12 R@15 + +0 +n594:readsensor +1 +32:fd:335.11,13 R@11 + +2 +36:buf:337.1,4 Ab +40:n:339.1,2 i +i616:handwait +3 +32:reply:345.9,14 Ci +36:hand:30,34 R@15 + +40:clicks:47,53 i +1 +44:blk:347.1,4 Ab +n649:lightwait +3 +32:reply:355.10,15 Ci +36:fd:31,33 R@11 + +40:on:49,51 i +2 +44:blk:362.1,4 Ab +48:thresh:357.1,7 s +n6 +60:allmotors:36.0,9 R@11 + +116:hourhand:37.0,8 R@15 + +132:lightsensor:35.0,11 R@11 + +140:minutehand:38.0,10 R@15 + +172:reqch:40.0,5 Ct8.2 +0:t0:16,22 s +4:t1:16,22 Ci + +224:sys:11.0,3 mSys +1:4.0,160.1 0 + |
