Commit dec82b76 authored by Jan Möbius's avatar Jan Möbius
Browse files

Added global options for multi view mode

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@4012 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 92960c98
...@@ -126,6 +126,9 @@ static bool hideToolbox_ = false; ...@@ -126,6 +126,9 @@ static bool hideToolbox_ = false;
/// Store the logger gui Mode mode /// Store the logger gui Mode mode
static bool hideLogger_ = false; static bool hideLogger_ = false;
/// Store if we should go into multiview Mode
static bool multiView_ = false;
/// Start in Fullscreen Mode? /// Start in Fullscreen Mode?
static bool fullScreen_ = false; static bool fullScreen_ = false;
...@@ -482,6 +485,23 @@ void drawModesInContextMenu(bool _show) { ...@@ -482,6 +485,23 @@ void drawModesInContextMenu(bool _show) {
drawModesInContextMenu_ = _show; drawModesInContextMenu_ = _show;
} }
void multiView( bool _multiView) {
multiView_ = _multiView;
}
bool multiView() {
return multiView_;
}
unsigned int examinerWidgets() {
if ( multiView_)
return 4;
else
return 1;
}
/// Set if we start the logging widget closed /// Set if we start the logging widget closed
void hideLogger( bool _hide) { void hideLogger( bool _hide) {
hideLogger_ = _hide; hideLogger_ = _hide;
......
...@@ -411,6 +411,18 @@ void fontsDir(QDir _dir); ...@@ -411,6 +411,18 @@ void fontsDir(QDir _dir);
* @{ */ * @{ */
//=========================================================================== //===========================================================================
/// Use multiview Mode?
DLLEXPORT
void multiView( bool _multiView);
/// Use multiview Mode?
DLLEXPORT
bool multiView();
/// Number of examiner widgets
DLLEXPORT
unsigned int examinerWidgets();
/// Set if we start the logging widget closed /// Set if we start the logging widget closed
DLLEXPORT DLLEXPORT
void hideLogger( bool _hide); void hideLogger( bool _hide);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment