MCPcopy Create free account
hub / github.com/VCVRack/Rack / step

Method step

src/app/MenuBar.cpp:969–983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

967 }
968
969 void step() override {
970 notification->box.pos = math::Vec(0, 0);
971 notification->visible = library::hasUpdates();
972
973 // Popup when updates finish downloading
974 if (library::restartRequested) {
975 library::restartRequested = false;
976 if (osdialog_message(OSDIALOG_INFO, OSDIALOG_OK_CANCEL, string::translate("MenuBar.library.restart").c_str())) {
977 APP->window->close();
978 settings::restart = true;
979 }
980 }
981
982 MenuButton::step();
983 }
984};
985
986

Callers

nothing calls this directly

Calls 5

VecClass · 0.85
hasUpdatesFunction · 0.85
translateFunction · 0.85
stepFunction · 0.85
closeMethod · 0.80

Tested by

no test coverage detected