UI: Add fullscreen UI option to view menu
(Edit by Jim: Removed "Fullscreen Preview" because that's already sort of served by the normal fullscreen projector option via the preview context menu) Closes jp9000/obs-studio#846
This commit is contained in:
parent
50103825c0
commit
b8d907f399
4 changed files with 27 additions and 0 deletions
|
|
@ -1431,6 +1431,9 @@ void OBSBasic::OBSInit()
|
|||
|
||||
OpenSavedProjectors();
|
||||
|
||||
if (windowState().testFlag(Qt::WindowFullScreen))
|
||||
fullscreenInterface = true;
|
||||
|
||||
bool has_last_version = config_has_user_value(App()->GlobalConfig(),
|
||||
"General", "LastVersion");
|
||||
bool first_run = config_get_bool(App()->GlobalConfig(), "General",
|
||||
|
|
@ -5177,6 +5180,16 @@ void OBSBasic::RemoveSavedProjectors(int monitor)
|
|||
projectorArray.at((size_t)monitor) = "";
|
||||
}
|
||||
|
||||
void OBSBasic::on_actionFullscreenInterface_triggered()
|
||||
{
|
||||
if (!fullscreenInterface)
|
||||
showFullScreen();
|
||||
else
|
||||
showNormal();
|
||||
|
||||
fullscreenInterface = !fullscreenInterface;
|
||||
}
|
||||
|
||||
void OBSBasic::UpdateTitleBar()
|
||||
{
|
||||
stringstream name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue