Rev 7647 | Rev 7972 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7647 | Rev 7806 | ||
---|---|---|---|
Line 159... | Line 159... | ||
159 | if (show_dev_name.checked) |
159 | if (show_dev_name.checked) |
160 | { |
160 | { |
161 | strcat(#disc_name, #dev_name); |
161 | strcat(#disc_name, #dev_name); |
162 | if (is_active) WriteText(draw_x+30,draw_y+5,0x80,0x555555,#disc_name); |
162 | if (is_active) WriteText(draw_x+30,draw_y+5,0x80,0x555555,#disc_name); |
163 | WriteText(draw_x+29,draw_y+5,0x80,0,#disc_name); } |
163 | WriteText(draw_x+29,draw_y+5,0x80,0,#disc_name); |
164 | else |
164 | } else { |
165 | { |
165 | if (is_active) WriteText(draw_x+30,draw_y+5,0x80,0x555555,#dev_name); |
166 | if (is_active) WriteText(draw_x+30,draw_y+5,0x80,0x555555,#dev_name); |
- | |
167 | WriteText(draw_x+29,draw_y+5,0x80,0,#dev_name); |
166 | WriteText(draw_x+29,draw_y+5,0x80,0,#dev_name); |
168 | } |
167 | } |
169 | _PutImage(draw_x+6,draw_y, 18,17, is_active*6+dev_icon*17*18*3+#devices); |
168 | _PutImage(draw_x+6,draw_y, 18,17, is_active*6+dev_icon*17*18*3+#devices); |
170 | draw_y += draw_h; |
169 | draw_y += draw_h; |
171 | } |
170 | } |
Line 212... | Line 211... | ||
212 | DrawBar(17,y,160,1,0xEFEDEE); |
211 | DrawBar(17,y,160,1,0xEFEDEE); |
213 | DrawFilledBarInner(17, y+1, 160, 16); |
212 | DrawFilledBarInner(17, y+1, 160, 16); |
214 | DrawBar(17,y+17,160,1,0x7E87A3); |
213 | DrawBar(17,y+17,160,1,0x7E87A3); |
215 | } else { |
214 | } else { |
216 | DrawBar(17,y,160,1,col.graph); |
215 | DrawBar(17,y,160,1,sc.work_graph); |
217 | DrawBar(17,y+1,160,16,col.list_bg); |
216 | DrawBar(17,y+1,160,16,col.list_bg); |
218 | DrawBar(17,y+17,160,1,col.graph); |
217 | DrawBar(17,y+17,160,1,sc.work_graph); |
219 | } |
218 | } |
220 | WriteText(25,y+5,0x80,col.list_gb_text,caption); |
219 | WriteText(25,y+5,0x80,col.list_gb_text,caption); |
221 | if (id) DefineButton(159,y+1,16,16,id+BT_HIDE+BT_NOFRAME,0); //arrow button |
220 | if (id) DefineButton(159,y+1,16,16,id+BT_HIDE+BT_NOFRAME,0); //arrow button |
222 | WriteText(165,y+5,0x80,col.list_gb_text,arrow); //arrow |
221 | WriteText(165,y+5,0x80,col.list_gb_text,arrow); //arrow |
223 | } |
222 | } |
224 | 223 |