obs-frontend-api: Add func to trigger a Studio Mode transition
This commit is contained in:
parent
4991113abc
commit
4762351258
5 changed files with 20 additions and 0 deletions
|
|
@ -439,6 +439,11 @@ struct OBSStudioAPI : obs_frontend_callbacks {
|
|||
main->SetPreviewProgramMode(enable);
|
||||
}
|
||||
|
||||
void obs_frontend_preview_program_trigger_transition(void) override
|
||||
{
|
||||
QMetaObject::invokeMethod(main, "TransitionClicked");
|
||||
}
|
||||
|
||||
bool obs_frontend_preview_enabled(void) override
|
||||
{
|
||||
return main->previewEnabled;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue