lilypond-1.5.10
[lilypond.git] / lily / note-head-side.cc
blob273744c03290e5300a3bd5454620fdf72e3e7621
1 /*
2 note-head-side.cc -- implement Note_head_side
4 source file of the GNU LilyPond music typesetter
6 (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
8 */
10 #include "directional-element-interface.hh"
12 #include "side-position-interface.hh"
13 #include "note-head-side.hh"
14 void
15 Note_head_side::add_support (Item*head_l)
17 Side_position_interface s (this);
18 s.add_support (head_l);
22 Note_head_side::Note_head_side()
24 Side_position_interface s(this);
25 s.set_axis (X_AXIS);
26 s.set_direction (LEFT);
29 bool
30 Note_head_side::supported_b ()const
32 Side_position_interface s(this);
33 return s.supported_b ();