X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fsystem-start-delimiter.hh;h=426d733036e787c7c824d5fe22c492c4a4173636;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=d594c7ff876668de2f5f950e0340ce27b43d1fdd;hpb=463b2c0ee322d149eeaa4cf0fb36cd8712d334ce;p=lilypond.git diff --git a/lily/include/system-start-delimiter.hh b/lily/include/system-start-delimiter.hh index d594c7ff87..426d733036 100644 --- a/lily/include/system-start-delimiter.hh +++ b/lily/include/system-start-delimiter.hh @@ -1,31 +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--2008 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 (); - VIRTUAL_COPY_CONS (Score_element); -protected: - virtual void after_line_breaking(); - virtual Molecule do_brew_molecule () const; - Molecule staff_bracket (Real) const; - Molecule staff_brace (Real) const; - Molecule simple_bar (Real) const; + 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); + }; #endif /* SYSTEM_START_DELIMITER_HH */