From b003e04b433c1291ef9f2bc4e71d415116ad0a14 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 20:03:34 +0000 Subject: [PATCH] lilypond-0.1.35 --- TODO | 5 ++++- lily/include/text-def.hh | 2 +- lily/parser.y | 4 +++- lily/text-def.cc | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/TODO b/TODO index 0566fb41f0..1d54876a95 100644 --- 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 diff --git a/lily/include/text-def.hh b/lily/include/text-def.hh index d40a4c7b27..78dd152e9a 100644 --- a/lily/include/text-def.hh +++ b/lily/include/text-def.hh @@ -23,7 +23,7 @@ public: -1 = raggedright, 0 = center, 1 = raggedleft */ - int align_i_; + Direction align_i_; String text_str_; String style_str_; diff --git a/lily/parser.y b/lily/parser.y index 9f02016a41..b4f85ba14c 100644 --- a/lily/parser.y +++ b/lily/parser.y @@ -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 ()); } diff --git a/lily/text-def.cc b/lily/text-def.cc index c41bfeb58a..1e75aa83ae 100644 --- a/lily/text-def.cc +++ b/lily/text-def.cc @@ -34,7 +34,7 @@ Text_def::do_print() const Text_def::Text_def() { - align_i_ = 1; // right + align_i_ = RIGHT; style_str_ = "roman"; } -- 2.39.5