/[svn]/gigedit/trunk/src/gigedit/Settings.h
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/Settings.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2891 by schoenebeck, Tue Apr 26 17:42:26 2016 UTC revision 2893 by schoenebeck, Fri Apr 29 14:19:53 2016 UTC
# Line 36  public: Line 36  public:
36       * All settings are grouped into these settings groups.       * All settings are grouped into these settings groups.
37       */       */
38      enum Group_t {      enum Group_t {
39          GLOBAL          GLOBAL,
40            MAIN_WINDOW,
41            SCRIPT_EDITOR,
42      };      };
43    
44      /**      /**
# Line 108  public: Line 110  public:
110          Group_t m_group;          Group_t m_group;
111      };      };
112    
113        // settings of "Global" group
114      Property<bool> warnUserOnExtensions; ///< if enabled, the user shall he be warned if he is trying to use a gig format extension that will not work with Gigasampler/GigaStudio      Property<bool> warnUserOnExtensions; ///< if enabled, the user shall he be warned if he is trying to use a gig format extension that will not work with Gigasampler/GigaStudio
115      Property<bool> syncSamplerInstrumentSelection; ///< if enabled, the sampler's current instrument will automatically be switched whenever another instrument was selected in gigedit      Property<bool> syncSamplerInstrumentSelection; ///< if enabled, the sampler's current instrument will automatically be switched whenever another instrument was selected in gigedit
116      Property<bool> moveRootNoteWithRegionMoved; ///< if enabled, the root note(s) of regions are automatically moving when the user drags a region around at the virtual keyboard      Property<bool> moveRootNoteWithRegionMoved; ///< if enabled, the root note(s) of regions are automatically moving when the user drags a region around at the virtual keyboard
117    
118        // settings of "MainWindow" group
119        Property<int> mainWindowX;
120        Property<int> mainWindowY;
121        Property<int> mainWindowW;
122        Property<int> mainWindowH;
123    
124        // settings of "ScriptEditor" group
125        Property<int> scriptEditorWindowX;
126        Property<int> scriptEditorWindowY;
127        Property<int> scriptEditorWindowW;
128        Property<int> scriptEditorWindowH;
129    
130      static Settings* singleton();      static Settings* singleton();
131      Settings();      Settings();
132      void load();      void load();

Legend:
Removed from v.2891  
changed lines
  Added in v.2893

  ViewVC Help
Powered by ViewVC