]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.14
authorfred <fred>
Sun, 24 Mar 2002 19:57:22 +0000 (19:57 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:57:22 +0000 (19:57 +0000)
lily/clef-item.cc
lily/horizontal-align-item.cc
lily/key-item.cc
lily/script.cc
lily/span-bar.cc
lily/span-score-bar.cc
lily/vertical-align-elem.cc

index fc579ec3475298fb3b631e87e482ba53a342ec5d..920d2c5512fda8c06d55f21e120f2fb036416fc9 100644 (file)
@@ -21,7 +21,7 @@ Clef_item::do_pre_processing()
 
   if (default_b_)
     {
-      empty_b_ = (break_status_i() != 1);
+      set_empty(break_status_i() != 1);
       transparent_b_ = (break_status_i() != 1);
     }
 }
index 48701d148a9b9e9545209da0af0c15baf8ec8ec2..6e63be3daa6177a9e19226e0b76ef56d3a202100 100644 (file)
@@ -7,7 +7,7 @@
 */
 
 #include "horizontal-align-item.hh"
-
+#include "debug.hh"
 
 IMPLEMENT_IS_TYPE_B1(Horizontal_align_item,Item);
 
@@ -114,12 +114,18 @@ Horizontal_align_item::do_width() const
 void
 Horizontal_align_item::do_print() const
 {
+#ifndef NPRINT
+  Item::do_print ();
+  DOUT << "contains: ";
+  for (int i=0 ;  i < item_l_arr_.size(); i++) 
+    DOUT << item_l_arr_[i]->name () << ", ";
+#endif
 }
 
 Horizontal_align_item::Horizontal_align_item()
 {
   center_l_ = 0;
   align_i_ = 0;
-  empty_b_ = true;
+  set_empty (true);
   transparent_b_ = true;
 }
index d328f44ac9746b0122d99e90c55abd433a342197..f3b57d20a1f1738a48690f16ddf7277fdfe65612 100644 (file)
@@ -94,6 +94,7 @@ Key_item::do_pre_processing()
 {
   if (default_b_) 
     {
-       empty_b_ = transparent_b_ = (break_status_i() != 1);
+       transparent_b_ = (break_status_i() != 1);
+       set_empty (transparent_b_);
     }
 }
index ea3bfbef204031221eb9a3a073292a3f24a17651..073fc7cd93f996ad40719bba68b8a6110bd77e6c 100644 (file)
@@ -80,7 +80,8 @@ Script::do_pre_processing()
 {
   if  (breakable_b_ && break_status_i() != 1) 
     {
-      transparent_b_ = empty_b_ = true;
+      transparent_b_ = true;
+      set_empty (true);
     }
   
   if (!dir_)
index ba2c3739f28d512719edeb61a06b73af8eb479cb..e23b3226781ca2d4eb15b55cd4ce9bea8fb8d369 100644 (file)
@@ -63,7 +63,7 @@ Span_bar::do_pre_processing()
   if (spanning_l_arr_.size() < 1) 
     {
       transparent_b_ = true;
-      empty_b_ =true;
+      set_empty (true);   
     }
   else 
     {
@@ -72,7 +72,7 @@ Span_bar::do_pre_processing()
       if (!type_str_) 
        {
          transparent_b_=true;
-         empty_b_ = true;
+         set_empty (true);
        }
       else if (type_str_ == "|:") 
        {
index 96c73a9d1dfa553d8eabc90e854e295287dac5f6..97b195ef1ea13a39cb98089c22e9c77045fa5d8a 100644 (file)
@@ -23,7 +23,8 @@ Span_score_bar::do_pre_processing()
   
   if (break_status_i() != 1) 
     {
-       empty_b_ = transparent_b_ = true;
+      set_empty (true);
+      transparent_b_ = true;
     }
 }
 
index 02d1823b25b71621aa14732001f151472ac670cc..4f83ba1b7b8539e75683339f9b01651f1453ee7f 100644 (file)
@@ -64,7 +64,7 @@ Vertical_align_element::contains_b (Score_elem const *e) const
 Vertical_align_element::Vertical_align_element()
 {
   transparent_b_ = true;
-  empty_b_ =true;
+  set_empty (true);
 }