about summary refs log tree commit diff stats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/data.limg16
1 files changed, 9 insertions, 7 deletions
diff --git a/shell/data.limg b/shell/data.limg
index 8578d95a..a0dc33c7 100644
--- a/shell/data.limg
+++ b/shell/data.limg
@@ -146,20 +146,22 @@
   for r r0 (r < r0+w) ++r
     (circle screen cx cy r clr)])
     (Greys . [define Greys
-  (map1 (fn(n) n+15)
-        (seq 16))])
-    (Pinks . [define Pinks '(84 85 59 60 61
-               13 36 37 5 108)])
+  ret p (populate 16 ())
+    for i 0 (< i 16) ++i
+      iset p i i+16])
+    (Pinks . [define Pinks (array
+                84 85 59 60 61
+                13 36 37 5 108)])
     (palette . [def (palette p i)
-  (nth (i % (len p)) p)])
+  (index p (i % (len p)))])
     (pat . [def (pat screen)
   with (w (width screen)
         h (height screen))
     for y 0 (y < h) ++y
       for x 0 (x < w) ++x
-        (pixel screen x y x*y)])
+        (pixel screen x y (palette Greys x*y))])
     (main . [def (main screen keyboard)
   (pat screen)])
   ))
-  (sandbox . [circle screen 35 35 14 3])
+  (sandbox . [pat screen])
 )
or hut <hut@lavabit.com> 2010-01-26 20:34:18 +0100 committer hut <hut@lavabit.com> 2010-01-26 20:34:18 +0100 added testcase for openstruct' href='/akspecs/ranger/commit/test/tc_ext.py?h=v1.9.0&id=11d09d02d3168fd6e264de9a5f649bcb6d95af95'>11d09d02 ^
64649898 ^
5a087b16 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123