Skip to content

Commit

Permalink
Added preferences for Ribbon and MDI tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
vanch3d committed Sep 13, 2008
1 parent 4dce060 commit 7e6a398
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions prefs/Prefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,13 @@ TPref::CTUniverse TPref::TUniv =
FALSE
};

TPref::CTInterface TPref::TInterface =
{
TRUE,
TRUE
};


TPref::CTParamGeo TPref::TParamGeo;

BOOL TPref::bMacroLoading = TRUE;
Expand Down
9 changes: 9 additions & 0 deletions prefs/Prefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,13 @@ public :
BOOL bShowHidden; ///< TRUE if hidden objects are shown, FALSE otherwise
};

/////////////////////////////////////////////////////////////////////////////
/// Default options for the Graphical Interface
/////////////////////////////////////////////////////////////////////////////
struct CTInterface {
BOOL bUseRibbon; ///< TRUE if the interface is using the ribbon, FALSE otherwise
BOOL bUseMDITab; ///< TRUE if the interface is using the MDI tabs
};

public :

Expand Down Expand Up @@ -241,6 +248,8 @@ public :

static COLORREF Color; ///< Default color for objects \deprecated

static CTInterface TInterface; ///< Default preferences for the interface

public :
static void DefaultInit();
};
Expand Down

0 comments on commit 7e6a398

Please sign in to comment.