The fix introduces new style values for crescendo/diminuendo lines. This moves them to the same position as dynamics.
Also fixed is a another bug: when you switch between above/below the proper offsets were not shown in
the inspector. Another bug was not initializing styled properties right after reading a score.
- replace properties "BOLD ITALIC UNDERLINE" by one property FONT_STYLE
- if text is custom fomatted (has size/fontface changes, contains parts in bold/italic etc.
then the appropriate property values are set to "unstyled". This enables the reset button
in the inspector.
- pressing reset for some text properties strips changes of this property in the text
Example: text contains a part in italic: pressing reset removes the italic formatting
- the "remove custom formatting" button is only enabled if there is some custom formatting
Adjusts horizontal dimensions of hairpins to fit between adjacent
dynamics, if any exist. No vertical aligning included, as it is
already available in the form of begin/end text for hairpins.
Still for some common cases the logic added by this commit is
good enough.
Dimensions calculation code is taken (with some adjustments) from
8bdd1af0be
Also includes:
- Rename/update Segment::findAnnotation[orElement]
- Add Score::isPalette() to make it easier to distinguish between
palette and normal scores on layout stage.
This allows to add dynamics to begin and end of hairpins. The
benefit is that this elements are treated as one symbol by layout and
autoplace and so are always vertical aligned.
Currently playback is not supported. For this probably a "start velocity" and
an "end velocity" property has to be added to hairpins.
* The one C4100
* The one C4189
* The two C4457
* The two C4701
* The 475 C4267, changing to size_t were easily possible, casting to
int elsewhere
* Fix GCC warnings reg. wrong printf format for a size_t, reg. unused
variables and reg. ambigous else branch, seen on Travis CI