]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.35
authorfred <fred>
Sun, 24 Mar 2002 20:03:34 +0000 (20:03 +0000)
committerfred <fred>
Sun, 24 Mar 2002 20:03:34 +0000 (20:03 +0000)
TODO
lily/include/text-def.hh
lily/parser.y
lily/text-def.cc

diff --git a/TODO b/TODO
index 0566fb41f02c224a1ab5d9e3ba2f2b8f8271b73f..1d54876a950e82fd1a00693945ee98e85b33ede1 100644 (file)
--- a/TODO
+++ b/TODO
@@ -7,6 +7,10 @@ Most of the items are marked in the code as well, with full explanation.
 grep for TODO and ugh/ugr
 
 0.2:
+       * handle ^C for tmp/file creation.
+
+       * PS for beams.
+
        * add a screenshot to the website. :)
 
        * fix stdin input
@@ -407,7 +411,6 @@ Mudela.
 
        * pushgroup/popgroup
 
-
        * multi threading?
          - 1 thread per element/ 1 thread per line
          - 1 thread per Translator
index d40a4c7b2778da142c53f7bf1c9070ec47ab0fbf..78dd152e9af861c113537210d5310b4c80718eb2 100644 (file)
@@ -23,7 +23,7 @@ public:
 
       -1 = raggedright, 0 = center, 1 = raggedleft
      */
-    int align_i_;
+    Direction align_i_;
 
     String text_str_;
     String style_str_;
index 9f02016a412aae4aef8763c5d6532a6d61bad50e..b4f85ba14c008c6e22334586dc59eab41fababa2 100644 (file)
@@ -902,7 +902,9 @@ script_req:
        ;
 
 gen_script_def:
-       text_def        { $$ = $1; }
+       text_def        { $$ = $1;
+               ((Text_def*) $$)->align_i_ = CENTER; /* UGH */
+       }
        | mudela_script { $$ = $1;
                $$-> set_spot (THIS->here_input ());
        }
index c41bfeb58a404bc90c42f019826a98bee6727b62..1e75aa83aec358037dd75034f44dc5464b33d715 100644 (file)
@@ -34,7 +34,7 @@ Text_def::do_print() const
 
 Text_def::Text_def()
 {   
-  align_i_ = 1;                        // right
+  align_i_ = RIGHT;
   style_str_ = "roman";
 }