UI: Add Transition Previews

This commit adds a preview to the properties window for transitions.

The preview will play back the transition at the global transition
duration or the transitions fixed duration, between two private scenes
with an A and B label, and different background colors.
This commit is contained in:
VodBox
2019-05-12 21:13:21 -07:00
committed by jp9000
parent 52235ba86d
commit 16484e07e9
7 changed files with 229 additions and 1 deletions
+5
View File
@@ -3423,6 +3423,11 @@ void OBSBasic::SetService(obs_service_t *newService)
service = newService;
}
int OBSBasic::GetTransitionDuration()
{
return ui->transitionDuration->value();
}
bool OBSBasic::StreamingActive() const
{
if (!outputHandler)