Commit graph

21 commits

Author SHA1 Message Date
ws
e8be73f41b fix transposition when changing instrument 2014-06-04 10:40:26 +02:00
ws
e1b1246e0c make SegmentType an global enum class 2014-06-01 20:24:29 +02:00
Joachim Schmitz
cde0a3910d convert enum StaffGroup into enum class 2014-05-30 13:37:28 +02:00
Joachim Schmitz
641a7a5a91 convert enum NoteType into enum class 2014-05-27 10:35:28 +02:00
Joachim Schmitz
931e837c5e convert enum ElementType into enum class 2014-05-23 10:35:27 +02:00
Joachim Schmitz
27f8ca023f convert enum DurationType to enum class 2014-05-23 10:34:57 +02:00
ws
832f838790 fix #23358 2013-10-31 08:12:53 +01:00
ws
2a91663a92 fixes for input state 2013-10-29 16:59:22 +01:00
ws
05d827a9ee rework of InputState 2013-10-24 12:09:00 +02:00
lasconic
d96fbd532b fix #3056: change the way MuseScore guess which notes to enter 2013-09-05 15:34:09 +02:00
Maurizio M. Gavioli
073cfec588 Re-factor presets and staff types.
1) Built-in staff types have been removed.

2) Presets are internally used as source for the staff types of a new score, to match data in Instruments.xml and as reference to check for modifications.

3) Each new score is given by default one staff type for each preset with the same name.

4) The Instrument page of the New Score Wizard lists (under the name of "Staff types") the default staff types applicable to the instrument (actually it lists the preset, as the score does not have any staff type yet).

5) The "Add | Instruments" dlg box lists all the staff types applicable to the instrument: = to the list of 4) + any user-created staff type.

6) The Staff Properties dlg box lists all the staff types applicable to the instrument: = list in 5)

7) The Staff Type Editor lists all the staff types

This should ensure consistency among the several lists of staff types and avoid duplication of similar items

Terminology:

7) A new staff type created in the editor is named by default with the group name ("Standard-", "Perc-", "Tab-") + the index of the new type in its group + the suffix "[*]" marking a user customisation. The user is anyway able to rename it, if he want.

8) The pitched staff type has been renamed everywhere (hopefully!) to "Standard"

9) The term 'preset' have been removed from the UI, except from the Staff Type Editor where it keeps its meaning of ready-made collections of parameters

The commit affects many files, but a fair number of them have only changes in names of literals. The files with significant code changes are:
libmscore/score.cpp
libmscore/stafftype.cpp/.h
mscore/editstafftype.cpp (code for naming a new staff type)
mscore/instrdialog.cpp (building type list)

Note: as score files store staff type indications as integer indices and the number and order of new default staff types is different from the old built-in types, there is a compatibility issue with old 2.0 score which use percussion and tab staves. In Score::read() (libmscore/scorefile.cpp), there is a rudimentary attempt to cope with this.Old scores will need manual fix anyway. There should not be any (new) compatibility issue with 1.x scores, as they did not use staff types.
2013-08-18 11:55:31 +02:00
ws
9ebabcc2e5 add namespace Ms 2013-05-13 19:43:59 +02:00
ws
220db94494 reorganize synthesizer; add zita1 reverb 2013-04-03 12:50:21 +02:00
ws
317e39ad28 replace all subtype()/setSubtype() Element methods 2013-03-05 20:24:16 +01:00
muelleki
53c4bb868b Undo commit from muelleki/17906-chords that conflicts with watery/17906-midichordinput 2013-01-25 10:05:00 +01:00
muelleki
e8159e18e8 #17906 (Using MIDI input to input chords causes crash): Reworked moveToNextInput() logic in addPitch(). moveToNextInput() is called before actually inserting a new node, except if adding to a chord or if it is the first note inserted. A new flag InputState::moveBeforeAdding has been added just for this purpuse. 2013-01-10 08:38:13 +01:00
Maurizio Gavioli
bcdc5a2fa7 Added "string-above" and "string-below" actions
Removed several actions from STATE_NOTE_ENTRY_TAB
Added _string member var to InputState
Added StaffTypeTablature function to convert between physical and visual strings
2012-08-29 18:46:36 +02:00
Werner Schweer
c47574accf rename useTablature() -> isTabStaff(); more cleanups 2012-08-16 11:09:36 +02:00
Werner Schweer
12d99070f8 cleanups 2012-08-15 17:46:30 +02:00
Werner Schweer
036bb9af53 extend STATE_NOTE_ENTRY into three states depending on current staff type 2012-08-15 17:43:31 +02:00
Werner Schweer
1f9ccfcdce add libmscore
git-subtree-dir: libmscore
git-subtree-mainline: 412ca45401
git-subtree-split: 6047361bd0
2012-05-26 14:54:47 +02:00