-/*
+/*
System-start-delimiter.hh -- declare System_start_delimiter
-
+
source file of the GNU LilyPond music typesetter
-
- (c) 2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-
- */
+
+ (c) 2000--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+*/
#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);
- 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 */