Commit 5336a447 authored by Jan Möbius's avatar Jan Möbius

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 f21c76df
......@@ -126,6 +126,9 @@ static bool hideToolbox_ = false;
/// Store the logger gui Mode mode
static bool hideLogger_ = false;
/// Store if we should go into multiview Mode
static bool multiView_ = false;
/// Start in Fullscreen Mode?
static bool fullScreen_ = false;
......@@ -482,6 +485,23 @@ void drawModesInContextMenu(bool _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
void hideLogger( bool _hide) {
hideLogger_ = _hide;
......
......@@ -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
DLLEXPORT
void hideLogger( bool _hide);
......
Markdown is supported
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