Joachim Schmitz
e95d169d5c
move Direction and DirectionH into MScore
...
needed to make them available to the plugin framework
2014-06-26 12:03:14 +02:00
Joachim Schmitz
54e2e167b6
move NoteHeadType to NoteHead::Type
...
needed to make it available to the plugin framework
2014-06-26 12:01:50 +02:00
Joachim Schmitz
3f2fc6166a
move NoteHeadGroup to NoteHead::Group
...
needed to make it available to the plugin framework
2014-06-26 12:01:10 +02:00
Joachim Schmitz
b6be7a9852
rename AccidentalRole and AccidentalType to Role and Type
2014-06-26 11:57:41 +02:00
Joachim Schmitz
e6e7436177
move SegmentType to Segment::Type and make int again
...
needed to make it available to the plugin framework
and the memory saved is not worth the performance penalty
2014-06-26 11:57:39 +02:00
Joachim Schmitz
75623c53dc
move ElementType to Element::Type
...
needed to make it available to the Plugin framework
2014-06-26 11:57:35 +02:00
ws
b4066a7976
stronger typing for key
2014-06-20 17:07:22 +02:00
Joachim Schmitz
5a9b6395de
avoid warnings reg. unused variables
2014-06-17 14:35:16 +02:00
Joachim Schmitz
dba4644b70
use correct format specifiers
...
%d rather than %ld for int resp. %hhd vs. %d for char
2014-06-10 09:27:39 +02:00
ws
e8be73f41b
fix transposition when changing instrument
2014-06-04 10:40:26 +02:00
ws
b7dd5af499
update KeySig implementation
2014-06-03 15:28:10 +02:00
ws
e1b1246e0c
make SegmentType an global enum class
2014-06-01 20:24:29 +02:00
Joachim Schmitz
4e048f1712
convert enum Key into enum class
...
and to be able to ret rid of the KEY_ prefix, change enum Tpc's members
by adding (back) the prefix TPC_
2014-05-30 13:37:39 +02:00
Joachim Schmitz
7f1b612615
convert enum P_ID into enum class
2014-05-26 18:18:01 +02:00
Joachim Schmitz
0b43247956
convert enum StyleIdx into enum class
2014-05-26 15:31:36 +02:00
Joachim Schmitz
93a60e8944
convert unnamed enum into enum Key
...
but converting into enum class requires some more work. And mostly for
that reason can't yet get rid of the "KEY_", as it clashes with enum Tpc
(which too hasn't yet been converted into en enum class)
2014-05-26 12:27:31 +02:00
Joachim Schmitz
0d6cc4ffe0
convert unnamed enum into enum Tpc
...
but haven't had the guts to make it an enum class yet
2014-05-26 12:27:29 +02:00
Joachim Schmitz
931e837c5e
convert enum ElementType into enum class
2014-05-23 10:35:27 +02:00
Joachim Schmitz
a1c6c8c493
improve enum ElementFlag
...
more work needed to convert it into a class, same issue as with
ArticulationShowIn.
2014-05-23 10:35:22 +02:00
Joachim Schmitz
6b3bd55258
convert enum AccidentalType to enum class
2014-05-23 10:35:08 +02:00
ws
76eb9ebfb0
use char for some enums
2014-05-07 18:09:01 +02:00
Maurizio M. Gavioli
0a556afa3a
Merge pull request #824 from mgavioli/fix_ambitus_layout
...
Fix ambitus layout
2014-04-10 21:06:52 +02:00
ws
e534cccef8
bug fixes for concert pitch switch
2014-04-09 16:09:21 +02:00
Maurizio M. Gavioli
1d8d0eac9e
Fixes to ambitus:
...
- Fix missing adjustReadPos() for ambitus in Maesure::layoutX()
- Reduce left margin in there are accidentals
2014-04-09 12:45:28 +02:00
Maurizio M. Gavioli
0bca1ed811
Clean up code and correct octave detection in updateRange()
2014-04-09 12:45:28 +02:00
Maurizio M. Gavioli
390b4ced3e
Fix layout of ambitus elements with accidentals.
...
Ambitus elements with accidental(s) are laid out misaligned with ambitus elements without accidental(s).
The new algorithm aligns the leftmost note heads of each ambitus and places accidentals accordingly.
2014-04-09 12:45:28 +02:00
ws
d280091f22
implement separate tpc values for transposed view
2014-04-09 09:40:48 +02:00
Maurizio M. Gavioli
b32000dcfc
Selecting [undefined] TPC in Ambitus inspector causes crash.
...
The [undefined] item is informational only (when the ambitus range cannot be calculated, for instance when there are no notes in the staff yet) and should not be selected.
Fixed at two levels:
1) The [undefined] item is disabled and cannot be selected any longer
2) The Ambitus::layout() method is more robust to in dealing with undefined ranges.
2014-03-16 23:40:20 +01:00
ws
e9fd861fbc
hide noteHeads array
2013-11-25 15:42:40 +01:00
ws
43beb5ad9e
merge Ambitus
2013-11-25 15:28:53 +01:00
Maurizio M. Gavioli
41588b2bc1
Renamed element to "Ambitus"
2013-11-25 12:17:12 +01:00