X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fdot-column.hh;h=0d94b9359483b0d25e3eb6669cf45ff03a5d18a2;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=aa197cd7a327bdb69252f0ef786ef21420e720a9;hpb=1cf3d59c1559fb9774c4c1c8cae155cfe54a927c;p=lilypond.git diff --git a/lily/include/dot-column.hh b/lily/include/dot-column.hh index aa197cd7a3..0d94b93594 100644 --- a/lily/include/dot-column.hh +++ b/lily/include/dot-column.hh @@ -3,30 +3,29 @@ source file of the GNU LilyPond music typesetter - (c) 1997--1998 Han-Wen Nienhuys + (c) 1997--2008 Han-Wen Nienhuys */ - #ifndef DOT_COLUMN_HH #define DOT_COLUMN_HH -#include "horizontal-group-item.hh" +#include "lily-proto.hh" +#include "grob-interface.hh" + + +class Grob; /** - Group dots. This is needed because, the dots have to be aligned per voice - */ -class Dot_column : public Horizontal_group_item + Group dots. This is needed because, the dots have to be aligned per voice +*/ +class Dot_column // interface { - Link_array head_l_arr_; - Link_array dot_l_arr_; - public: - DECLARE_MY_RUNTIME_TYPEINFO; - void add_head (Rhythmic_head*); - void add_dots (Dots*); + static int compare (Grob *const &, Grob *const &); + static void add_head (Grob *dotcol, Grob *rh); -protected: - virtual void do_pre_processing (); - virtual void do_substitute_dependency (Score_element *o, Score_element*n); + DECLARE_GROB_INTERFACE(); + DECLARE_SCHEME_CALLBACK (side_position, (SCM)); + DECLARE_SCHEME_CALLBACK (calc_positioning_done, (SCM)); }; #endif // DOT_COLUMN_HH