X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fnote-column.hh;h=d745d686137f75d86e48e84534264dc6be4cd839;hb=a8c9e8a7ca320ab0df5fd32e717fd62cd7635ce6;hp=1760eb3474eab8065bd857c042b605c02f97f6e6;hpb=fe1eb832e9e1e92e2bf98c33011465658192f033;p=lilypond.git diff --git a/lily/include/note-column.hh b/lily/include/note-column.hh index 1760eb3474..d745d68613 100644 --- a/lily/include/note-column.hh +++ b/lily/include/note-column.hh @@ -3,39 +3,40 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2004 Han-Wen Nienhuys + (c) 1997--2009 Han-Wen Nienhuys */ - #ifndef NOTE_COLUMN_HH #define NOTE_COLUMN_HH -#include "item.hh" +#include "grob-interface.hh" +#include "lily-proto.hh" -/** a struct for treating a group of noteheads (noteheads, stem - (chord) and scripts) as a single entity. - UGR. Junkme. refpoint should be the notehead, dir should come from stem. +/** a struct for treating a group of noteheads (noteheads, stem + (chord) and scripts) as a single entity. + UGR. Junkme. refpoint should be the notehead, dir should come from stem. */ class Note_column { public: - static int shift_compare (Grob *const &, Grob*const&); - static Direction dir (Grob*me); - static Grob * accidentals (Grob*me); - static Slice head_positions_interval (Grob* me); - static Direction static_dir (Grob*); - static void translate_rests (Grob*me,int dy); - static Grob *first_head (Grob*me); - static Grob *get_rest (Grob*me); - static void set_stem (Grob*me,Grob*); - static void set_dotcol (Grob*me,Grob*); - static void add_head (Grob*me,Grob*); - static bool has_rests (Grob*me); - static bool has_interface (Grob*); - - static Item *get_stem (Grob*); + static bool shift_less (Grob *const &, Grob *const &); + static Direction dir (Grob *me); + static Grob *accidentals (Grob *me); + static Grob *arpeggio (Grob *me); + static Slice head_positions_interval (Grob *me); + static void translate_rests (Grob *me, int dy); + static Grob *first_head (Grob *me); + static Grob *get_rest (Grob *me); + static void set_stem (Grob *me, Grob *); + static void add_head (Grob *me, Grob *); + static bool has_rests (Grob *me); + static Grob *dot_column (Grob *me); + static Interval cross_staff_extent (Grob *me, Grob *refp); + DECLARE_GROB_INTERFACE(); + + static Item *get_stem (Grob *); }; #endif // NOTE_COLUMN_HH