source file of the GNU LilyPond music typesetter
- (c) 2004--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 2004--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#include <map>
+using namespace std;
#include "item.hh"
#include "note-head.hh"
contain a lot of noteheads, superlinear performance is too slow.
*/
extract_item_set (me, "note-heads", heads);
- for (int i = heads.size(); i --; )
+ for (int i = heads.size (); i--;)
{
Item *h = heads[i];
}
};
-typedef std::map < int, Drul_array<Ledger_request> > Ledger_requests;
+typedef map < int, Drul_array<Ledger_request> > Ledger_requests;
/*
TODO: ledger share a lot of info. Lots of room to optimize away
i != reqs.end (); last = i++)
{
if (last == reqs.end ())
- {
- continue;
- }
+ continue;
Direction d = DOWN;
do
ADD_INTERFACE (Ledger_line_spanner,
"ledger-line-interface",
-
+
"This spanner draws the ledger lines of a staff.\n"
"This is a separate grob because it has to process\n"
"all potential collisions between all note heads.",
-
+
"note-heads thickness minimum-length-fraction length-fraction gap");
struct Ledgered_interface
ADD_INTERFACE (Ledgered_interface,
"ledgered-interface",
-
+
"Objects that need ledger lines, typically "
"note heads. See also @ref{ledger-line-interface}.",
-
+
"no-ledgers");