for (int i = 0; i < MAX_CONNECTEDSTATUS_ID; i++)
{
delete background[i];
- background[i];
+ background[i] = nullptr;
delete PhoneAndEarAndBluetooth[i];
- PhoneAndEarAndBluetooth[i];
+ PhoneAndEarAndBluetooth[i] = nullptr;
delete ConnectedStatusLabel[i];
- ConnectedStatusLabel[i];
+ ConnectedStatusLabel[i] = nullptr;
}
delete PhoneConnectedStatusImage;
}
group->SetPosition(0, 0, 466, 466);
group->SetViewIndex(1);
+ group->SetTouchable(true);
+ group->SetDraggable(true);
+ group->SetIntercept(true);
/* -------------------------------------------------------------------------- */
LabelConfig titleConfig = {93, 53, 280, 35, 30, 35, "连接状态"};
Title = InitLabel(titleConfig);