X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fsystem-start-delimiter.hh;h=d66bb24d9c46aebd6553f7d6ffd89f19259ddba8;hb=87eedcd59f4082cb0841528ad5bc82cb1d1191e3;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..d66bb24d9c 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--2007 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 */