提交 8ec1f97d 编写于 作者: S Shaolin

UI: Add helper functions to Projector

上级 e6c00afe
......@@ -857,6 +857,21 @@ void OBSProjector::UpdateMultiview()
multiviewLayout = HORIZONTAL_TOP;
}
OBSSource OBSProjector::GetSource()
{
return source;
}
ProjectorType OBSProjector::GetProjectorType()
{
return type;
}
int OBSProjector::GetMonitor()
{
return savedMonitor;
}
void OBSProjector::UpdateMultiviewProjectors()
{
obs_enter_graphics();
......
......@@ -53,5 +53,8 @@ public:
void Init(int monitor, bool window, QString title,
ProjectorType type = ProjectorType::Source);
OBSSource GetSource();
ProjectorType GetProjectorType();
int GetMonitor();
static void UpdateMultiviewProjectors();
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册