]> git.donarmstrong.com Git - lilypond.git/blob - lily/note-head-side.cc
release: 1.3.9
[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 "staff-side.hh"
11 #include "note-head-side.hh"
12 void
13 Note_head_side::add_support (Item*head_l)
14 {
15   Side_position_interface s (this);
16   s.add_support (head_l);
17 }
18
19
20 Note_head_side::Note_head_side()
21 {
22   Side_position_interface s(this);
23   s.set_axis (X_AXIS);
24   s.set_direction (LEFT);
25 }
26
27 bool
28 Note_head_side::supported_b ()const
29 {
30   Side_position_interface s(this);
31   return s.supported_b ();
32 }