Rev 4234 | Rev 5475 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4234 | Rev 5425 | ||
---|---|---|---|
1 | ;------------------------------------------------------------------------------- |
1 | ;------------------------------------------------------------------------------- |
2 | img_data: |
2 | img_data: |
3 | .file_name: |
3 | .file_name: |
4 | db "/sys/iconstrp.png", 0 |
4 | db "/sys/icons32.png", 0 |
5 | ;------------------------------------------------------------------------------- |
5 | ;------------------------------------------------------------------------------- |
6 | ini_data: |
6 | ini_data: |
7 | .file_name: |
7 | .file_name: |
8 | db "/sys/settings/Docky.ini", 0 |
8 | db "/sys/settings/Docky.ini", 0 |
9 | .path_name: |
9 | .path_name: |
10 | db "path", 0 |
10 | db "path", 0 |
11 | .param_name: |
11 | .param_name: |
12 | db "param", 0 |
12 | db "param", 0 |
13 | .icon_name: |
13 | .icon_name: |
14 | db "icon", 0 |
14 | db "icon", 0 |
15 | .separator_name: |
15 | .separator_name: |
16 | db "$", 0 |
16 | db "$", 0 |
17 | 17 | ||
18 | .settings_name: |
18 | .settings_name: |
19 | db "@", 0 |
19 | db "@", 0 |
20 | .location_name: |
20 | .location_name: |
21 | db "location", 0 |
21 | db "location", 0 |
22 | .fsize_name: |
22 | .fsize_name: |
23 | db "fsize", 0 |
23 | db "fsize", 0 |
24 | ;------------------------------------------------------------------------------- |
24 | ;------------------------------------------------------------------------------- |
25 | load_lib_start: |
25 | load_lib_start: |
26 | lib1 l_libs img.name, \ |
26 | lib1 l_libs img.name, \ |
27 | sys_path, \ |
27 | sys_path, \ |
28 | file_name, \ |
28 | file_name, \ |
29 | img.dir, \ |
29 | img.dir, \ |
30 | error, \ |
30 | error, \ |
31 | error, \ |
31 | error, \ |
32 | img, \ |
32 | img, \ |
33 | error, \ |
33 | error, \ |
34 | error |
34 | error |
35 | 35 | ||
36 | lib2 l_libs ini.name, \ |
36 | lib2 l_libs ini.name, \ |
37 | sys_path, \ |
37 | sys_path, \ |
38 | file_name, \ |
38 | file_name, \ |
39 | ini.dir, \ |
39 | ini.dir, \ |
40 | error, \ |
40 | error, \ |
41 | error, \ |
41 | error, \ |
42 | ini, \ |
42 | ini, \ |
43 | error, \ |
43 | error, \ |
44 | error |
44 | error |
45 | load_lib_end: |
45 | load_lib_end: |
46 | ;------------------------------------------------------------------------------- |
46 | ;------------------------------------------------------------------------------- |
47 | img: |
47 | img: |
48 | .init \ |
48 | .init \ |
49 | dd .init_T |
49 | dd .init_T |
50 | .toRGB \ |
50 | .toRGB \ |
51 | dd .toRGB_T |
51 | dd .toRGB_T |
52 | .decode \ |
52 | .decode \ |
53 | dd .decode_T |
53 | dd .decode_T |
54 | .destroy \ |
54 | .destroy \ |
55 | dd .destroy_T |
55 | dd .destroy_T |
56 | 56 | ||
57 | dd 0, 0 |
57 | dd 0, 0 |
58 | 58 | ||
59 | .init_T: |
59 | .init_T: |
60 | db "lib_init", 0 |
60 | db "lib_init", 0 |
61 | .toRGB_T: |
61 | .toRGB_T: |
62 | db "img_to_rgb2", 0 |
62 | db "img_to_rgb2", 0 |
63 | .decode_T: |
63 | .decode_T: |
64 | db "img_decode", 0 |
64 | db "img_decode", 0 |
65 | .destroy_T: |
65 | .destroy_T: |
66 | db "img_destroy", 0 |
66 | db "img_destroy", 0 |
67 | 67 | ||
68 | .dir: |
68 | .dir: |
69 | db "/sys/lib/" |
69 | db "/sys/lib/" |
70 | .name: |
70 | .name: |
71 | db "libimg.obj", 0 |
71 | db "libimg.obj", 0 |
72 | ;------------------------------------------------------------------------------- |
72 | ;------------------------------------------------------------------------------- |
73 | ini: |
73 | ini: |
74 | .init \ |
74 | .init \ |
75 | dd .init_T |
75 | dd .init_T |
76 | .sections \ |
76 | .sections \ |
77 | dd .sections_T |
77 | dd .sections_T |
78 | .get_int \ |
78 | .get_int \ |
79 | dd .get_int_T |
79 | dd .get_int_T |
80 | .get_str \ |
80 | .get_str \ |
81 | dd .get_str_T |
81 | dd .get_str_T |
82 | 82 | ||
83 | dd 0, 0 |
83 | dd 0, 0 |
84 | 84 | ||
85 | .init_T: |
85 | .init_T: |
86 | db "lib_init", 0 |
86 | db "lib_init", 0 |
87 | .sections_T: |
87 | .sections_T: |
88 | db "ini_enum_sections", 0 |
88 | db "ini_enum_sections", 0 |
89 | .get_int_T: |
89 | .get_int_T: |
90 | db "ini_get_int", 0 |
90 | db "ini_get_int", 0 |
91 | .get_str_T: |
91 | .get_str_T: |
92 | db "ini_get_str", 0 |
92 | db "ini_get_str", 0 |
93 | 93 | ||
94 | .dir: |
94 | .dir: |
95 | db "/sys/lib/" |
95 | db "/sys/lib/" |
96 | .name: |
96 | .name: |
97 | db "libini.obj", 0 |
97 | db "libini.obj", 0 |
98 | ;------------------------------------------------------------------------------- |
98 | ;------------------------------------------------------------------------------- |
99 | ICON_SIZE equ 32 * 32 |
99 | ICON_SIZE equ 32 * 32 |
100 | ICON_SIZE_BGR equ ICON_SIZE * 3 |
100 | ICON_SIZE_BGR equ ICON_SIZE * 3 |
101 | ICON_SIZE_RGB equ ICON_SIZE * 4 |
101 | ICON_SIZE_RGB equ ICON_SIZE * 4 |
102 | 102 | ||
103 | BUTTON_SIZE equ 44 |
103 | BUTTON_SIZE equ 44 |
104 | ;------------------------------------------------------------------------------- |
104 | ;------------------------------------------------------------------------------- |
105 | __dataend: |
105 | __dataend: |