/[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 2894 by schoenebeck, Sat Apr 30 14:42:14 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            DIMENSION_MANAGER,
43            SCRIPT_SLOTS,
44            COMBINE_INSTRUMENTS,
45            MIDI_RULES,
46            FILE_PROPS,
47            INSTR_PROPS,
48            SAMPLE_REFS,
49      };      };
50    
51      /**      /**
# Line 108  public: Line 117  public:
117          Group_t m_group;          Group_t m_group;
118      };      };
119    
120        // settings of "Global" group
121      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
122      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
123      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
124    
125        // settings of "MainWindow" group
126        Property<int> mainWindowX;
127        Property<int> mainWindowY;
128        Property<int> mainWindowW;
129        Property<int> mainWindowH;
130    
131        // settings of "ScriptEditor" group
132        Property<int> scriptEditorWindowX;
133        Property<int> scriptEditorWindowY;
134        Property<int> scriptEditorWindowW;
135        Property<int> scriptEditorWindowH;
136    
137        // settings of "DimensionManager" group
138        Property<int> dimensionManagerWindowX;
139        Property<int> dimensionManagerWindowY;
140        Property<int> dimensionManagerWindowW;
141        Property<int> dimensionManagerWindowH;
142    
143        // settings of "ScriptSlots" group
144        Property<int> scriptSlotsWindowX;
145        Property<int> scriptSlotsWindowY;
146        Property<int> scriptSlotsWindowW;
147        Property<int> scriptSlotsWindowH;
148    
149        // settings of "CombineInstruments" group
150        Property<int> combineInstrumentsWindowX;
151        Property<int> combineInstrumentsWindowY;
152        Property<int> combineInstrumentsWindowW;
153        Property<int> combineInstrumentsWindowH;
154    
155        // settings of "MidiRules" group
156        Property<int> midiRulesWindowX;
157        Property<int> midiRulesWindowY;
158        Property<int> midiRulesWindowW;
159        Property<int> midiRulesWindowH;
160    
161        // settings of "FileProps" group
162        Property<int> filePropsWindowX;
163        Property<int> filePropsWindowY;
164        Property<int> filePropsWindowW;
165        Property<int> filePropsWindowH;
166    
167        // settings of "InstrProps" group
168        Property<int> instrPropsWindowX;
169        Property<int> instrPropsWindowY;
170        Property<int> instrPropsWindowW;
171        Property<int> instrPropsWindowH;
172    
173        // settings of "SampleRefs" group
174        Property<int> sampleRefsWindowX;
175        Property<int> sampleRefsWindowY;
176        Property<int> sampleRefsWindowW;
177        Property<int> sampleRefsWindowH;
178    
179      static Settings* singleton();      static Settings* singleton();
180      Settings();      Settings();
181      void load();      void load();

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

  ViewVC Help
Powered by ViewVC