]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/bar-line.cc
Fix compilation (qutoes need to be escaped...)
[lilypond.git] / lily / bar-line.cc
index 4d2cbf9b5968b46b80f3f9c7b557379a09fde3d2..024d9a8535effbc5a1bb35ccd7f9f9d7249a55c2 100644 (file)
@@ -145,11 +145,33 @@ Bar_line::compound_barline (Grob *me, string str, Real h,
       m.add_at_edge (X_AXIS, RIGHT, thick, kern);
       m.add_at_edge (X_AXIS, RIGHT, colon, kern);
     }
+  else if (str == ":|.|:")
+    {
+      m.add_at_edge (X_AXIS, LEFT, thick, 0);
+      m.add_at_edge (X_AXIS, LEFT, thin, kern);
+      m.add_at_edge (X_AXIS, LEFT, colon, kern);
+      m.add_at_edge (X_AXIS, RIGHT, thin, kern);
+      m.add_at_edge (X_AXIS, RIGHT, colon, kern);
+
+    }
+  else if (str == ":|.:")
+    {
+      m.add_at_edge (X_AXIS, LEFT, thick, 0);
+      m.add_at_edge (X_AXIS, LEFT, thin, kern);
+      m.add_at_edge (X_AXIS, LEFT, colon, kern);
+      m.add_at_edge (X_AXIS, RIGHT, colon, kern);
+    }
   else if (str == ".|.")
     {
       m.add_at_edge (X_AXIS, LEFT, thick, thinkern);
       m.add_at_edge (X_AXIS, RIGHT, thick, kern);
     }
+  else if (str == "|.|")
+    {
+      m.add_at_edge (X_AXIS, LEFT, thick, 0);
+      m.add_at_edge (X_AXIS, LEFT, thin, kern);
+      m.add_at_edge (X_AXIS, RIGHT, thin, kern);
+    }
   else if (str == "||")
     {
       /*
@@ -314,11 +336,12 @@ ADD_INTERFACE (Bar_line,
               " symbol with a special symbol.  The argument @var{bartype}"
               " is a string which specifies the kind of bar to print."
               "  Options are @code{:|}, @code{|:}, @code{:|:}, @code{||},"
-              " @code{|.}, @code{.|}, and @code{.|.}.\n"
+              " @code{|.}, @code{.|}, @code{.|.}, @code{:} and @code{\"dashed\"}.\n"
               "\n"
               "These produce, respectively, a right repeat, a left repeat,"
-              " a double repeat, a double bar, a start bar, an end bar, and"
-              " a thick double bar.  In addition, there is an option"
+              " a double repeat, a double bar, a start bar, an end bar,"
+              " a thick double bar, a dotted bar and a dashed bar. "
+              " In addition, there is an option"
               " @code{||:} which is equivalent to @code{|:} except at line"
               " breaks, where it produces a double bar (@code{||}) at the"
               " end of the line and a repeat sign (@code{|:}) at the"