Rev 6637 | Rev 7210 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6637 | Rev 6987 | ||
---|---|---|---|
Line 222... | Line 222... | ||
222 | 222 | ||
223 | void DrawLeftPanelBg() |
223 | void DrawLeftPanelBg() |
224 | { |
224 | { |
225 | int actions_y = SystemDiscs.list.count*16; |
225 | int actions_y = SystemDiscs.list.count*16; |
226 | int start_y = actions_y+156; |
226 | int start_y = actions_y+156; |
227 | int onTop1; |
227 | int area_h; |
228 | DrawBar(2,41,190,15,col_lpanel); //ñèíèé ïðÿìîóãîëüíèê - íàä äåâàéñàìè |
228 | DrawBar(2,41,190,15,col_lpanel); //ñèíèé ïðÿìîóãîëüíèê - íàä äåâàéñàìè |
229 | DrawBar(17,actions_y+75,160,15,col_lpanel); //ñèíèé ïðÿìîóãîëüíèê - ïîä äåâàéñàìè |
229 | DrawBar(17,actions_y+75,160,15,col_lpanel); //ñèíèé ïðÿìîóãîëüíèê - ïîä äåâàéñàìè |
230 | PutShadow(17,actions_y+75,160,1,1,3); |
230 | PutShadow(17,actions_y+75,160,1,1,3); |
231 | PutShadow(18,actions_y+75+1,158,1,1,1); |
231 | PutShadow(18,actions_y+75+1,158,1,1,1); |
232 | DrawBar(2,56,15,actions_y+103,col_lpanel); //ñèíèé ïðÿìîóãîëüíèê - ñëåâà |
232 | DrawBar(2,56,15,actions_y+103,col_lpanel); //ñèíèé ïðÿìîóãîëüíèê - ñëåâà |
233 | DrawBar(177,56,15,actions_y+103,col_lpanel); //ñèíèé ïðÿìîóãîëüíèê - ñïðàâà |
233 | DrawBar(177,56,15,actions_y+103,col_lpanel); //ñèíèé ïðÿìîóãîëüíèê - ñïðàâà |
234 | onTop1 = Form.cheight-start_y-2 - status_bar_h; |
234 | area_h = Form.cheight-start_y-2 - status_bar_h; |
235 | if (onTop1 < 268) |
235 | if (area_h < 268) |
236 | { |
236 | { |
237 | PutPaletteImage(#blue_hl, 190, onTop1, 2, start_y, 8, #blue_hl_pal); |
237 | PutPaletteImage(#blue_hl, 190, area_h, 2, start_y, 8, #blue_hl_pal); |
238 | } |
238 | } |
239 | else |
239 | else |
240 | { |
240 | { |
241 | DrawBar(2,start_y,190, onTop1-268+status_bar_h, col_lpanel); |
241 | DrawBar(2,start_y,190, area_h-268, col_lpanel); |
242 | PutPaletteImage(#blue_hl, 190, 268, 2, Form.cheight-270, 8, #blue_hl_pal); |
242 | PutPaletteImage(#blue_hl, 190, 268, 2, Form.cheight-270-status_bar_h, 8, #blue_hl_pal); |
243 | } |
243 | } |
244 | PutShadow(17,start_y,160,1,1,3); |
244 | PutShadow(17,start_y,160,1,1,3); |
245 | PutShadow(18,start_y+1,158,1,1,1); |
245 | PutShadow(18,start_y+1,158,1,1,1); |
246 | }> |
246 | }> |