/*
- script-column.hh -- declare Script_column
+ This file is part of LilyPond, the GNU music typesetter.
- source file of the GNU LilyPond music typesetter
+ Copyright (C) 1999--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
- (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-*/
+ LilyPond is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ LilyPond is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
-#ifndef SCRIPT_COLUMN_HH
-#define SCRIPT_COLUMN_HH
+ You should have received a copy of the GNU General Public License
+ along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
+*/
-#include "horizontal-vertical-group-item.hh"
+#ifndef Script_COLUMN_HH
+#define Script_COLUMN_HH
-/** a struct for treating a group of noteheads (noteheads, stem
- (chord) and scripts) as a single entity. */
-class Script_column : public Horizontal_vertical_group_item {
+#include "lily-proto.hh"
+#include "grob-interface.hh"
+#include "std-vector.hh"
-protected:
- virtual void do_print() const;
- virtual void do_substitute_element_pointer (Score_element*, Score_element*);
- virtual void do_pre_processing() ;
+class Script_column
+{
public:
- Link_array<Script> script_l_arr_;
- Link_array<Item> support_l_arr_;
-
-
- virtual void add_script (Script *);
- void add_support (Item*);
+ static void add_side_positioned (Grob *, Grob *);
+ DECLARE_SCHEME_CALLBACK (before_line_breaking, (SCM));
+ DECLARE_SCHEME_CALLBACK (row_before_line_breaking, (SCM));
+ DECLARE_GROB_INTERFACE ();
+ static void order_grobs (vector<Grob *> grobs);
+
};
-#endif // SCRIPT_COLUMN_HH
+#endif /* Script_COLUMN_HH */
+