+++ /dev/null
-/*
- chord-name-engraver.hh -- declare Chord_name_engraver
-
- source file of the GNU LilyPond music typesetter
-
- (c) 1998--2000 Jan Nieuwenhuizen <janneke@gnu.org>
-*/
-
-#ifndef CHORD_NAME_ENGRAVER_HH
-#define CHORD_NAME_ENGRAVER_HH
-
-#include "engraver.hh"
-#include "array.hh"
-#include "musical-pitch.hh"
-#include "lily-proto.hh"
-
-class Chord_name_engraver : public Engraver
-{
-public:
- Chord_name_engraver ();
- VIRTUAL_COPY_CONS (Translator);
-
-protected:
- virtual void do_pre_move_processing ();
- virtual void acknowledge_element (Score_element_info i);
- virtual void do_process_music ();
- virtual bool do_try_music (Music* m);
-
-private:
- Array<Musical_pitch> pitch_arr_;
- Chord_name* chord_name_p_;
- Tonic_req* tonic_req_;
- Inversion_req* inversion_req_;
- Bass_req* bass_req_;
-};
-
-#endif // CHORD_NAME_ENGRAVER_HH
+++ /dev/null
-/*
- dot-column-engraver.hh -- declare Dot_column_engraver
-
- source file of the GNU LilyPond music typesetter
-
- (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-*/
-
-
-#ifndef DOT_COLUMN_GRAV_HH
-#define DOT_COLUMN_GRAV_HH
-
-#include "engraver.hh"
-
-class Dot_column_engraver : public Engraver
-{
- Dot_column *dotcol_p_ ;
- Link_array<Rhythmic_head> head_l_arr_;
-public:
- VIRTUAL_COPY_CONS(Translator);
- Dot_column_engraver();
-
-protected:
- virtual void acknowledge_element (Score_element_info);
- virtual void do_pre_move_processing ();
-};
-
-#endif // DOT_COLUMN_GRAV_HH
+++ /dev/null
-/*
- repeat-engraver.hh -- declare Repeat_engraver
-
- source file of the GNU LilyPond music typesetter
-
- (c) 1998--2000 Jan Nieuwenhuizen <janneke@gnu.org>
-*/
-
-#ifndef REPEAT_ENGRAVER_HH
-#define REPEAT_ENGRAVER_HH
-
-#include "engraver.hh"
-#include "cons.hh"
-
-struct Bar_create_event
-{
- Moment when_;
- bool bar_b_;
- bool last_b_;
- String type_;
- Bar_create_event();
- Bar_create_event (Moment w, String s);
- Bar_create_event (Moment w, int i, int j);
-};
-
-int compare (Bar_create_event const & c1, Bar_create_event const &c2)
-{
- return (c1.when_ - c2.when_).sign();
-}
-
-/**
- Generate repeat-bars |: :| for repeated-music
- */
-class Repeat_engraver : public Engraver
-{
-public:
- VIRTUAL_COPY_CONS(Translator);
- Repeat_engraver ();
-protected:
- virtual void acknowledge_element (Score_element_info i);
- virtual void do_removal_processing ();
- virtual bool do_try_music (Music *req_l);
- virtual void do_process_music();
- virtual void do_pre_move_processing();
- virtual void do_post_move_processing ();
- void queue_events ();
-
-private:
- Repeated_music *repeated_music_l_;
- bool done_this_one_b_;
-
- /*
- Royal_brackla_create_queue is only two Whiskies away. :-)
- */
- Cons<Bar_create_event> *create_barmoments_queue_;
-
- Volta_spanner * volta_span_p_;
- Volta_spanner* end_volta_span_p_;
-};
-
-#endif // REPEAT_ENGRAVER_HH
-
+++ /dev/null
-/*
- score-align-engraver.hh -- declare Type_align_engraver
-
- source file of the GNU LilyPond music typesetter
-
- (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-*/
-
-
-#ifndef SCOREF_ALIGN_GRAV_HH
-#define SCOREF_ALIGN_GRAV_HH
-
-#include "engraver.hh"
-
-/**
- Group a number of items across staffs:
-
- Acknowledge items, put each priority in a separate column. Put all
- columns in a horizontal align engraver. We manufacture two types of
- elements: the alignment element and the columns. This is probably
- more convenient, and I question the use having one without the
- other.
-*/
-class Score_priority_engraver : public Engraver
-{
- Break_align_item * halign_p_;
- Link_array<Item> column_p_arr_;
-
- void add_horizontal_group (Item* , int p);
-public:
- VIRTUAL_COPY_CONS(Translator);
- Score_priority_engraver ();
-
-protected:
- virtual void acknowledge_element (Score_element_info);
- virtual void do_pre_move_processing();
-};
-
-#endif // SCORE_ALIGN_GRAV_HH
+++ /dev/null
-/*
- single-malt-grouping-item.hh -- declare Single_malt_grouping_item
-
- source file of the GNU LilyPond music typesetter
-
- (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-
- */
-
-#ifndef SINGLE_MALT_GROUPING_ITEM_HH
-#define SINGLE_MALT_GROUPING_ITEM_HH
-
-#include "item.hh"
-
-/** Calc dimensions for the Separating_group_spanner; this has to be
- an item to get dependencies correct. It can't be an element_group
- since these usually are in a different X_group
-
- It's 1:30 am. Naming suggestions appreciated.
-
- Properties:
-
-
- elements -- list of items.
-
- no-spacing-rods -- read from elements: boolean that makes Single_malt_grouping_item ignore
- this item
-
-*/
-class Single_malt_grouping_item : public Item
-{
- VIRTUAL_COPY_CONS(Score_element);
-public:
- Single_malt_grouping_item (SCM);
- Interval my_width () const;
- void add_item (Item*);
-};
-
-#endif /* SINGLE_MALT_GROUPING_ITEM_HH */
-
+++ /dev/null
-/*
- time_signature-engraver.hh -- declare Time_signature_engraver
-
- source file of the GNU LilyPond music typesetter
-
- (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-*/
-
-
-#ifndef TIME_SIG_ENGRAVER_HH
-#define TIME_SIG_ENGRAVER_HH
-
-#include "engraver.hh"
-
-/**
- generate time_signatures.
- */
-class Time_signature_engraver : public Engraver {
-protected:
- virtual void do_process_music();
- virtual void do_pre_move_processing();
-public:
- VIRTUAL_COPY_CONS(Translator);
- Time_signature * time_signature_p_;
-
- Time_signature_engraver();
-};
-#endif // TIME_SIG_ENGRAVER_HH
+++ /dev/null
-/*
- single-malt-grouping-item.cc -- implement Single_malt_grouping_item
-
- source file of the GNU LilyPond music typesetter
-
- (c) 1998--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-
- */
-
-#include "single-malt-grouping-item.hh"
-#include "paper-column.hh"
-#include "debug.hh"
-#include "group-interface.hh"
-
-Single_malt_grouping_item ::Single_malt_grouping_item(SCM s)
- : Item (s)
-{
- set_elt_pointer ("elements", SCM_EOL);
-
- // this is weird! , but needed!
- set_extent_callback (0, X_AXIS);
- set_extent_callback (0, Y_AXIS);
-
-}
-
-void
-Single_malt_grouping_item::add_item (Item* i)
-{
- assert (i);
- Pointer_group_interface (this).add_element (i);
-
- add_dependency (i);
-}
-
-Interval
-Single_malt_grouping_item::my_width () const
-{
- Paper_column * pc = column_l ();
- Interval w;
-
- for (SCM s = get_elt_pointer ("elements"); gh_pair_p (s); s = gh_cdr (s))
- {
- SCM elt = gh_car (s);
- if (!SMOB_IS_TYPE_B(Score_element, elt))
- continue;
-
- Item *il = dynamic_cast<Item*> (SMOB_TO_TYPE (Score_element, elt));
- if (pc != il->column_l ())
- {
- /* this shouldn't happen, but let's continue anyway. */
- programming_error (_("Single_malt_grouping_item: I've been drinking too much"));
- continue; /*UGH UGH*/
- }
-
- if (to_boolean (il->get_elt_property ("no-spacing-rods")))
- {
- continue;
- }
-
- Interval iv (il->extent (X_AXIS));
- if (!iv.empty_b ())
- {
- Real off = il->relative_coordinate (pc, X_AXIS);
- w.unite (iv + off);
- }
- }
-
- return w;
- // add this->offset_ ? this-> relative_coordinate ()?
-}
-
-
-