]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/script-column.hh
Run grand replace for 2015.
[lilypond.git] / lily / include / script-column.hh
index f6adf9ffcbe6c20a6200c129c6688aa516afa3ef..51f2eb9206ecbf2d73528e69402933d1f2639c24 100644 (file)
@@ -1,33 +1,39 @@
 /*
-  script-column.hh -- declare Script_column
+  This file is part of LilyPond, the GNU music typesetter.
 
-  source file of the LilyPond music typesetter
+  Copyright (C) 1999--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.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.
 
+  You should have received a copy of the GNU General Public License
+  along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
+*/
 
-#ifndef SCRIPT_COLUMN_HH
-#define SCRIPT_COLUMN_HH
+#ifndef Script_COLUMN_HH
+#define Script_COLUMN_HH
 
-#include "item.hh"
+#include "lily-proto.hh"
+#include "grob-interface.hh"
+#include "std-vector.hh"
 
-/** a struct for treating a group of noteheads (noteheads, stem
-  (chord) and scripts ) as a single entity.  */
-class Script_column : public Item {
-protected:
-    virtual Interval do_height()const;
-    virtual Interval do_width()const;
-    virtual void do_print() const ;
-    virtual void do_pre_processing();
+class Script_column
+{
 public:
-    Array<Script *> script_l_arr_;
-    Array<Item *> support_l_arr_;
-    
-    NAME_MEMBERS(Script_column);
-    virtual void translate(Offset);
-    void add(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 */
+