Rev 8389 | Rev 9453 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8389 | Rev 9445 | ||
---|---|---|---|
Line 12... | Line 12... | ||
12 | #include "../lib/collection.h" |
12 | #include "../lib/collection.h" |
13 | #include "../lib/patterns/restart_process.h" |
13 | #include "../lib/patterns/restart_process.h" |
Line 14... | Line 14... | ||
14 | 14 | ||
Line 15... | Line -... | ||
15 | #include "../lib/mem.h" |
- | |
16 | 15 | #include "../lib/mem.h" |
|
Line 17... | Line 16... | ||
17 | #include "../lib/obj/libimg.h" |
16 | |
18 | #include "../lib/obj/libini.h" |
17 | #include "../lib/obj/libini.h" |
19 | 18 | ||
Line 59... | Line 58... | ||
59 | //===================================================// |
58 | //===================================================// |
Line 60... | Line 59... | ||
60 | 59 | ||
61 | void main() |
60 | void main() |
62 | { |
61 | { |
63 | int btn; |
- | |
64 | load_dll(libimg, #libimg_init,1); |
62 | int btn; |
Line 65... | Line 63... | ||
65 | load_dll(libini, #lib_init,1); |
63 | load_dll(libini, #lib_init,1); |
66 | 64 | ||
Line 165... | Line 163... | ||
165 | status_color = COLOR_OPENED; |
163 | status_color = COLOR_OPENED; |
166 | } |
164 | } |
167 | } |
165 | } |
168 | DrawWideRectangle(posx, posy, 40, 40, CELL_PADDING, COLOR_BG); |
166 | DrawWideRectangle(posx, posy, 40, 40, CELL_PADDING, COLOR_BG); |
169 | DefineButton(posx, posy, CELLW-1, CELLH, 100+i+BT_HIDE+BT_NOFRAME, NULL); |
167 | DefineButton(posx, posy, CELLW-1, CELLH, 100+i+BT_HIDE+BT_NOFRAME, NULL); |
170 | DrawIcon32(posx+CELL_PADDING, posy+CELL_PADDING, COLOR_BG, icon_n); |
168 | draw_icon_32(posx+CELL_PADDING, posy+CELL_PADDING, COLOR_BG, icon_n); |
Line 171... | Line 169... | ||
171 | 169 | ||
172 | if (ATTACHEMENT_BOTTOM==attachement) DrawBar(posx, posy+CELLH-ACTIVE_SIZE, CELLW, ACTIVE_SIZE, status_color); |
170 | if (ATTACHEMENT_BOTTOM==attachement) DrawBar(posx, posy+CELLH-ACTIVE_SIZE, CELLW, ACTIVE_SIZE, status_color); |
173 | if (ATTACHEMENT_LEFT ==attachement) DrawBar(posx, posy, ACTIVE_SIZE, CELLH, status_color); |
171 | if (ATTACHEMENT_LEFT ==attachement) DrawBar(posx, posy, ACTIVE_SIZE, CELLH, status_color); |
174 | if (ATTACHEMENT_TOP ==attachement) DrawBar(posx, posy, CELLW, ACTIVE_SIZE, status_color); |
172 | if (ATTACHEMENT_TOP ==attachement) DrawBar(posx, posy, CELLW, ACTIVE_SIZE, status_color); |