+2006-02-15 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * flower/include/std-vector.hh: don't include config.hh
+
2006-02-15 Jan Nieuwenhuizen <janneke@gnu.org>
* flower/include/std-vector.hh: Better wrapper compatibility with
}
#include "compare.hh"
-#include "config.hh"
#ifndef VSIZE
#define VSIZE
paper_book->add_performance (perf->self_scm ());
else if (Paper_score *pscore = dynamic_cast<Paper_score *> (output))
{
- SCM systems = pscore->get_paper_systems ();
if (ly_is_module (score->header_))
paper_book->add_score (score->header_);
- paper_book->add_score (systems);
+ paper_book->add_score (pscore->self_scm ());
}
outputs = scm_cdr (outputs);
*/
#include "cluster.hh"
-
-#include <cstdio>
-using namespace std;
-
#include "international.hh"
#include "item.hh"
#include "lookup.hh"
/*
TODO: Add support for cubic spline segments.
-*/
+ */
Stencil
brew_cluster_piece (Grob *me, vector<Offset> bottom_points, vector<Offset> top_points)
{
#define PAPER_BOOK_HH
#include "std-vector.hh"
-#include "protected-scm.hh"
#include "smobs.hh"
-
-class Output_def;
-class Stencil;
+#include "lily-proto.hh"
/** Paper_book collects headers, systems (Paper_system) and texts, and
exports them to the output backend, either as systems or as
}
}
+#if 0
+SCM
+Paper_book::system_specs ()
+{
+
+}
+#endif
+
SCM
Paper_book::systems ()
{
}
else if (scm_is_vector (scm_car (s)))
{
+ programming_error ("Vector case?");
/*
UGH. code dup.
*/
#include "version.hh"
#include "warn.hh"
-const char * FRAMEWORKDIR = "..";
+#define FRAMEWORKDIR ".."
int
{
vsize k = broken_spanner_index (state.slur_);
int j = int (k) + hdir;
- if (j < 0 || j >= mother->broken_intos_.size ())
+ if (j < 0 || vsize (j) >= mother->broken_intos_.size ())
return by;
Grob *neighbor = mother->broken_intos_[j];
= broken_spanner_index (dynamic_cast<Spanner *> (state.common_[Y_AXIS]));
int common_j = common_k + hdir;
- if (common_j < 0 || common_j >= common_mother->broken_intos_.size ())
+ if (common_j < 0 || vsize (common_j) >= common_mother->broken_intos_.size ())
return by;
Grob *common_next_system = common_mother->broken_intos_[common_j];
if (Spanner *mother = dynamic_cast<Spanner *> (slur_->original ()))
{
- vsize k = broken_spanner_index (slur_);
- vsize j = k + 1;
- if (j < 0 || j >= mother->broken_intos_.size ())
+ vsize j = 1 + broken_spanner_index (slur_);
+ if (j >= mother->broken_intos_.size ())
return;
Grob *neighbor = mother->broken_intos_[j];
void
Tab_note_heads_engraver::process_music ()
{
- int j = 0;
+ vsize j = 0;
for (vsize i = 0; i < note_events_.size (); i++)
{
SCM stringTunings = get_property ("stringTunings");
Tuplet_bracket::get_bounds (Grob *me, Grob **left, Grob **right)
{
extract_grob_set (me, "note-columns", columns);
- int l = 0;
+ vsize l = 0;
while (l < columns.size () && Note_column::has_rests (columns[l]))
l++;
- int r = columns.size () - 1;
+ vsize r = columns.size () - 1;
while (r >= l && Note_column::has_rests (columns[r]))
r--;