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