From d2b9eb3d9db05455751849e88fa0be4f14b49386 Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 10 Oct 1996 12:24:05 +0000 Subject: [PATCH] lilypond-0.0.2 --- item.cc | 10 ++++++++-- rhythmstaf.cc | 6 +++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/item.cc b/item.cc index 5856156a66..72f447be94 100644 --- a/item.cc +++ b/item.cc @@ -1,7 +1,7 @@ #include "line.hh" - - +#include "symbol.hh" #include "cols.hh" + String Spanner::TeXstring() const { @@ -39,6 +39,12 @@ Item::width() const return output->extent().x; } +Interval +Item::height() const +{ + return output->extent().y; +} + /****************************************************************/ Item::Item() diff --git a/rhythmstaf.cc b/rhythmstaf.cc index 61eca843f8..a7fade6fc5 100644 --- a/rhythmstaf.cc +++ b/rhythmstaf.cc @@ -7,7 +7,7 @@ #include "command.hh" #include "molecule.hh" #include "rhythmstaf.hh" - +#include "symbol.hh" Rhythmic_column::Rhythmic_column(Score_column*s, Rhythmic_staff *rs) @@ -93,8 +93,8 @@ Rhythmic_column::typeset_command(Command *com, int breakst) Item *i = new Item; const Symbol*s=0; - if (com -> args[0] == "|" ) { - s = Symbol::find_bar("|"); + if (com -> args[0] == "BAR" ) { + s = Symbol::find_bar(com->args[1]); } else assert(false); -- 2.39.5