Rev 3440 | Rev 3848 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3440 | Rev 3444 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | { |
4 | { |
5 | int i; |
5 | int i; |
6 | DrawBar(17,y,160,1,0xEFEDEE); |
6 | DrawBar(17,y,160,1,0xEFEDEE); |
7 | DrawFilledBar(17, y+1, 160, 16); |
7 | DrawFilledBar(17, y+1, 160, 16); |
8 | WriteText(25,y+5,0x80,0,caption); |
8 | WriteText(25,y+5,0x80,0,caption); |
9 | IF (id<>0) DefineButton(159,y+1,16,16,id+BT_HIDE+BT_NOFRAME,0xE4DFE1); //êíîïà äëÿ ñòðåëêè |
9 | IF (id<>0) DefineButton(159,y+1,16,16,id+BT_HIDE+BT_NOFRAME,0); //êíîïà äëÿ ñòðåëêè |
10 | WriteText(165,y+5,0x80,0,arrow); //ñòðåëêà âíèç |
10 | WriteText(165,y+5,0x80,0,arrow); //ñòðåëêà âíèç |
11 | DrawBar(17,y+17,160,1,0x94AECE); //ïîä÷¸ðêèâàíèå |
11 | DrawBar(17,y+17,160,1,col_border); //ïîä÷¸ðêèâàíèå |
12 | } |
12 | } |
Line 13... | Line 13... | ||
13 | 13 | ||
14 | 14 | ||
Line 130... | Line 130... | ||
130 | { |
130 | { |
131 | int actions_y=disc_num*16; |
131 | int actions_y=disc_num*16; |
132 | int start_y = actions_y+156; |
132 | int start_y = actions_y+156; |
133 | DrawBar(2,41,190,15,col_lpanel); //ñèíèé ïðÿìîóãîëüíèê - íàä äåâàéñàìè |
133 | DrawBar(2,41,190,15,col_lpanel); //ñèíèé ïðÿìîóãîëüíèê - íàä äåâàéñàìè |
134 | DrawBar(17,actions_y+75,160,15,col_lpanel); //ñèíèé ïðÿìîóãîëüíèê - ïîä äåâàéñàìè |
134 | DrawBar(17,actions_y+75,160,15,col_lpanel); //ñèíèé ïðÿìîóãîëüíèê - ïîä äåâàéñàìè |
135 | PutShadow(17,actions_y+75,160,1,1,2); |
135 | PutShadow(17,actions_y+75,160,1,1,4); |
136 | PutShadow(18,actions_y+75+1,158,1,1,1); |
136 | PutShadow(18,actions_y+75+1,158,1,1,1); |
137 | DrawBar(2,56,15,actions_y+103,col_lpanel); //ñèíèé ïðÿìîóãîëüíèê - ñëåâà |
137 | DrawBar(2,56,15,actions_y+103,col_lpanel); //ñèíèé ïðÿìîóãîëüíèê - ñëåâà |
138 | DrawBar(177,56,15,actions_y+103,col_lpanel); //ñèíèé ïðÿìîóãîëüíèê - ñïðàâà |
138 | DrawBar(177,56,15,actions_y+103,col_lpanel); //ñèíèé ïðÿìîóãîëüíèê - ñïðàâà |
139 | if (onTop(start_y, 6) < 268) |
139 | if (onTop(start_y, 6) < 268) |
140 | PutPaletteImage(#blue_hl, 190, onTop(start_y, 6), 2, start_y, 8, #blue_hl_pal); |
140 | PutPaletteImage(#blue_hl, 190, onTop(start_y, 6), 2, start_y, 8, #blue_hl_pal); |
141 | else |
141 | else |
142 | { |
142 | { |
143 | DrawBar(2,start_y,190,onTop(start_y,6+268),col_lpanel); |
143 | DrawBar(2,start_y,190,onTop(start_y,6+268),col_lpanel); |
144 | PutPaletteImage(#blue_hl, 190, 268, 2, onTop(268,6), 8, #blue_hl_pal); |
144 | PutPaletteImage(#blue_hl, 190, 268, 2, onTop(268,6), 8, #blue_hl_pal); |
145 | } |
145 | } |
146 | PutShadow(17,start_y,160,1,1,2); |
146 | PutShadow(17,start_y,160,1,1,4); |
147 | PutShadow(18,start_y+1,158,1,1,1); |
147 | PutShadow(18,start_y+1,158,1,1,1); |
148 | } |
148 | } |
Line 149... | Line 149... | ||
149 | 149 |