Skip to content
Snippets Groups Projects
Commit 338ec68d authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

#173 - Add fade to content player

parent 97d53c80
No related branches found
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
......@@ -49,15 +49,12 @@ class ContentPlayerBinding(val player: ContentPlayer, val zone: Zone) {
currentMedia.set(media)
}
def pause(media: ContentPlayerMediaContainer): Unit = {
player.Pause()
}
def pause(media: ContentPlayerMediaContainer): Unit = player.Pause()
def stop(media: ContentPlayerMediaContainer): Unit = {
player.Stop()
}
def stop(media: ContentPlayerMediaContainer): Unit = player.Stop()
def highlight(on: Boolean): Unit = player.HighlightPlayer(on)
def setFadeValue(value: Double): Unit = player.Fade(value)
def highlight(on: Boolean): Unit = {
player.HighlightPlayer(on)
}
}
......@@ -64,7 +64,7 @@ class ContentPlayerWindowController {
}
def setFadeValue(zones: Seq[Zone], value: Double): Unit = {
// TODO: Implement
getContentPlayerBindings(zones).foreach(player => player.setFadeValue(value))
}
def highlight(zone: Zone, on: Boolean): Unit = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment