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