]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/mark-engraver.cc
new file.
[lilypond.git] / lily / mark-engraver.cc
index b5075d84698eee8f035093fc2fbc2f20108aac8f..e39e57e66d0a4128d18336739f8d66d440829d45 100644 (file)
@@ -7,7 +7,7 @@
 */
 
 #include <ctype.h>
-#include "bar.hh"
+#include "bar-line.hh"
 #include "command-request.hh"
 #include "staff-symbol.hh"
 #include "engraver-group-engraver.hh"
@@ -57,7 +57,7 @@ void
 Mark_engraver::acknowledge_grob (Grob_info inf)
 {
   Grob * s = inf.grob_l_;
- if (text_p_ && Bar::has_interface (s))
+ if (text_p_ && Bar_line::has_interface (s))
     {
       /*
        Ugh. Figure out how to do this right at beginning of line, (without
@@ -89,8 +89,6 @@ Mark_engraver::create_items (Request *rq)
   text_p_ = new Item (s);
 
 
-  Side_position_interface::set_axis (text_p_, Y_AXIS);
-
   announce_grob(text_p_, rq->self_scm());
 }
 
@@ -174,12 +172,12 @@ Mark_engraver::process_music ()
          text_p_->set_grob_property ("text",
                                      ly_str02scm (t.ch_C ()));
 
-         String style = "mark";
+         String style = "mark-number";
          for (int i=0; i < t.length_i (); i++)
            {
              if (!isdigit (t[i])) 
                {
-                 style = "large";
+                 style = "mark-letter";
                  break;
                }
            }