Rev 5475 | 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 | file_name, \ |
||
30 | img.dir, \ |
||
8568 | IgorA | 31 | img |
4140 | eAndrew | 32 | |
33 | lib2 l_libs ini.name, \ |
||
34 | file_name, \ |
||
35 | ini.dir, \ |
||
8568 | IgorA | 36 | ini |
4140 | eAndrew | 37 | load_lib_end: |
38 | ;------------------------------------------------------------------------------- |
||
39 | img: |
||
40 | .init \ |
||
41 | dd .init_T |
||
42 | .toRGB \ |
||
43 | dd .toRGB_T |
||
44 | .decode \ |
||
45 | dd .decode_T |
||
46 | .destroy \ |
||
47 | dd .destroy_T |
||
48 | |||
49 | dd 0, 0 |
||
50 | |||
51 | .init_T: |
||
52 | db "lib_init", 0 |
||
53 | .toRGB_T: |
||
54 | db "img_to_rgb2", 0 |
||
55 | .decode_T: |
||
56 | db "img_decode", 0 |
||
57 | .destroy_T: |
||
58 | db "img_destroy", 0 |
||
59 | |||
60 | .dir: |
||
61 | db "/sys/lib/" |
||
62 | .name: |
||
63 | db "libimg.obj", 0 |
||
64 | ;------------------------------------------------------------------------------- |
||
65 | ini: |
||
66 | .init \ |
||
67 | dd .init_T |
||
68 | .sections \ |
||
69 | dd .sections_T |
||
70 | .get_int \ |
||
71 | dd .get_int_T |
||
72 | .get_str \ |
||
73 | dd .get_str_T |
||
74 | |||
75 | dd 0, 0 |
||
76 | |||
77 | .init_T: |
||
78 | db "lib_init", 0 |
||
79 | .sections_T: |
||
80 | db "ini_enum_sections", 0 |
||
81 | .get_int_T: |
||
82 | db "ini_get_int", 0 |
||
83 | .get_str_T: |
||
84 | db "ini_get_str", 0 |
||
85 | |||
86 | .dir: |
||
87 | db "/sys/lib/" |
||
88 | .name: |
||
89 | db "libini.obj", 0 |
||
90 | ;------------------------------------------------------------------------------- |
||
91 | ICON_SIZE equ 32 * 32 |
||
92 | ICON_SIZE_BGR equ ICON_SIZE * 3 |
||
93 | ICON_SIZE_RGB equ ICON_SIZE * 4 |
||
94 | |||
95 | BUTTON_SIZE equ 44 |
||
96 | ;------------------------------------------------------------------------------- |
||
97 | __dataend: |