MCPcopy Create free account
hub / github.com/IENT/YUView / on_repeatModeButton_clicked

Method on_repeatModeButton_clicked

YUViewLib/src/ui/PlaybackController.cpp:282–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282void PlaybackController::on_repeatModeButton_clicked()
283{
284 if (this->repeatMode == RepeatMode::Off)
285 this->setRepeatModeAndUpdateIcons(RepeatMode::One);
286 else if (this->repeatMode == RepeatMode::One)
287 this->setRepeatModeAndUpdateIcons(RepeatMode::All);
288 else if (this->repeatMode == RepeatMode::All)
289 this->setRepeatModeAndUpdateIcons(RepeatMode::Off);
290}
291
292void PlaybackController::currentSelectedItemsChanged(playlistItem *item1,
293 playlistItem *item2,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected