181,11 → 181,11 |
else |
{ |
pos_y = 43; |
DrawBar(pos_x, pos_y, strlen(#dev_name)*6 + 37, 17, 0xFFFFFF); |
DefineButton(pos_x+2, pos_y, strlen(#dev_name)*6 + 33, 16, 100+i+BT_HIDE,0xFFFFFF); |
DrawBar(pos_x, pos_y, strlen(#dev_name)*6 + 29, 17, 0xFFFFFF); |
DefineButton(pos_x+2, pos_y, strlen(#dev_name)*6 + 25, 16, 100+i+BT_HIDE,0xFFFFFF); |
_PutImage(pos_x + 5, pos_y, 18,17, is_active*6+dev_icon*17*18*3+#devices); |
WriteText(pos_x + 24, pos_y+5, 0x80, 0, #dev_name); |
pos_x += strlen(#dev_name)*6 + 37; |
pos_x += strlen(#dev_name)*6 + 29; |
} |
} |
if (two_panels) |
193,6 → 193,8 |
DrawBar(pos_x, pos_y, Form.cwidth - pos_x - 2, 17, 0xFFFFFF); |
DrawBar(2, pos_y-2, Form.cwidth - 4, 2, 0xFFFFFF); |
DrawBar(2, pos_y+17, Form.cwidth - 4, 2, 0xFFFFFF); |
DefineButton(Form.cwidth - 23, pos_y, 17,16, 60+BT_HIDE, 0xCCCccc); |
_PutImage(Form.cwidth - 21, pos_y+2, 14,13, 2*14*13*3+#factions); |
} |
} |
|
234,7 → 236,7 |
} |
|
|
void DrawLeftPanel() |
void DrawDeviceAndActionsLeftPanel() |
{ |
Tip(56, T_DEVICES, 55, "="); |
DrawSystemDiscs(); |