Rev 5703 | Rev 5723 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5703 | Rev 5719 | ||
---|---|---|---|
Line 179... | Line 179... | ||
179 | _PutImage(23,pos_y, 18,17, is_active*6+dev_icon*17*18*3+#devices); |
179 | _PutImage(23,pos_y, 18,17, is_active*6+dev_icon*17*18*3+#devices); |
180 | } |
180 | } |
181 | else |
181 | else |
182 | { |
182 | { |
183 | pos_y = 43; |
183 | pos_y = 43; |
184 | DrawBar(pos_x, pos_y, 80, 17, 0xFFFFFF); |
184 | DrawBar(pos_x, pos_y, strlen(#dev_name)*6 + 37, 17, 0xFFFFFF); |
185 | DefineButton(pos_x+2, pos_y, strlen(#dev_name)*6 + 33, 16, 100+i+BT_HIDE,0xFFFFFF); |
185 | DefineButton(pos_x+2, pos_y, strlen(#dev_name)*6 + 33, 16, 100+i+BT_HIDE,0xFFFFFF); |
186 | _PutImage(pos_x + 5, pos_y, 18,17, is_active*6+dev_icon*17*18*3+#devices); |
186 | _PutImage(pos_x + 5, pos_y, 18,17, is_active*6+dev_icon*17*18*3+#devices); |
187 | WriteText(pos_x + 24, pos_y+5, 0x80, 0, #dev_name); |
187 | WriteText(pos_x + 24, pos_y+5, 0x80, 0, #dev_name); |
188 | pos_x += strlen(#dev_name)*6 + 37; |
188 | pos_x += strlen(#dev_name)*6 + 37; |
189 | } |
189 | } |