/// dir: -1 below heads, +1 above heads.
/****************/
+ const char * name() const;
virtual Interval width()const;
Offset center() const;
void do_pre_processing();
void do_post_processing();
- void print() const;
+ void do_print() const;
void set_grouping(Rhythmic_grouping def, Rhythmic_grouping current);
void set_stemlens();
~Beam();
#include "item.hh"
/// ball at the end of the stem
-struct Rest : public Item
-{
+struct Rest : Item {
+
int dots;
int balltype;
Rest(int dur,int dots);
- void print()const;
-
+ void do_print()const;
+ const char * name() const;
Molecule* brew_molecule_p()const;
};
/**
#include "paper.hh"
#include "lookup.hh"
+NAME_METHOD(Bar);
Bar::Bar( String t)
{
type = t;
}
+
Molecule*
Bar::brew_molecule_p()const
{
Symbol s = paper()->lookup_p_->bar(type);
-Molecule* output = new Molecule(Atom(s));
-return output;
-
+ Molecule* output = new Molecule(Atom(s));
+ return output;
}
#include "lookup.hh"
#include "clef.hh"
+NAME_METHOD(Clef_item);
+
Clef_item::Clef_item()
{
change = true;
read("violin");
}
+
void
Clef_item::read(String t)
{