X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ftime-signature.hh;h=07c4968b3453c89254d6962a6fe3356bfcdae02f;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=093ba3c700803207395597baa3d6fdbc93a76c76;hpb=afa5829cd270e1b0c616b7ba5c5e6cdc0e920e5f;p=lilypond.git diff --git a/lily/include/time-signature.hh b/lily/include/time-signature.hh index 093ba3c700..07c4968b34 100644 --- a/lily/include/time-signature.hh +++ b/lily/include/time-signature.hh @@ -1,36 +1,28 @@ /* time_signature.hh -- declare Time_signature - (c) 1996--1998 Han-Wen Nienhuys + (c) 1996--2008 Han-Wen Nienhuys */ #ifndef METER_HH #define METER_HH -#include "item.hh" -#include "array.hh" -#include "real.hh" +#include "grob-interface.hh" +#include "lily-proto.hh" /** Print a time_signature sign. - TODO: - C style time_signatures, 2+3+2/8 time_signatures, alla breve. - - */ -class Time_signature: public Item { + TODO: - - -protected: - virtual Molecule*do_brew_molecule_p() const; -public: - Time_signature () ; - Array args_; - String time_sig_type_str_; - - - VIRTUAL_COPY_CONS(Score_element); + 2+3+2/8 time_signatures +*/ +struct Time_signature +{ + DECLARE_GROB_INTERFACE(); + static Stencil special_time_signature (Grob *, SCM, int, int); + static Stencil numbered_time_signature (Grob *, int, int); + DECLARE_SCHEME_CALLBACK (print, (SCM)); }; #endif // METER_HH