annotate pkg-src/tree-x/dissolve.h @ 164:4e0740e5aab2

Added tag r20-3b8 for changeset 0132846995bd
author cvs
date Mon, 13 Aug 2007 09:43:39 +0200
parents 0132846995bd
children 85ec50267440
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1 /* ----------------------------------------------------------------------------
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
2 * Animated display of collapse and expansion of nodes in a tree.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
3 * ----------------------------------------------------------------------------
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
4 */
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
5
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
6 #define NUM_DISSOLVE_STEPS 8
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
7 #define NUM_LINE_STEPS 4
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
8
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
9 #define first_width 16
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
10 #define first_height 16
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
11
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
12 static char first_bits[] = {
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
13 0x88, 0x04, 0x00, 0x80, 0x20, 0x10, 0x00, 0x81, 0x12, 0x00, 0x00, 0x00,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
14 0x00, 0x02, 0x82, 0x40, 0x00, 0x00, 0x12, 0x14, 0x00, 0x00, 0x0a, 0x28,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
15 0x40, 0x01, 0x05, 0x00, 0xa0, 0x92, 0x08, 0x00 };
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
16 #define second_width 16
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
17 #define second_height 16
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
18
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
19 static char second_bits[] = {
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
20 0x51, 0x20, 0x04, 0x02, 0x00, 0x88, 0x02, 0x00, 0x08, 0x09, 0x40, 0x00,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
21 0x04, 0x04, 0x00, 0xa0, 0x80, 0x08, 0x08, 0x00, 0x00, 0xa8, 0x00, 0x00,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
22 0x28, 0x28, 0x00, 0x80, 0x01, 0x00, 0x10, 0x82 };
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
23 #define third_width 16
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
24 #define third_height 16
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
25
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
26 static char third_bits[] = {
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
27 0x00, 0x01, 0x12, 0x44, 0x00, 0x01, 0x00, 0x08, 0x00, 0x42, 0x2a, 0x08,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
28 0x80, 0x00, 0x04, 0x10, 0x01, 0x04, 0x00, 0x80, 0xa9, 0x04, 0x00, 0x00,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
29 0x00, 0x10, 0x0a, 0x05, 0x40, 0x00, 0x00, 0x50 };
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
30 #define fourth_width 16
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
31 #define fourth_height 16
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
32
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
33 static char fourth_bits[] = {
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
34 0x02, 0x88, 0x80, 0x00, 0x04, 0x40, 0x11, 0x02, 0x40, 0x90, 0x05, 0x00,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
35 0x00, 0x08, 0x11, 0x01, 0x40, 0x00, 0x00, 0x41, 0x14, 0x00, 0x00, 0x12,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
36 0x10, 0x00, 0x40, 0x40, 0x08, 0x00, 0xa0, 0x04 };
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
37 #define fifth_width 16
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
38 #define fifth_height 16
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
39
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
40 static char fifth_bits[] = {
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
41 0x24, 0x00, 0x00, 0x08, 0x09, 0x20, 0x20, 0x04, 0x00, 0x00, 0x00, 0x85,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
42 0x10, 0x20, 0x40, 0x02, 0x14, 0x40, 0x00, 0x08, 0x02, 0x01, 0x10, 0x40,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
43 0x04, 0x04, 0x20, 0x20, 0x00, 0x00, 0x42, 0x29 };
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
44 #define sixth_width 16
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
45 #define sixth_height 16
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
46
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
47 static char sixth_bits[] = {
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
48 0x00, 0x12, 0x28, 0x00, 0x02, 0x00, 0x88, 0x00, 0x01, 0x20, 0x90, 0x02,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
49 0x01, 0x50, 0x20, 0x04, 0x08, 0xa0, 0x41, 0x00, 0x00, 0x00, 0x24, 0x05,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
50 0x00, 0x80, 0x00, 0x10, 0x10, 0x40, 0x05, 0x00 };
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
51 #define seventh_width 16
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
52 #define seventh_height 16
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
53
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
54 static char seventh_bits[] = {
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
55 0x00, 0x40, 0x01, 0x10, 0x90, 0x02, 0x00, 0x50, 0xa4, 0x04, 0x00, 0x20,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
56 0x20, 0x80, 0x08, 0x08, 0x00, 0x01, 0x04, 0x00, 0x40, 0x52, 0x00, 0x00,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
57 0x81, 0x42, 0x10, 0x00, 0x04, 0x25, 0x00, 0x00 };
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
58 #define eighth_width 16
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
59 #define eighth_height 16
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
60
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
61 static char eighth_bits[] = {
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
62 0x00, 0x00, 0x40, 0x21, 0x40, 0x04, 0x44, 0x20, 0x00, 0x00, 0x00, 0x50,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
63 0x4a, 0x01, 0x00, 0x00, 0x22, 0x12, 0xa0, 0x22, 0x00, 0x00, 0xc1, 0x80,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
64 0x02, 0x00, 0x80, 0x0a, 0x02, 0x08, 0x00, 0x00 };