/* Remove the Transporter Content widgets from the screen */ void intRemoveTransContent(void) { // Start the window close animation. IntFormAnimated *form = (IntFormAnimated *)widgGetFromID(psWScreen, IDTRANS_CONTENTFORM); if (form) { form->closeAnimateDelete(); } }
/* Remove the Transporter Droids Avail widgets from the screen */ void intRemoveTransDroidsAvail(void) { // Start the window close animation. IntFormAnimated *form = (IntFormAnimated *)widgGetFromID(psWScreen, IDTRANS_DROIDS); if (form) { //remember which tab we were on ListTabWidget *droidList = (ListTabWidget *)widgGetFromID(psWScreen, IDTRANS_DROIDTAB); objMajor = droidList->currentPage(); form->closeAnimateDelete(); } }
/* Remove the Transporter widgets from the screen */ void intRemoveTrans(void) { // Start the window close animation. IntFormAnimated *form = (IntFormAnimated *)widgGetFromID(psWScreen, IDTRANS_FORM); if (form) { form->closeAnimateDelete(); } intRemoveTransContent(); intRemoveTransDroidsAvail(); intMode = INT_NORMAL; }
// Remove the droids order screen with animation. // void intRemoveOrder(void) { widgDelete(psWScreen, IDORDER_CLOSE); // Start the window close animation. IntFormAnimated *form = (IntFormAnimated *)widgGetFromID(psWScreen, IDORDER_FORM); if (form != nullptr) { form->closeAnimateDelete(); OrderUp = false; SelectedDroids.clear(); psSelectedFactory = NULL; } }
// //////////////////////////////////////////////////////////////////////////// bool intCloseMultiMenu(void) { if (!MultiMenuUp) { return true; } // Start the window close animation. IntFormAnimated *form = (IntFormAnimated *)widgGetFromID(psWScreen, MULTIMENU_FORM); if (form != nullptr) { form->closeAnimateDelete(); MultiMenuUp = false; } if (intMode != INT_INTELMAP) { intMode = INT_NORMAL; } return true; }