X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Finclude%2Fsystem-start-delimiter.hh;h=f04cde76f64f63c584eaa581e69bb0322f8dbf91;hb=9e69cb84d6ee5b0a861cd97869b10e3bdf0c833c;hp=61d23efdb19080b625eaacee26b06a84e4ec1f30;hpb=c52973e438ce3490d688860bb71849a7b3c26fef;p=lilypond.git diff --git a/lily/include/system-start-delimiter.hh b/lily/include/system-start-delimiter.hh index 61d23efdb1..f04cde76f6 100644 --- a/lily/include/system-start-delimiter.hh +++ b/lily/include/system-start-delimiter.hh @@ -1,33 +1,33 @@ -/* +/* System-start-delimiter.hh -- declare System_start_delimiter - + source file of the GNU LilyPond music typesetter - - (c) 2000 Han-Wen Nienhuys - - */ + + (c) 2000--2006 Han-Wen Nienhuys +*/ #ifndef SYSTEM_START_DELIMITER_HH #define SYSTEM_START_DELIMITER_HH -#include "spanner.hh" +#include "lily-proto.hh" +#include "grob-interface.hh" /* - Braces/brackets across staffs. - */ -class System_start_delimiter : public Spanner + Braces/brackets across staves. +*/ +class System_start_delimiter { public: - System_start_delimiter (SCM); - static SCM scheme_molecule (SCM); - - VIRTUAL_COPY_CONS (Score_element); -protected: - virtual void after_line_breaking(); + DECLARE_SCHEME_CALLBACK (print, (SCM)); + + DECLARE_GROB_INTERFACE(); + static void try_collapse (Grob *); + static Stencil staff_bracket (Grob *, Real); + static Stencil old_staff_bracket (Grob *, Real); + static Stencil staff_brace (Grob *, Real); + static Stencil simple_bar (Grob *, Real); + static Stencil line_bracket (Grob *, Real); - Molecule staff_bracket (Real) const; - Molecule staff_brace (Real) const; - Molecule simple_bar (Real) const; }; #endif /* SYSTEM_START_DELIMITER_HH */