]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/break-align-item.hh
release: 1.3.92
[lilypond.git] / lily / include / break-align-item.hh
index 20d5a3f749e8fbf02638869f562bc3767c540182..8449f07498e8828b317b3bb7c2e45b5a835182e2 100644 (file)
 #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