diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-16 00:37:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-19 00:44:06 +0100 |
| commit | 17d9f8ba001eb14c3bbaf5cc5ebc37c5c0e1edb9 (patch) | |
| tree | 3549c87c08916fbd07c667377268d1e27c4ae2f1 /src/lib/config.h | |
| parent | ef2eb8521358684042807dfcec62ce0e5639ec8d (diff) | |
Add option to force short screen layout (#2946).
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index 794e39ec7..ba3e1cdd8 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -681,6 +681,10 @@ public: return _relative_paths; } + bool layout_for_short_screen() { + return _layout_for_short_screen; + } + /* SET (mostly) */ void set_master_encoding_threads (int n) { @@ -1232,6 +1236,10 @@ public: maybe_set(_relative_paths, relative); } + void set_layout_for_short_screen(bool layout) { + maybe_set(_layout_for_short_screen, layout); + } + void changed (Property p = OTHER); boost::signals2::signal<void (Property)> Changed; @@ -1473,6 +1481,7 @@ private: bool _enable_player_http_server; int _player_http_server_port; bool _relative_paths; + bool _layout_for_short_screen; #ifdef DCPOMATIC_GROK boost::optional<Grok> _grok; |
