]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.2
authorfred <fred>
Thu, 10 Oct 1996 12:18:50 +0000 (12:18 +0000)
committerfred <fred>
Thu, 10 Oct 1996 12:18:50 +0000 (12:18 +0000)
item.hh
line.hh
tex.hh

diff --git a/item.hh b/item.hh
index 15a8e88724a54800b78ccd9c66b136048da7a70e..28b6b5604c6ddbdac05dd46d8fbf3ed4c8d1fdd4 100644 (file)
--- a/item.hh
+++ b/item.hh
@@ -31,7 +31,7 @@ struct Spanner {
 /// a fixed size element of the score
 struct Item {
     virtual Interval width() const;    
-
+    virtual Interval height() const;
     const PCol * col;
     Output *output;
     
diff --git a/line.hh b/line.hh
index cfa3b631a478d3bab84d19c4f4183a8e5da724b6..ec45bd577cded00100880f8e1777ca04cbefed02 100644 (file)
--- a/line.hh
+++ b/line.hh
@@ -47,6 +47,7 @@ struct Line_of_staff {
     
     String TeXstring() const;
     Line_of_staff(Line_of_score*, PStaff *);
+    Real maxheight()const;
 };
 
 #endif
diff --git a/tex.hh b/tex.hh
index 04090aa51063a47480a637d2a1d1d9004d77f007..fd4a0b6ddfa5d84b3e71204eeabd4314fdc92f1e 100644 (file)
--- a/tex.hh
+++ b/tex.hh
@@ -1,29 +1,9 @@
 #ifndef TEX_HH
 #define TEX_HH
+
 #include "string.hh"
 #include "boxes.hh"
 
-struct Symbol {
-    String tex;
-    Box dim;
-
-    Symbol (String, Box );
-    static const Symbol*find_ball(int);
-    static const Symbol*find_rest(int);
-    static const Symbol*find_bar(String);
-    Symbol() { }
-};
-
-/// a symbol with a variable width
-struct Stretchable_symbol {
-public:
-
-    /// return a string for a symbol in this width.
-    virtual String operator ()(Real width)=0;
-
-    static const Stretchable_symbol* get_linestaff(int n);
-};
-
 /// anything which can be output
 struct Output {
     virtual String TeXstring() const=0;