source file of the GNU LilyPond music typesetter
- (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#ifndef BREAK_ALIGN_ITEM_HH
#define BREAK_ALIGN_ITEM_HH
-#include "axis-align-item.hh"
+#include "item.hh"
-/// align breakable items (clef, bar, etc.)
-class Break_align_item : public Axis_align_item {
+/**
+ align breakable items (clef, bar, etc.)
+ Properties:
-protected:
- virtual void do_pre_processing();
+ break-align-symbol -- the index in the spacing table (symbol) of
+ the to be aligned item.
+
+*/
+class Break_align_interface
+{
public:
- Break_align_item ();
- VIRTUAL_COPY_CONS(Score_element);
+ static SCM before_line_breaking (SCM);
+ static void do_alignment (Score_element*);
+ static void set_interface (Score_element*);
+ static bool has_interface (Score_element*);
+ static void add_element (Score_element*me, Score_element*add);
+ static Real alignment_callback (Score_element*, Axis);
+ static Real self_align_callback (Score_element*, Axis);
};
#endif // BREAK_ALIGN_ITEM_HH