Rev 7992 | Rev 8779 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7992 | Rev 8240 | ||
---|---|---|---|
Line 227... | Line 227... | ||
227 | void ActionsDraw() |
227 | void ActionsDraw() |
228 | { |
228 | { |
229 | int i; |
229 | int i; |
230 | int actions_y= SystemDiscs.list.count*DEV_H+108; |
230 | int actions_y= SystemDiscs.list.count*DEV_H+108; |
231 | Tip(actions_y-18, T_ACTIONS, 77, ""); //çàãîëîâîê |
231 | Tip(actions_y-18, T_ACTIONS, 77, ""); |
232 | for (i=0; actions[i*3]!=0; i++, actions_y+=DEV_H) |
232 | for (i=0; actions[i*3]!=0; i++, actions_y+=DEV_H) |
233 | { |
233 | { |
234 | DrawBar(17,actions_y,160,DEV_H,0xFFFFFF); //áåëîå |
234 | DrawBar(17,actions_y,160,DEV_H,0xFFFFFF); //áåëîå |
235 | DefineButton(17,actions_y,159,DEV_H,actions[i*3]+BT_HIDE,0xE4DFE1); |
235 | DefineButton(17,actions_y,159,DEV_H,actions[i*3]+BT_HIDE,0xE4DFE1); |
236 | WriteText(45,actions_y+4,0x80,0,actions[i*3+1]); |
236 | WriteText(45,actions_y+4,0x80,0,actions[i*3+1]); |
Line 243... | Line 243... | ||
243 | { |
243 | { |
244 | int actions_y = SystemDiscs.list.count*DEV_H; |
244 | int actions_y = SystemDiscs.list.count*DEV_H; |
245 | int start_y = actions_y+159; |
245 | int start_y = actions_y+159; |
246 | int area_h; |
246 | int area_h; |
247 | DrawBar(2,41,190,15,col.lpanel); //ñèíèé ïðÿìîóãîëüíèê - íàä äåâàéñàìè |
247 | int i; |
- | 248 | DrawBar(2,41,190,15,waves_pal[0]); //above devices block |
|
248 | DrawBar(17,actions_y+75,160,15,col.lpanel); //ñèíèé ïðÿìîóãîëüíèê - ïîä äåâàéñàìè |
249 | DrawBar(17,actions_y+75,160,15,waves_pal[0]); //below devices block |
249 | PutShadow(17,actions_y+75,160,1,1,3); |
250 | PutShadow(17,actions_y+75,160,1,1,3); |
250 | PutShadow(18,actions_y+75+1,158,1,1,1); |
251 | PutShadow(18,actions_y+75+1,158,1,1,1); |
251 | DrawBar(2,56,15,actions_y+103,col.lpanel); //ñèíèé ïðÿìîóãîëüíèê - ñëåâà |
252 | DrawBar(2,56,15,actions_y+103,waves_pal[0]); //on the left |
252 | DrawBar(177,56,15,actions_y+103,col.lpanel); //ñèíèé ïðÿìîóãîëüíèê - ñïðàâà |
253 | DrawBar(177,56,15,actions_y+103,waves_pal[0]); //on the right |
253 | area_h = Form.cheight-start_y-2 - status_bar_h; |
254 | area_h = Form.cheight-start_y-2 - status_bar_h; |
254 | if (col.def) |
255 | if (area_h < 268){ |
255 | { |
- | |
256 | if (area_h < 268){ |
- | |
257 | PutPaletteImage(#blue_hl, 190, area_h, 2, start_y, 8, #blue_hl_pal); |
256 | PutPaletteImage(#blue_hl, 190, area_h, 2, start_y, 8, #waves_pal); |
258 | } else { |
257 | } else { |
259 | DrawBar(2,start_y,190, area_h-268, col.lpanel); |
258 | DrawBar(2,start_y,190, area_h-268, waves_pal[0]); |
260 | PutPaletteImage(#blue_hl, 190, 268, 2, Form.cheight-270-status_bar_h, 8, #blue_hl_pal); |
259 | PutPaletteImage(#blue_hl, 190, 268, 2, Form.cheight-270-status_bar_h, 8, #waves_pal); |
261 | } |
260 | } |
262 | } |
- | |
263 | else { |
- | |
264 | DrawBar(2,start_y,190, area_h, col.lpanel); |
- | |
265 | } |
- | |
266 | PutShadow(17,start_y,160,1,1,3); |
261 | PutShadow(17,start_y,160,1,1,3); |
267 | PutShadow(18,start_y+1,158,1,1,1); |
262 | PutShadow(18,start_y+1,158,1,1,1); |
268 | }>=> |
263 | }>=> |
269 | >30;> |
264 | >30;> |
270 | 265 |