/[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 3151 by schoenebeck, Fri May 5 18:44:59 2017 UTC
# Line 1  Line 1 
1  /*  /*
2      Copyright (c) 2014-2016 Christian Schoenebeck      Copyright (c) 2014-2017 Christian Schoenebeck
3            
4      This file is part of "gigedit" and released under the terms of the      This file is part of "gigedit" and released under the terms of the
5      GNU General Public License version 2.      GNU General Public License version 2.
# 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            MACRO_EDITOR,
50      };      };
51    
52      /**      /**
# Line 108  public: Line 118  public:
118          Group_t m_group;          Group_t m_group;
119      };      };
120    
121        // settings of "Global" group
122      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
123      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
124      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
125        Property<bool> autoRestoreWindowDimension;
126        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.
127    
128        // settings of "MainWindow" group
129        Property<int> mainWindowX;
130        Property<int> mainWindowY;
131        Property<int> mainWindowW;
132        Property<int> mainWindowH;
133    
134        // settings of "ScriptEditor" group
135        Property<int> scriptEditorWindowX;
136        Property<int> scriptEditorWindowY;
137        Property<int> scriptEditorWindowW;
138        Property<int> scriptEditorWindowH;
139        Property<int> scriptEditorFontSize;
140    
141        // settings of "DimensionManager" group
142        Property<int> dimensionManagerWindowX;
143        Property<int> dimensionManagerWindowY;
144        Property<int> dimensionManagerWindowW;
145        Property<int> dimensionManagerWindowH;
146    
147        // settings of "ScriptSlots" group
148        Property<int> scriptSlotsWindowX;
149        Property<int> scriptSlotsWindowY;
150        Property<int> scriptSlotsWindowW;
151        Property<int> scriptSlotsWindowH;
152    
153        // settings of "CombineInstruments" group
154        Property<int> combineInstrumentsWindowX;
155        Property<int> combineInstrumentsWindowY;
156        Property<int> combineInstrumentsWindowW;
157        Property<int> combineInstrumentsWindowH;
158    
159        // settings of "MidiRules" group
160        Property<int> midiRulesWindowX;
161        Property<int> midiRulesWindowY;
162        Property<int> midiRulesWindowW;
163        Property<int> midiRulesWindowH;
164    
165        // settings of "FileProps" group
166        Property<int> filePropsWindowX;
167        Property<int> filePropsWindowY;
168        Property<int> filePropsWindowW;
169        Property<int> filePropsWindowH;
170    
171        // settings of "InstrProps" group
172        Property<int> instrPropsWindowX;
173        Property<int> instrPropsWindowY;
174        Property<int> instrPropsWindowW;
175        Property<int> instrPropsWindowH;
176    
177        // settings of "SampleRefs" group
178        Property<int> sampleRefsWindowX;
179        Property<int> sampleRefsWindowY;
180        Property<int> sampleRefsWindowW;
181        Property<int> sampleRefsWindowH;
182    
183        // settings of "MacroEditor" group
184        Property<int> macroEditorWindowX;
185        Property<int> macroEditorWindowY;
186        Property<int> macroEditorWindowW;
187        Property<int> macroEditorWindowH;
188    
189      static Settings* singleton();      static Settings* singleton();
190      Settings();      Settings();

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

  ViewVC Help
Powered by ViewVC