Rev 5719 | Rev 5734 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5719 | Rev 5723 | ||
---|---|---|---|
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, strlen(#dev_name)*6 + 37, 17, 0xFFFFFF); |
184 | DrawBar(pos_x, pos_y, strlen(#dev_name)*6 + 29, 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 + 25, 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 + 29; |
189 | } |
189 | } |
190 | } |
190 | } |
191 | if (two_panels) |
191 | if (two_panels) |
192 | { |
192 | { |
193 | DrawBar(pos_x, pos_y, Form.cwidth - pos_x - 2, 17, 0xFFFFFF); |
193 | DrawBar(pos_x, pos_y, Form.cwidth - pos_x - 2, 17, 0xFFFFFF); |
194 | DrawBar(2, pos_y-2, Form.cwidth - 4, 2, 0xFFFFFF); |
194 | DrawBar(2, pos_y-2, Form.cwidth - 4, 2, 0xFFFFFF); |
195 | DrawBar(2, pos_y+17, Form.cwidth - 4, 2, 0xFFFFFF); |
195 | DrawBar(2, pos_y+17, Form.cwidth - 4, 2, 0xFFFFFF); |
- | 196 | DefineButton(Form.cwidth - 23, pos_y, 17,16, 60+BT_HIDE, 0xCCCccc); |
|
- | 197 | _PutImage(Form.cwidth - 21, pos_y+2, 14,13, 2*14*13*3+#factions); |
|
196 | } |
198 | } |
197 | } |
199 | } |
Line 198... | Line 200... | ||
198 | 200 | ||
Line 232... | Line 234... | ||
232 | PutShadow(17,start_y,160,1,1,3); |
234 | PutShadow(17,start_y,160,1,1,3); |
233 | PutShadow(18,start_y+1,158,1,1,1); |
235 | PutShadow(18,start_y+1,158,1,1,1); |
234 | } |
236 | } |
Line 235... | Line 237... | ||
235 | 237 | ||
236 | 238 | ||
237 | void DrawLeftPanel() |
239 | void DrawDeviceAndActionsLeftPanel() |
238 | { |
240 | { |
239 | Tip(56, T_DEVICES, 55, "="); |
241 | Tip(56, T_DEVICES, 55, "="); |
240 | DrawSystemDiscs(); |
242 | DrawSystemDiscs(); |