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