| 1407 | } |
| 1408 | |
| 1409 | void BattleView::setSelectedTab(sp<Form> tabPtr) |
| 1410 | { |
| 1411 | for (auto tab : uiTabsRT) |
| 1412 | tab->setVisible(false); |
| 1413 | for (auto tab : uiTabsTB) |
| 1414 | tab->setVisible(false); |
| 1415 | tabPtr->setVisible(true); |
| 1416 | this->activeTab = tabPtr; |
| 1417 | } |
| 1418 | |
| 1419 | void BattleView::update() |
| 1420 | { |