| 23 | { |
| 24 | |
| 25 | AlienContainmentScreen::AlienContainmentScreen(sp<GameState> state, bool forceLimits) |
| 26 | : TransactionScreen(state, forceLimits) |
| 27 | { |
| 28 | form->findControlTyped<Label>("TITLE")->setText(tr("ALIEN CONTAINMENT")); |
| 29 | form->findControlTyped<Graphic>("BG")->setImage( |
| 30 | fw().data->loadImage("xcom3/ufodata/aliencon.pcx")); |
| 31 | form->findControlTyped<Graphic>("DOLLAR_ICON")->setVisible(false); |
| 32 | form->findControlTyped<Graphic>("DELTA_UNDERPANTS")->setVisible(false); |
| 33 | form->findControlTyped<Label>("TEXT_FUNDS_DELTA")->setVisible(false); |
| 34 | |
| 35 | form->findControlTyped<RadioButton>("BUTTON_SOLDIERS")->setVisible(false); |
| 36 | form->findControlTyped<RadioButton>("BUTTON_BIOSCIS")->setVisible(false); |
| 37 | form->findControlTyped<RadioButton>("BUTTON_PHYSCIS")->setVisible(false); |
| 38 | form->findControlTyped<RadioButton>("BUTTON_ENGINRS")->setVisible(false); |
| 39 | form->findControlTyped<RadioButton>("BUTTON_ALIENS")->setVisible(false); |
| 40 | |
| 41 | form->findControlTyped<RadioButton>("BUTTON_VEHICLES")->setVisible(false); |
| 42 | form->findControlTyped<RadioButton>("BUTTON_AGENTS")->setVisible(false); |
| 43 | form->findControlTyped<RadioButton>("BUTTON_FLYING")->setVisible(false); |
| 44 | form->findControlTyped<RadioButton>("BUTTON_GROUND")->setVisible(false); |
| 45 | |
| 46 | confirmClosureText = tr("Confirm Alien Containment Orders"); |
| 47 | |
| 48 | type = Type::Aliens; |
| 49 | form->findControlTyped<RadioButton>("BUTTON_ALIENS")->setChecked(true); |
| 50 | } |
| 51 | |
| 52 | void AlienContainmentScreen::closeScreen() |
| 53 | { |
nothing calls this directly
no test coverage detected