/[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 2967 by schoenebeck, Mon Jul 18 11:22:38 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        Property<bool> autoRestoreWindowDimension;
125        Property<bool> saveWithTemporaryFile; ///< If enabled and the user selects "Save" from the main menu, then the file is first saved as separate temporary file and after the save operation completed the temporary file is moved over the original file.
126    
127        // settings of "MainWindow" group
128        Property<int> mainWindowX;
129        Property<int> mainWindowY;
130        Property<int> mainWindowW;
131        Property<int> mainWindowH;
132    
133        // settings of "ScriptEditor" group
134        Property<int> scriptEditorWindowX;
135        Property<int> scriptEditorWindowY;
136        Property<int> scriptEditorWindowW;
137        Property<int> scriptEditorWindowH;
138        Property<int> scriptEditorFontSize;
139    
140        // settings of "DimensionManager" group
141        Property<int> dimensionManagerWindowX;
142        Property<int> dimensionManagerWindowY;
143        Property<int> dimensionManagerWindowW;
144        Property<int> dimensionManagerWindowH;
145    
146        // settings of "ScriptSlots" group
147        Property<int> scriptSlotsWindowX;
148        Property<int> scriptSlotsWindowY;
149        Property<int> scriptSlotsWindowW;
150        Property<int> scriptSlotsWindowH;
151    
152        // settings of "CombineInstruments" group
153        Property<int> combineInstrumentsWindowX;
154        Property<int> combineInstrumentsWindowY;
155        Property<int> combineInstrumentsWindowW;
156        Property<int> combineInstrumentsWindowH;
157    
158        // settings of "MidiRules" group
159        Property<int> midiRulesWindowX;
160        Property<int> midiRulesWindowY;
161        Property<int> midiRulesWindowW;
162        Property<int> midiRulesWindowH;
163    
164        // settings of "FileProps" group
165        Property<int> filePropsWindowX;
166        Property<int> filePropsWindowY;
167        Property<int> filePropsWindowW;
168        Property<int> filePropsWindowH;
169    
170        // settings of "InstrProps" group
171        Property<int> instrPropsWindowX;
172        Property<int> instrPropsWindowY;
173        Property<int> instrPropsWindowW;
174        Property<int> instrPropsWindowH;
175    
176        // settings of "SampleRefs" group
177        Property<int> sampleRefsWindowX;
178        Property<int> sampleRefsWindowY;
179        Property<int> sampleRefsWindowW;
180        Property<int> sampleRefsWindowH;
181    
182      static Settings* singleton();      static Settings* singleton();
183      Settings();      Settings();

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

  ViewVC Help
Powered by ViewVC