UI: Add Studio Preview Projector
This commit allows a user to create projectors for the preview scene instead of the program/live scene. Close jp9000/obs-studio#1071
This commit is contained in:
parent
3a43a047d4
commit
9fce162137
6 changed files with 170 additions and 14 deletions
|
|
@ -604,6 +604,9 @@ void OBSBasic::SetCurrentScene(OBSSource scene, bool force, bool direct)
|
|||
void OBSBasic::CreateProgramDisplay()
|
||||
{
|
||||
program = new OBSQTDisplay();
|
||||
program->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
connect(program.data(), &QWidget::customContextMenuRequested,
|
||||
this, &OBSBasic::on_program_customContextMenuRequested);
|
||||
|
||||
auto displayResize = [this]() {
|
||||
struct obs_video_info ovi;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue