]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/box.hh
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / include / box.hh
index fc8eda7bec01e5b3dd8bd98f2d71ade0397443c6..a8119664b798d4f74bfe5c3fa272eb2f98c30caa 100644 (file)
@@ -7,11 +7,13 @@
 
 #include "interval.hh"
 #include "offset.hh"
+#include "smobs.hh"
 
-struct Box
+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]; }
   Interval x () const{ return interval_a_[X_AXIS]; }