diff options
author | Han-Wen Nienhuys <hanwen@xs4all.nl> | 2004-07-23 15:08:45 +0000 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@xs4all.nl> | 2004-07-23 15:08:45 +0000 |
commit | 3c9561d788078f7ee4a6e1d973cf549d8f258935 (patch) | |
tree | 3ff9fa0321f2824fe3bc1b6550d8ef7d22fb26c9 /lily/ambitus.cc | |
parent | d723ce514c396386a1d8d3b5b96299389f3b9179 (diff) |
* lily/ambitus-engraver.cc (create_ambitus): change name to
AmbitusLine. Create AmbitusAccidental and AmbitusNoteHead for
other ambitus parts.
* lily/ledger-line-spanner.cc (print): new file. Set limits to
ledger line length to avoid clashes.
Diffstat (limited to 'lily/ambitus.cc')
-rw-r--r-- | lily/ambitus.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lily/ambitus.cc b/lily/ambitus.cc index 44953bd4ca..bfcc7fd5c6 100644 --- a/lily/ambitus.cc +++ b/lily/ambitus.cc @@ -38,11 +38,12 @@ Ambitus::print (SCM smob) if (minh->relative_coordinate (common, Y_AXIS) > maxh->relative_coordinate (common, Y_AXIS)) { - maxh = heads[0]; - minh = heads[0]; + Grob *t = maxh; + maxh = minh; + minh = t; } - Real pad = 1.35; + Real pad = 0.35; Real pmax = maxh->relative_coordinate (common, Y_AXIS) - pad; Real pmin = minh->relative_coordinate (common, Y_AXIS) + pad; |