* Maximizes the interception window. * @param action Pointer to an action. */
| 1640 | * @param action Pointer to an action. |
| 1641 | */ |
| 1642 | void DogfightState::btnMinimizedIconClick(Action *) |
| 1643 | { |
| 1644 | setMinimized(false); |
| 1645 | _window->setVisible(true); |
| 1646 | _btnStandoff->setVisible(true); |
| 1647 | _btnCautious->setVisible(true); |
| 1648 | _btnStandard->setVisible(true); |
| 1649 | _btnAggressive->setVisible(true); |
| 1650 | _btnDisengage->setVisible(true); |
| 1651 | _btnUfo->setVisible(true); |
| 1652 | _btnMinimize->setVisible(true); |
| 1653 | _battle->setVisible(true); |
| 1654 | _weapon1->setVisible(true); |
| 1655 | _range1->setVisible(true); |
| 1656 | _weapon2->setVisible(true); |
| 1657 | _range2->setVisible(true); |
| 1658 | _damage->setVisible(true); |
| 1659 | _txtAmmo1->setVisible(true); |
| 1660 | _txtAmmo2->setVisible(true); |
| 1661 | _txtDistance->setVisible(true); |
| 1662 | _txtStatus->setVisible(true); |
| 1663 | _btnMinimizedIcon->setVisible(false); |
| 1664 | _txtInterceptionNumber->setVisible(false); |
| 1665 | _preview->setVisible(false); |
| 1666 | } |
| 1667 | |
| 1668 | /** |
| 1669 | * Sets interception number. Used to draw proper number when window minimized. |
nothing calls this directly
no test coverage detected