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