Commit graph

75 commits

Author SHA1 Message Date
Andrei Tuicu
2e4c536a2a fix #30016
modified:   libmscore/barline.cpp
	modified:   libmscore/segment.cpp
2014-08-19 15:38:15 +03:00
Andrei Tuicu
6460485d3f Score accessibility system.
Provides screen-reader feedback for the selected element.
2014-08-19 00:09:13 +03:00
Andrei Tuicu
9caa98b130 Added 4 new navigation commands:
- next element
- previous element
- first element
- last element
2014-08-17 17:25:21 +03:00
ws
6d46589c56 fix #29431 2014-08-13 21:01:21 +02:00
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
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
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
6f3a7d1957 whitespace cleanup 2014-05-30 13:37:44 +02:00
Joachim Schmitz
eac6e60fbd convert enum BarLineType into enum class 2014-05-30 13:37:31 +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
931e837c5e convert enum ElementType into enum class 2014-05-23 10:35:27 +02:00
ws
76eb9ebfb0 use char for some enums 2014-05-07 18:09:01 +02:00
Maurizio M. Gavioli
f23a9f05d0 Fix #22917 - Previous fix actually disable precise dragging of bar line grips.
When editing is exited, an (extra?) final call to BarLine::endEditDrag() is made **after** the last drag: it was finding shiftDrag turned off by the last call and forced the bar line extrema to coarse precision.
See http://musescore.org/en/node/22917#comment-99269

Fixes:
- resetting shiftDrag moved from endEditDrag() to endEdit();
- added a test at the beginning of endEditDrag() skipping it, if there is no drag.

Also fixed:
- a test for shiftDrag swapped with !shiftDrag
- an assumption that staves always have 5 lines.
2014-04-14 19:42:12 +02:00
ws
e534cccef8 bug fixes for concert pitch switch 2014-04-09 16:09:21 +02:00
lasconic
ecd6222e20 fix #22917: Dragging bar lines to top or bottom staff lines requires extra precision 2014-04-08 10:42:25 +02:00
ws
412102bbd1 fix text bounding box 2014-03-24 13:23:54 +01:00
ws
6ea46108d9 more code for inspector+barlines 2014-03-24 11:51:03 +01:00
ws
b4a3b41c49 fix #16626 2014-03-16 14:57:32 +01:00
lasconic
bb9c7b3b19 fix possible crash for barline and hidden staff 2014-02-28 13:11:00 +01:00
lasconic
df58146e09 fix #24672: Bar lines disappearing when hiding empty staves 2014-02-23 11:06:03 +01:00
lasconic
29de29d767 fix winged repeat 2014-02-19 19:13:21 +01:00
ws
d6523e5cb5 smufl: fix repeat barline dots 2014-01-07 13:17:03 +01:00
Maurizio M. Gavioli
a4f4da1475 Fix #24095 : Crash when all staves are hidden.
Improved tests on limit conditions.
2013-12-30 09:52:54 +01:00
Maurizio M. Gavioli
f978323d82 Fix #6107 : bar lines and brackets disappearing when some of the staff they span is hidden
Fixed by analyzing brackets and bar line spans rather than only relying on start and stop staff Y offset (which is not set if the staff is not shown).

Note: there are still issues with measure numbers, but these belong more to system items than to bar lining.
2013-12-28 10:24:35 +01:00
Maurizio M. Gavioli
81a0c79678 Add to MScore font a repeat dot glyph separate from augmentation dot.
SMuFL distinguishes between the augmentation dot and the repeat dot (used in repeat bar lines).

This patch:
- adds the MScore font a separate glyph for repeat dot. The glyph is encoded in the same code point used by SMuFL and is currently a simple reference to the augmentation dot.
- changes the BarLine class draw code to use this glyph instead of the augmentation dot.
2013-12-04 00:08:31 +01:00
ws
e6e7abbd6d smufl integration: articulation 2 2013-11-12 09:29:13 +01:00
ws
02b264f068 smufl integration, part II 2013-11-12 09:29:12 +01:00
ws
733c1934db smufl integration, part I 2013-11-12 09:29:12 +01:00
ws
4c2e2e971b more fixes for line editing 2013-08-30 12:46:34 +02:00
lasconic
6ea0d1bac5 fix scale of dots in repeat barline for small staves 2013-08-06 14:45:03 +02:00
ws
881781cfbe fix #21990 2013-07-23 19:08:46 +02:00
ws
699906d876 fix #21221 2013-05-29 11:50:25 +02:00
ws
c4072fce7c fix #21221 2013-05-28 15:42:16 +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
3cf8c8ee76 fix system barline layout if first staff is hidden 2013-03-27 12:32:41 +01:00
Maurizio M. Gavioli
aae0f3c7f4 If bar lines are not shown, hide also elements attached to them. 2013-03-25 23:35:36 +01:00
Maurizio M. Gavioli
37ef6f7f48 Fix #20503: implement "Show barlines" setting of "Edit staff types" dlg box.
Bar lines belonging to a single staff are shown/hidden according to the staff type setting.

Bar lines spanning several staves are shown/hidden according to the setting of the staff type of the first spanned staff.

System bar lines (bar lines at the beginning of a system) are NOT hidden, regardless of the setting.
2013-03-25 21:41:13 +01:00
ws
667cd5c6dd cleanups 2013-03-25 16:27:20 +01:00
Maurizio M. Gavioli
65128b9b35 Align with recent commits.
It also fixes #20424.
2013-03-23 00:57:37 +01:00
Maurizio M. Gavioli
bf4ba44045 Bar lines: property defaults for span parameters (staves, from, to) depend on staff span and number of lines. 2013-03-22 23:39:14 +01:00
lasconic
d63eee2c44 fix #20424: Impossible to delete a custom barline 2013-03-19 16:01:43 +01:00
Maurizio M. Gavioli
707bf228b3 Barlines: span attributes were not read back correctly from file.
Probably a left-over from the switch to XmlReader.
2013-03-14 19:48:46 +01:00
ws
8210fb81ee more inspector cleanups; add measure property Measure Number Mode to allow adding/removing measure numbers on top of style rules 2013-03-08 12:55:12 +01:00
ws
53e2a5e48c more inspector changes to convert to new scheme 2013-03-07 20:01:22 +01:00
ws
317e39ad28 replace all subtype()/setSubtype() Element methods 2013-03-05 20:24:16 +01:00
ws
f5dc1766ce fix importing spanner from 1.2 2013-01-25 21:26:43 +01:00