From 8c741e07471acde50590649dfdf5567b7e399ab5 Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 10 Oct 1996 12:18:50 +0000 Subject: [PATCH] lilypond-0.0.2 --- item.hh | 2 +- line.hh | 1 + tex.hh | 22 +--------------------- 3 files changed, 3 insertions(+), 22 deletions(-) diff --git a/item.hh b/item.hh index 15a8e88724..28b6b5604c 100644 --- 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 cfa3b631a4..ec45bd577c 100644 --- 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 04090aa510..fd4a0b6ddf 100644 --- 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; -- 2.39.5