void MainMenuScreen::loadedFromFile() { LabelWidget* w = getWidget<LabelWidget>("info_addons"); w->setScrollSpeed(15); RibbonWidget* rw_top = getWidget<RibbonWidget>("menu_toprow"); assert(rw_top != NULL); if (track_manager->getTrack("overworld") == NULL || track_manager->getTrack("introcutscene") == NULL || track_manager->getTrack("introcutscene2") == NULL) { rw_top->removeChildNamed("story"); } #if DEBUG_MENU_ITEM != 1 RibbonWidget* rw = getWidget<RibbonWidget>("menu_bottomrow"); rw->removeChildNamed("test_gpwin"); rw->removeChildNamed("test_gplose"); rw->removeChildNamed("test_unlocked"); rw->removeChildNamed("test_unlocked2"); rw->removeChildNamed("test_intro"); rw->removeChildNamed("test_outro"); #endif } // loadedFromFile
void MainMenuScreen::loadedFromFile() { LabelWidget* w = getWidget<LabelWidget>("info_addons"); w->setScrollSpeed(15); #if DEBUG_MENU_ITEM != 1 RibbonWidget* rw = getWidget<RibbonWidget>("menu_bottomrow"); rw->removeChildNamed("test_gpwin"); rw->removeChildNamed("test_gplose"); rw->removeChildNamed("test_unlocked"); rw->removeChildNamed("test_unlocked2"); #endif } // loadedFromFile
void MainMenuScreen::loadedFromFile() { LabelWidget* w = getWidget<LabelWidget>("info_addons"); w->setScrollSpeed(15); } // loadedFromFile