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 G_staff_side_item* staff_side_p_;
24 Protected_scm visibility_lambda_;
30 Put the script on #it#
32 void do_acknowledge_element (Item *it);
34 Return non-nil if we want to hang something on this.
36 Item *cast_to_interesting_item (Score_element*);
37 Bar_script_engraver ();
38 virtual void do_creation_processing ();
39 virtual void do_pre_move_processing ();
40 virtual void acknowledge_element (Score_element_info);
41 void create_items(Request*);
45 #endif /* BAR_SCRIPT_ENGRAVER_HH */