]> git.donarmstrong.com Git - lilypond.git/blob - lily/note-head-side.cc
partial: 1.3.24.jcn
[lilypond.git] / lily / note-head-side.cc
1 /*   
2   note-head-side.cc --  implement Note_head_side
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #include "directional-element-interface.hh"
11
12 #include "side-position-interface.hh"
13 #include "note-head-side.hh"
14 void
15 Note_head_side::add_support (Item*head_l)
16 {
17   Side_position_interface s (this);
18   s.add_support (head_l);
19 }
20
21
22 Note_head_side::Note_head_side()
23 {
24   Side_position_interface s(this);
25   s.set_axis (X_AXIS);
26   s.set_direction (LEFT);
27 }
28
29 bool
30 Note_head_side::supported_b ()const
31 {
32   Side_position_interface s(this);
33   return s.supported_b ();
34 }