]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/box.hh
Excise object keys from Contexts.
[lilypond.git] / lily / include / box.hh
index 55da1fb78ded0bdf58d3bef8467b120eaba21a36..baa4ce0b7645791bd993f0a3b204d3f0a9c8f8e1 100644 (file)
@@ -7,10 +7,12 @@
 
 #include "interval.hh"
 #include "offset.hh"
+#include "smobs.hh"
 
 class Box
 {
   Interval interval_a_[NO_AXES];
+  DECLARE_SIMPLE_SMOBS (Box);
 public:
   Interval &x () {return interval_a_[X_AXIS]; }
   Interval &y (){ return interval_a_[Y_AXIS]; }
@@ -22,6 +24,7 @@ public:
   Offset center () const;
 
   void translate (Offset o);
+
   /// smallest box enclosing #b#
   void set_empty ();
   void add_point (Offset);