MCPcopy Create free account
hub / github.com/clementgallet/libTAS / applyLaunchTimeSettings

Method applyLaunchTimeSettings

src/program/ui/MainWindow.cpp:1288–1302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1286}
1287
1288void MainWindow::applyLaunchTimeSettings()
1289{
1290 gameLoop->movie.header->authors = authorField->text().toStdString();
1291
1292 context->config.sc.initial_framerate_num = fpsNumField->value();
1293 context->config.sc.initial_framerate_den = fpsDenField->value();
1294 if (! context->config.initial_monotonic_time_set_via_cli) {
1295 context->config.sc.initial_monotonic_time_sec = elapsedTimeSec->value();
1296 context->config.sc.initial_monotonic_time_nsec = elapsedTimeNsec->value();
1297 }
1298 if (! context->config.initial_time_set_via_cli) {
1299 context->config.sc.initial_time_sec = realTimeSec->value();
1300 context->config.sc.initial_time_nsec = realTimeNsec->value();
1301 }
1302}
1303
1304bool MainWindow::confirmDownloadsAllowed()
1305{

Callers

nothing calls this directly

Calls 2

textMethod · 0.80
valueMethod · 0.80

Tested by

no test coverage detected