MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / updateStatus

Method updateStatus

src/bzflag/ServerMenu.cpp:363–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361
362
363void ServerMenu::updateStatus() {
364 if (tabbedControl->hasFocus() ||
365 tabbedControl->getActiveTab()->hasFocus() ||
366 tabbedControl->getActiveTabName() == "Create New Tab") {
367 serverInfo->setServerItem(NULL);
368 }
369 else {
370 serverInfo->setServerItem(dynamic_cast<HUDuiServerList*>(tabbedControl->getActiveTab())->getSelectedServer());
371 }
372}
373
374
375void ServerMenu::playingCB(void* _self) {

Callers 1

playingCBMethod · 0.80

Calls 5

hasFocusMethod · 0.80
getActiveTabNameMethod · 0.80
setServerItemMethod · 0.80
getSelectedServerMethod · 0.80
getActiveTabMethod · 0.45

Tested by

no test coverage detected