2 bar-script-engraver.hh -- declare Bar_script_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef BAR_SCRIPT_ENGRAVER_HH
11 #define BAR_SCRIPT_ENGRAVER_HH
12 #include "engraver.hh"
13 #include "protected-scm.hh"
16 put stuff over or next to bars. Examples: bar numbers, marginal notes,
19 class Bar_script_engraver : public Engraver
22 VIRTUAL_COPY_CONS(Translator);
25 Protected_scm visibility_lambda_;
31 Put the script on #it#
33 void attach_script_to_item (Item *it);
35 Return non-nil if we want to hang something on this.
37 Item *cast_to_interesting_item (Score_element*);
38 Bar_script_engraver ();
39 virtual void do_creation_processing ();
40 virtual void do_pre_move_processing ();
41 virtual void acknowledge_element (Score_element_info);
42 void create_items(Request*);
46 #endif /* BAR_SCRIPT_ENGRAVER_HH */