X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fatom.hh;h=22c5d15a0cf4ca32584431c295d5ecbee805468e;hb=44d3318feb59f81439c0edc5116ae61fe407c226;hp=0d88e7ce315cbba217a753c552fdc4c15f32e6f1;hpb=1e7180500336cb41a34525d5f363e3828e7c51a5;p=lilypond.git diff --git a/lily/include/atom.hh b/lily/include/atom.hh index 0d88e7ce31..22c5d15a0c 100644 --- a/lily/include/atom.hh +++ b/lily/include/atom.hh @@ -9,15 +9,21 @@ #ifndef ATOM_HH #define ATOM_HH +#include "protected-scm.hh" #include "string.hh" #include "box.hh" #include "lily-proto.hh" - /// a symbol which can be translated, and freely copied class Atom { Offset off_; + + public: + Protected_scm lambda_; + Score_element * origin_l_; + + // urg, only used as a temp buffer String str_; String font_; Box dim_; @@ -30,6 +36,7 @@ public: void translate_axis (Real r,Axis a); /// how big is #this#? Box extent() const; + Interval extent (Axis)const; void print() const; bool check_infinity_b () const; bool empty() const;